AISentimentResult

Represents the outcome of the sentiment analysis performed on a text field of a Salesforce object by a third-party service provider. This object is available in API version 55.0 and later.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Fields

LastReferencedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The date when the AI Sentiment Result was last referenced.

LastViewedDate

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: The date when the AI Sentiment Result was last viewed.

MixedConfidenceScore

  • Type: double
  • Properties: Filter, Nillable, Sort
  • Description: The mixed confidence score from the result of the sentiment analysis.

Name

  • Type: string
  • Properties: Create, Filter, Group, idLookup, Sort, Update
  • Description: The name of the AI Sentiment Result record.

NegativeConfidenceScore

  • Type: double
  • Properties: Filter, Nillable, Sort
  • Description: The negative confidence score from the result of the sentiment analysis.

NeutralConfidenceScore

  • Type: double
  • Properties: Filter, Nillable, Sort
  • Description: The neutral confidence score from the result of the sentiment analysis.

OverallSentimentScore

  • Type: double
  • Properties: Filter, Nillable, Sort
  • Description: The overall score of the sentiment analysis.

OverallSentimentType

  • Type: picklist
  • Properties: Filter, Group, Nillable, Restricted picklist, Sort
  • Description: The result of the sentiment analysis.
  • Possible values:
    • Mixed
    • Negative
    • Neutral
    • Positive

OwnerId

  • Type: reference
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: The owner ID of the AI Sentiment Result record.

    This field is a polymorphic relationship field.

  • Relationship Name: Owner
  • Relationship Type: Lookup
  • Refers To: Group, User

PositiveConfidenceScore

  • Type: double
  • Properties: Filter, Nillable, Sort
  • Description: The positive confidence score from the result of the sentiment analysis.

Response

  • Type: textarea
  • Properties: Nillable
  • Description: The score of the sentiment analysis stored in JSON format.

ServiceType

  • Type: picklist
  • Properties: Create, Filter, Group, Restricted picklist, Sort
  • Description: The third-party service name that performs the sentiment analysis.
  • Possible values:
    • AWS_Comprehend_DetectSentiment

SourceObjectId

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort
  • Description: The standard or custom object containing the text field that’s processed for sentiment analysis.

    This field is a polymorphic relationship field.

  • Relationship Name: SourceObject
  • Relationship Type: Lookup

SourceObjectType

  • Type: picklist
  • Properties: Filter, Group, Nillable, Restricted picklist, Sort
  • Description: The name of the standard or custom object with the record containing the text field that’s processed for sentiment analysis.
  • Possible values:
    • SurveyQuestionResponse

SourceTextField

  • Type: picklist
  • Properties: Create, Filter, Group, Restricted picklist, Sort
  • Description: The name of the text field that’s processed for sentiment analysis.
  • Possible values:
    • SurveyQuestionResponse.ChoiceValue
    • SurveyQuestionResponse.ResponseValue

SourceTextLanguage

  • Type: picklist
  • Properties: Create, Filter, Group, Restricted picklist, Sort
  • Description: The language of the text that’s processed for sentiment analysis.

Status

  • Type: picklist
  • Properties: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
  • Description: The status of the sentiment analysis.
  • Default value: Draft
  • Possible values:
    • Completed
    • Draft
    • Failed
    • Rejected
    • Submitted

Associated Object

This object has the following associated object. If the API version isn’t specified, it’s available in the same API versions as this object. Otherwise, it’s available in the specified API version and later.

AISentimentResultShare
Sharing is available for the object.