---
sourceDocument: Australia Customer Service Management
sourceDocumentLink: https://www.servicenow.com/docs/r/customer-service-management

 Release :

    - australia

ft:locale :

    - en-US

ft:publication_title :

    - Australia Customer Service Management

ft:clusterId :

    - csm

bundleId :

    - csm

workflow :

    - Customer and Industry


---

# Change insight field

# Change an insight to use a different field for sentiment analysis {#ariaid-title1}

* Release version: Australia
* 
* Updated December 1, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read

Change a sentiment analysis insight to display sentiment data from a different field. This requires updates to both the UI Builder component and AI Skill Kit.

## Before you begin

Role required: admin or maint

General ServiceNow platform knowledge is required for this procedure.

## About this task

For sentiment analysis insights, changing the field requires modifications to both the UI Builder component and the associated AI Skill Kit skill. It involves cloning components, creating new skills, and modifying scripts. This procedure confirms proper configuration of the sentiment analysis insight with a different field.

The Sentiment analysis dashboard includes the following UI Builder components:

* Default Sentiment Analysis Dashboard
* Sentiment Over Time Visualization
* Sentiment Breakdown Visualization
* Sentiment Top Drivers Insight (Negative sentiment and Positive sentiment drivers)
* Sentiment by Assignment Group Insight
* Sentiment After Escalation Insight
* Sentiment by Channel Insight

## Procedure

1. Navigate to AllUI Builder.
2. Under Components tab search for the corresponding component.  
   For example, open Sentiment by Channel Insight. Make a clone if needed.
3. [Duplicate](https://www.servicenow.com/docs/access?context=duplicate-components&version=australia&pubname=australia-application-development&ft:locale=en-US) Sentiment by Channel Insight
4. Rename all components to your desired field (for example, Consumer) or create a generalized component name.  
   Update the following:
   * UIB component name (in Settings) and Save
   * Stylized text title (in Editor)
   {#change-sentiment-analysis-insight-to-use-different-field__ul_ecb_tkl_mhc}
5. In the Get Sentiment by Field Data resource, change the Field(s) value to your desired field ID.  
   For example, consumer.
6. In a new tab or window, navigate to AllAI Skill Kit.
7. Under ServiceNow skills, search for Sentiment by Channel Insight.
8. Select Clone to clone the skill under your desired field name.
9. Under the Tool editor, select SentimentChannelScript and open the tool.
10. Replace every instance of the existing field (contact_type) with your desired field (consumer).
11. Select Continue till the Edit script tool guided set up reaches summary page.
12. Select Save changes.
13. In the Prompt editor tab, replace every instance of "channel" except the very last occurrence in {{SentimentChannelScript.output}}.
14. Select Finalize prompt.
15. Publish the prompt.
16. Navigate to the sys_one_extend_capability table and find the record corresponding to the AI Skill Kit skill you just created.  
    Right click to copy the sys_id.
17. Return to the UI Builder page and in the Get Sentiment Insight by Capability ID data resource, paste the copied sys_id from previous step into the Capability ID field.
18. Select Save.  
    Now [add](https://www.servicenow.com/docs/access?context=add-components&version=australia&pubname=australia-application-development&ft:locale=en-US) the newly created component to any base system dashboard page or your own custom page. Use other nearby insights as reference for the correct event handler and optimization setup.  
    The sentiment analysis insight now uses the specified field to display data and the associated AI skill has been properly configured.
**Related tasks**   

* [Add a filter](https://www.servicenow.com/docs/ZNi9cJrxpUJLGD7ggBUBPA "Add a new filter to a UI Builder dashboard to enable users to refine data views based on additional fields such as consumer, product, or other custom fields.")
* [Change graph visualization](https://www.servicenow.com/docs/tyBGE9bJOPRfmW20j9S86Q "Change a graph visualization to a different type within the same graph group, such as converting a bar chart or area chart.")

*[\>]: and then


