---
schema_version: "1"
id: 8012f059ac630d0f512eb541be15bf5192f6bf6cae56b9666d08c03861abdeed
title: AIInsightFeedback
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_aiinsightfeedback.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_aiinsightfeedback.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7327bd2a803ae4942e0b14f2865d7b1907470c04e0a33ce903549cb9d7493382
description: Represents an Einstein prediction insight feedback. This object is available in API version 47.0 and later.
---
# 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, 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. This field is null when no recommendation is selected.



 |
| 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 and saves an Einstein recommendation on a case.
- Implicit—Implicit feedback. For example, a user edits or updates a case field without viewing or applying field recommendations from Einstein.





 |
| AiRecordInsightId | 

Type

reference

Properties

Filter, Group, Sort

Description

The unique ID of the associated AIRecordInsight.

This is a relationship field.

Relationship Name

AiRecordInsight

Relationship Type

Lookup

Refers To

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.

This is a polymorphic relationship field.

Relationship Name

Value

Relationship Type

Lookup

Refers To

AIInsightAction, AIInsightValue



 |

## Usage

Salesforce creates AIInsightFeedback records based on user responses to predictions after the prediction has been created. User feedback, such as a thumbs up/down response or accepting a recommended value, results in the creation of a feedback record in which the feedback type is explicit. An implicit feedback record is created when Einstein makes a recommendation but the field is updated in another way, for example, by a process. Once the AIInsightFeedback record has been created, it’s immutable.

Custom fields can’t be added to Einstein insight objects.