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.RecommendationReaction

A reaction to a recommendation produced by a recommendation strategy
Property Name Type Description Available Version
aiModel String Reserved for future use. 47.0
contextRecord ConnectApi.Reference Reference to the context record. 45.0
createdBy ConnectApi.​Reference Reference to the reaction creator. 45.0
createdDate Datetime Reaction creation date. 45.0
externalId String External target ID of the recommendation reacted on. This ID doesn’t need to be a Salesforce 18-character ID. For example, it can be a product number from an external system. 46.0
id String Reaction record ID. 45.0
onBehalfOf ConnectApi.​Reference Reference to the user or record that is indirectly reacting to the recommendation. 45.0
reactionType ConnectApi.​RecommendationReaction​Type Type of reaction to a recommendation. Values are:
  • Accepted
  • Rejected
45.0
recommendation​Mode String Reserved for future use.Mode of recommendation, if you’re using Einstein Intelligent Offers, an AppExchange package. 46.0
recommendation​Score Double Reserved for future use.Einstein score, if you’re using Einstein Intelligent Offers, an AppExchange package. 46.0
strategy ConnectApi.​RecordSnapshot Strategy that recommended the target record. 45.0
targetAction ConnectApi.​RecordSnapshot Target action that is recommended. 45.0
targetRecord ConnectApi.​Reference Reference to the target record. 45.0
url String URL to the recommendation reaction. 45.0