ConnectApi.RecommendationReactionInput

A reaction to a recommendation produced by a recommendation strategy.

PropertyTypeDescriptionRequired or OptionalAvailable Version
aiModelStringReserved for future use.Optional47.0
contextRecordIdStringID of the context record. For example, if the next best action is on a case detail page, the ID of the case.Optional45.0
executionIdStringID of the original recommendation strategy execution.Optional45.0
externalIdStringExternal 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.Optional46.0
onBehalfOfIdStringID of the user or entity for which the reaction took place.Optional45.0
reactionTypeConnectApi.​Recommendation​ReactionTypeType of reaction to a recommendation. Values are:
  • Accepted
  • Rejected
Required45.0
recommendation​ModeStringReserved for future use.Mode of recommendation, if you’re using Einstein Intelligent Offers, an AppExchange package.Optional46.0
recommendation​ScoreDoubleReserved for future use.Einstein score, if you’re using Einstein Intelligent Offers, an AppExchange package.Optional46.0
strategyNameStringName of the recommendation strategy.Required45.0
targetActionIdStringID of the target action.Optional45.0
targetActionNameStringName of the target action.Required45.0
targetIdStringID of the recommendation that is being reacted to.Required45.0