Next Best Action, Strategy Recommendations (Pilot)

Execute a strategy.

We provide Einstein Next Best Action to selected customers through a pilot program that requires agreement to specific terms and conditions. To be nominated to participate in the program, contact Salesforce. Pilot programs are subject to change, and we can’t guarantee acceptance. Einstein Next Best Action isn’t generally available unless or until Salesforce announces its general availability in documentation or in press releases or public statements. We can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features. You can provide feedback and suggestions for Einstein Next Best Action in the IdeaExchange.

Note

Resource
1/connect/recommendation-strategies/strategyName/recommendations
Available version
44.0
Requires Chatter
No
HTTP methods
POST
Request body for POST
Root XML tag
<nbaStrategyInput>
JSON example
1{
2   "strategyContext": {
3      "key1": "val1",
4      "key2": "val2"
5   },
6   "contextRecordId": "a0lB0000001G2nFIAS",
7   "maxResults": 5
8}
Properties
Name Type Description Required or Optional Available Version
contextRecordId String ID of the context record. For example, if the next best action is on a case detail page, the ID of the case. Optional 44.0
maxResults Integer Maximum number of results. Valid values are from 1 to 25. The default is 3. Optional 44.0
strategyContext Map<String, String> Variable and value mappings for the strategy. Optional 44.0
Request parameters for POST
Parameter Name Type Description Required or Optional Available Version
contextRecordId String ID of the context record. For example, if the next best action is on a case detail page, the ID of the case. Optional 44.0
maxResults Integer Maximum number of results. Valid values are from 1 to 25. The default is 3. Optional 44.0
Response body for POST
Next Best Action Recommendations (Pilot)