Sentiment analysis for email interactions
Configure Sentiment analysis for email interactions to evaluate sentiment, trends, and reasoning at interaction level and help agents resolve cases more efficiently.
Before you begin
Role required: admin
Install the plugin for email interactions.
About this task
Sentiment analysis for email interactions is generated from the information that you enter in the following fields:
- Description
- Short Description
Any modifications to the names or labels of these fields can result in issues with sentiment analysis. Sentiment is calculated using several factors:
- Latest requester message
- Overall conversation between agent and customer captured in transcript
- Sentiment history (trend)
- Issue complexity
- Feedback or continued frustration at the end of conversation
- Frequency of updates and response time
- Language tone
The Sentiment Reasoning field in the record provides details on which factors were considered for reasoning. This includes:
- Tone of the requester's messages across the transcript.
- Feedback or continued frustration in the latest requester's messages.
- Complexity of the issue based on interactions from both the requester and the agent.
Procedure
What to do next
- Now Assist Skill Kit is the ServiceNow framework for cloning and customizing Now Assist skills. When configuring Sentiment Analysis for email interactions, the base table provides the core email record data. Additional inputs supply the LLM with broader context- such as email thread history, linked case fields, or customer contact data that can improve the accuracy of sentiment output.
- You can customize the email sentiment prompt. Follow the steps to customize:
- Access the OneExtend Capability Definition record by going to the sys_generative_ai_config table. Here is an example for Azure OpenAI (other providers like Claude and Gemini will have a different sys_id): https://anoway1.service-now.com/sys_generative_ai_config.do?sys_id=479cdabf93b48310003afba6dd03d606
- Go to the Prompt Template field and edit the prompt.
- Save the record.Note:Verify that the user is in Now Assist for Customer Service Management (CSM) scope and the record is still in Published state.