Add an AI Sentiment Formula to a Data 360 Report (Beta)
Add the AI_SENTIMENT function in a Data 360 report to analyze
unstructured text fields, such as support tickets, customer reviews, or survey responses, and
return a sentiment classification for each record.
Required Editions
Available in: Lightning Experience
Available in: Data 360 in Developer, Enterprise, Performance, and
Unlimited Editions
Note AI Sentiment Function in Data 360 Reports is a pilot or beta service that is subject to the
Beta Services Terms at Agreements - Salesforce.com or a written Unified Pilot Agreement if
executed by Customer, and applicable terms in the Product Terms Directory. Use of this pilot or beta
service is at the Customer’s sole discretion.
From Setup, in the Quick Find box, enter Reports and select
Reports and Dashboards Settings.
Select Enable AI Sentiment Function in Data Cloud reports
(Beta).
Create or open a Data 360 report.
From the Columns section of the Outline pane, click the dropdown, and select Add
Row-Level Formula.
You can also add an AI sentiment function to a summary formula.
Enter a column name and description for the row-level formula.
Set the formula output type to Text.
From the Fields tab, select the AI_SENTIMENT function and then add
it to the formula editor.
The AI_SENTIMENT function performs sentiment analysis on text input, and returns a
sentiment label. For more details, see AI_SENTIMENT
Enter this formula, replacing text_field with the name of the text field
you want to analyze.
AI_SENTIMENT(text_field)
text_field is a text field or expression containing the unstructured text
to analyze.
To check the formula for errors, click Validate.
Save and run the report.
The sentiment column displays Positive, Negative, Neutral, Mixed, or Unknown for
each row.
Example
To triage support tickets by sentiment, add this formula as a calculated column on a
report that includes a text field with ticket descriptions:
AI_SENTIMENT(Support_Ticket_Text__c)
The report shows a sentiment value for each ticket so you can filter or group records
by sentiment.
Did this article solve your issue?
Let us know so we can improve!
Loading
Salesforce Help | Article
Cookie Consent Manager
Cookie Consent Manager
General Information
Required Cookies
Functional Cookies
Advertising Cookies
General Information
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.