EmailInsight
Represents an insight generated from an email interaction. EmailInsights acts as a central place to store various types of insights related to email messages. The insights stored include status, type, and time of generation. Only certain types of insights can be created based on a pre-configured list of insight types.
Introduced in API version 63.0.
describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()
- EmailStream permission must be enabled.
- EmailStreamPref and SyncEmailToCoreActivity Org prefs must be enabled.
- To be able to see SyncEmailToCoreActivity preference, EACLegacyEmailSyncAWS Org permission, AnalyticsActivity, UnifiedActivities, and ActivityMetrics must be disabled. In addition, license to Standard Einstein Activity Capture and turning on Einstein Activity Capture and EmailInsights provisions the required permissions and preferences.
-
Type: reference
-
Properties: Create, Filter, Group, Sort, Update
-
Description:
Required. The ID of the email message the insight is generated for.
This field is a relationship field.
-
Relationship name: EmailMessage
-
Relationship type: relationship
-
Refers to: EmailMessage
- Type: datetime
- Properties: Create, Filter, Sort, Update
- Description: Required. The date and time when the insight was generated in the legacy system.
- Type: textarea
- Properties: Create, Update
- Description: Required. Description of the insight type.
- Type: string
- Properties: Create, Filter, Group, Sort, Update
- Description: Required. The ID of the insight type based on which the insight is generated.
- Type: string
- Properties: Create, Filter, Group, Sort, Update
- Description: Required. The display name of the insight type.
- Type: string
- Properties: Create, Filter, Group, idLookup, Sort, Update
- Description: Required. The unique ID of the insight that was generated and stored in the legacy system.
-
Type: picklist
-
Properties: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
-
Description:
Required. The status of the insight record.
The default value is
Active. -
Possible values:
- Active — Active (default)
- Completed — Completed
- Deprecated — Deprecated
- Dismissed — Dismissed
-
Default value: Active