Newer Version Available

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

AIInsightFeedback

Represents an Einstein prediction insight feedback. This object is available in API version 47.0 and later.

An Einstein insight is created every time an Einstein feature, such as Prediction Builder or Case Classification, makes a prediction. An insight is represented by a root AIRecordInsight and the following child objects: AIInsightAction, AIInsightFeedback, AIInsightReason, and AIInsightValue.

AIInsightFeedback is a one-to-many child of AIRecordInsight. AIInsightFeedback contains information about explicit and implicit feedback collected from users for a particular insight.

Supported Calls

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

Special Access Rules

Prediction insight objects are only available in orgs that have Einstein features, such as Prediction Builder or Case Classification, enabled.

Fields

Field Details
ActualValue
Type
string
Properties
Filter, Group, Nillable, Sort
Description
The raw feedback value.
AiFeedback
Type
picklist
Properties
Filter, Group, Restricted picklist, Sort
Description
The feedback user sentiment. Possible values are:
  • Negative—Negative feedback
  • Neutral—Neutral feedback
  • Positive—Positive feedback
AiInsightFeedbackType
Type
picklist
Properties
Filter, Group, Restricted picklist, Sort
Description
The nature of the feedback. Possible values are:
  • Explicit—Explicit feedback. For example, a user applies Einstein Recommendations on a case.
  • Implicit—Implicit feedback. For example, a user edits or updates case fields without viewing or applying field recommendations from Einstein.
AiRecordInsightId
Type
reference
Properties
Filter, Group, Sort
Description
The unique ID of the associated AIRecordInsight.
Name
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
The name of the AIInsightFeedback.
Rank
Type
int
Properties
Filter, Group, Nillable, Sort
Description
The feedback score.
ValueId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
The unique ID of the associated AIInsightValue.

Usage

Salesforce creates AIInsightFeedback records based on user responses to predictions after the prediction has been created. Explicit feedback, such as a thumbs up/down response, will cause the creation of a feedback record. Implicit feedback, such as accepting a recommended predicted value, will cause the creation of a feedback record. Once the AIInsightFeedback record has been created, it is immutable.

Custom fields cannot be added to Einstein insight objects.