Sentiment Analysis

  • Release version: Zurich
  • Updated July 31, 2025
  • 2 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Sentiment Analysis

    Sentiment Analysis in the Zurich release helps ServiceNow customers understand customer emotions by evaluating text in emails and cases. This feature, included with Task Intelligence for Customer Service, enables agents and managers to gauge sentiment on cases, improving empathy and prioritization of customer interactions. It supports English-language cases and predicts sentiment when cases are created and updated.

    Show full answer Show less

    Key Features

    • Sentiment Evaluation: The system analyzes email subject lines, bodies, case descriptions, and customer replies or comments to determine sentiment.
    • Sentiment Labels and Levels: Sentiment is classified as Positive (1.0), Neutral (0.5), or Negative (0.0) with a confidence score.
    • Original and Current Sentiment Fields: The original sentiment is recorded at case creation, while ongoing updates refresh the current sentiment and track sentiment trends over time.
    • Sentiment Over Time Tracking: Changes in sentiment are monitored and categorized as Improving, Declining, or Neutral to inform case management.
    • Prediction Feedback: Sentiment predictions are stored in the Predictor Results for Task table, accessible by users with the mladmin role. Predictions default to “correct” without agent feedback.
    • Machine Learning Model: A pre-trained model drives sentiment prediction, applied at case creation and updates.

    Key Outcomes

    • Enhanced Agent Prioritization: Agents can focus on cases with negative or declining sentiment to improve customer satisfaction.
    • Improved Case Routing and Escalation Management: Managers can assign cases to agents with appropriate empathy skills and reassign or escalate cases based on sentiment trends.
    • Coaching Opportunities: Managers can identify cases that ended with negative sentiment to support targeted training and improve service quality.

    Sentiment Analysis can help you gauge customer emotions, enabling you to provide more empathetic and compassionate customer experiences.

    Use the sentiment analysis feature included with Task Intelligence for Customer Service to:
    • Evaluate email and case text.
    • Identify the current sentiment of new cases.
    • Identify the ongoing sentiment of updated cases.
    • Display this information to agents and managers.

    Agents can use current case sentiment to prioritize their work and ongoing sentiment as it trends over time to see if cases are moving in the right direction.

    Managers can use sentiment to route cases to agents with the right empathy skills, monitor cases and reassign as needed, and avoid escalations. Manager can also identify coaching opportunities by looking at cases that ended on a negative sentiment.
    Note:
    In the Zurich release, the sentiment analysis feature can predict sentiment for cases created in English.

    Sentiment analysis machine learning models

    Sentiment analysis uses a pre-trained machine learning model to evaluate email and case text and predict sentiment. This analysis takes place when a case is created and when it is updated by the customer.
    Table 1. Sentiment analysis for cases
    Cases scenario Description
    When a case is created
    The sentiment analysis model evaluates the following text to make a prediction:
    • Text in the subject line and body of emails.
    • Text in the short description and description of cases.
    If the model can make a prediction, it returns the following information:
    • A sentiment label and corresponding sentiment level.
      • Positive (1.0)
      • Neutral (0.5)
      • Negative (0.0)
    • A confidence level for the prediction.

    If the model can make a prediction, the sentiment is added to the Original sentiment field.

    If the model can't make a prediction, the Original sentiment is not set.

    This system stores the sentiment prediction information in the Predictor Results for Task table.

    When a case is updated
    The sentiment analysis model evaluates the following text to make a prediction:
    • The text from the body of a reply email.
    • Comments that a customer adds to the case.
    If the model can make a prediction, it returns the following information:
    • An updated sentiment label and corresponding sentiment level.
    • A confidence level for the prediction.
    The system:
    • Updates the Current sentiment field with the current sentiment.
    • Compares the updated current sentiment to the original current sentiment, calculates the change in sentiment, and updates the Sentiment over time field.
      • If there is an increase in the score, the Sentiment over time field shows Improving.
      • If there is a decrease in the score, the Sentiment over time field shows Declining.
      • If there is no change in the score, the Sentiment over time field continues to display the previous value.
      Note:
      If the Original sentiment is Neutral and the Current sentiment is Neutral, then the Sentiment over time is Neutral.

    If the model can't make a prediction, no information gets recorded and the value in the Current sentiment field remains the same.

    For more information about the pre-trained machine learning model, see Create a model to predict case sentiment.

    Prediction feedback

    The system stores feedback on prediction results in the Predictor Result [ml_predictor_results] table. Users with the ml_admin role can access the table and view the results. For sentiment analysis:
    • The default value in the Predicted correctly field for each sentiment prediction is set to true.
    • The Final input value and Final output value fields remain empty because sentiment analysis predictions do not collect feedback from agents.

    The Predictor Result table also stores information about skipped and failed predictions. For more information about this table, see Components installed with Task Intelligence for Customer Service.