Recommendations

Get recommendations with Einstein Next Best Action. You can now work on actionable next steps with a unified, synchronized view of real-time score predictions and recommendations.

{yourInstance} is the domain name of your Salesforce instance.

56.0

No

POST

NameTypeDescriptionRequired or OptionalAvailable Version
canPersist​RecommendationsBooleanIndicates whether the recommendations are persisted (true) or not (false). The default value is false.Optional56.0
isAsyncBooleanIndicates whether the execution mode is async (true) or not (false). The default value is false.Optional56.0
max​Recommendations​CountIntegerThe maximum recommendations to request. You can specify a maximum of four recommendations.Optional56.0
rcmdRecordId​Persistence​ColumnStringThe name of the column from the PrimaryResponse object that persists the recommendation record ID when the canPersist​Recommendations property is set to true.Optional56.0
rcmdStrategy​ParametersMap<String,Object>[]The list of parameters to pass to the flow action for the specified strategy to generate recommendations.Required56.0
recommendation​FieldMappingMap<String, String>The field mapping that’s used to store the recommendations when the canPersist​Recommendations property is set to true.Optional56.0
strategyNameStringThe name of the strategy.Required56.0
usecase​Definition​NameStringThe API name of the use case definition.Required56.0

Recommendation