Newer Version Available

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

RecommendationResponse

Represents the user responses to a presented offer or recommendation for Einstein Next Best Action. This object is available in API version 51.0 and later.

Supported Calls

create(), delete(), describeSObjects(), getDeleted(), getUpdated() query(), retrieve(),

Special Access Rules

You must have one of these user permissions to read, delete, or update recommendation responses:
  • Modify All Data
  • Manage Next Best Action Recommendations
  • Manage Next Best Action Strategies

Fields

Field Details
ActionReference
Type
string
Properties
Create, Filter, Group, Nillable, Sort
Description
The full name of an action flow at the time of the response. The full name includes the action’s namespace.
ContextRecord
Type
string
Properties
Create, Filter, Group, Nillable, Sort
Description
The ID of context record that contains the Einstein Next Best Action component. For example, if the Einstein Next Best Action component is on a case record the ContextRecord is the ID of the case record.
ContextRecordName
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The name of the context record.
ContextRecordType
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The name of the object that’s associated with the value stored in the ContextRecord field. For example, Account, Case, or Contact.
NetworkId
Type
reference
Properties
Create, Filter, Group, Nillable, Sort
Description
ID of the Experience Cloud site associated with the recommendation (if applicable). This is a relationship field.
Relationship Name
Network
Relationship Type
Lookup
Refers To
Network
OnBehalfOf
Type
string
Properties
Create, Filter, Group, idLookup, Sort
Description
The user ID or record that is indirectly reacting to the recommendation.
OnBehalfOfName
Type
string
Properties
Filter, Group, Sort
Description
Name of the value stored for OnBehalfOf at time of response.
OnBehalfOfType
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The name of the object that’s associated with the value stored in the OnBehalfOf field. For example, Account, Case, or Contact.
RecommendationKey
Type
string
Properties
Create, Filter, Group, Sort
Description
RecommendationId if available, otherwise a generated string that represents the recommendation name.
RecommendationName
Type
string
Properties
Create, Filter, Group, Nillable, Sort
Description
Name of the recommendation returned from the recommendation strategy.
RecommendationType
Type
string
Properties
Create, Filter, Group, Sort
Description
Object type of the recommendation. It can be Recommendation or any object type mapped to the Recommendation object. For example, if you map Product to Recommendation, the RecommendationType is Product.
Response
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort
Description
The user’s response to the recommendation.
Possible values are:
  • Accepted
  • Rejected
StrategyReference
Type
string
Properties
Create, Filter, Group, Sort
Description
The full name of a recommendation strategy flow at the time of the response. The response is formatted as namespace underscore prefix double underscore flowname, such as namespace_prefix__flowname.
StrategyVersion
Type
string
Properties
Filter, Group, Sort
Description
The recommendation strategy version that’s active at the time of the response.

Usage

The RecommendationResponse object can’t be customized with additional fields.