Sentiment Analysis

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 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 Customer Service Management

    Sentiment Analysis within ServiceNow's Customer Service Management enables organizations to assess customer emotions through the Task Intelligence feature. This tool allows agents and managers to better understand customer sentiments associated with cases and emails, fostering more empathetic customer interactions.

    Show full answer Show less

    Key Features

    • Sentiment Evaluation: Analyzes email and case text to determine sentiments for new and updated cases.
    • Sentiment Display: Provides sentiment data to agents and managers to enhance case management.
    • Machine Learning Model: Utilizes a pre-trained model to predict sentiment during case creation and updates, with outputs including sentiment labels (positive, neutral, negative) and confidence levels.
    • Ongoing Sentiment Tracking: Monitors sentiment trends over time to help agents prioritize and manage cases effectively.
    • Feedback Mechanism: Stores prediction results in the Predictor Results table for analysis by users with the appropriate roles.

    Key Outcomes

    By implementing sentiment analysis, organizations can:

    • Prioritize cases based on current sentiment, enhancing responsiveness.
    • Assign cases to agents equipped with the necessary empathy skills, improving customer satisfaction.
    • Identify coaching opportunities through analysis of negatively rated cases.
    • Track sentiment changes over time, allowing for proactive case management.

    This feature currently supports sentiment prediction for cases created in English, ensuring effective communication in customer service workflows.

    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.
    Figure 1. Case list with sentiment fields
    My Cases list view in CSM Configurable Workspace showing positive, negative, and neutral case sentiment fields.

    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 Washington DC 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.