Newer Version Available

This content describes an older version of this product. View Latest

ConnectApi.NBAReactionInput (Pilot)

A reaction to a recommendation produced by a recommendation 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

Property 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 43.0
executionId String ID of the original recommendation strategy execution. Optional 43.0
onBehalfOfId String ID of the user or entity for which the reaction took place. Optional 43.0
reactionType ConnectApi.​NBAReactionType Type of reaction to a recommendation. Values are:
  • Accepted
  • Rejected
Required 43.0
strategyName String Name of the recommendation strategy. Required 43.0
targetActionId String ID of the target action. Optional 43.0
targetActionName String Name of the target action. Required 43.0
targetId String ID of the recommendation that is being reacted to. Required 43.0