Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, 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.
ConnectApi.RecommendationReactionInput
| Property | Type | Description | Required or Optional | Available Version |
|---|---|---|---|---|
| aiModel | String | Reserved for future use. | Optional | 47.0 |
| 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 | 45.0 |
| executionId | String | ID of the original recommendation strategy execution. | Optional | 45.0 |
| externalId | String | External ID of the recommendation. This ID doesn’t need to be a Salesforce 18-character ID. For example, it can be a product number from an external system. | Optional | 46.0 |
| onBehalfOfId | String | ID of the user or entity for which the reaction took place. | Optional | 45.0 |
| reactionType | ConnectApi.RecommendationReactionType | Type of reaction to a recommendation.
Values are:
|
Required | 45.0 |
| recommendationMode | String | Reserved for future use.Mode of recommendation, if you’re using Einstein Intelligent Offers, an AppExchange package. | Optional | 46.0 |
| recommendationScore | Double | Reserved for future use.Einstein score, if you’re using Einstein Intelligent Offers, an AppExchange package. | Optional | 46.0 |
| strategyName | String | Name of the recommendation strategy. | Required | 45.0 |
| targetActionId | String | ID of the target action. | Optional | 45.0 |
| targetActionName | String | Name of the target action. | Required | 45.0 |
| targetId | String | ID of the recommendation that is being reacted to. | Required | 45.0 |