---
sourceDocument: Australia Enable AI
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/pt-BR/intelligent-experiences

 Release :

    - australia

ft:locale :

    - pt-BR

ft:publication_title :

    - Australia Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Use Sentiment Analysis with Workflow Studio

# Use Sentiment Analysis with Workflow Studio {#ariaid-title1}

* Versão de lançamento: Australia
* 
* Atualizado 12 de mar. de 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 min. de leitura

Create a flow to upgrade the assignment group of an incident if the user has a negative sentiment in the short description.

## Antes de Iniciar

Role required: admin

## Procedimento

1. Navigate to AllProcess AutomationFlow Designer.
2. Select NewFlow.
3. Enter the name of the flow, such as <kbd class="ph userinput">Change assignment group if negative sentiment</kbd>.
4. Select Submit.
5. Select Add a trigger.
6. Select RecordCreated to update a new record.
7. Select the table that the flow should run on.  
   For this example, select the Incident (incident) table.
8. Select Done.
9. Under Actions, select Add an Action, Flow Logic, or Subflow and then select Action to open the Actions panel.
10. In the action selector, search for the Generative AI ControllerSentiment Analysis action and select it.
11. Drag a data pill from the Data panel or select the data pill picker icon.  
    In this case, drag the TriggerIncident RecordShort description.
12. Select Done.  
13. Add an action by selecting Add an Action, Flow Logic, or Subflow.
14. Select Flow LogicIf.
15. Give the Condition label a name, such as <kbd class="ph userinput">Negative sentiment</kbd>.
16. For the Condition field, drag a data pill or select the data pill picker icon to search for the correct condition.  
    In this case, drag the Sentiment Analysisresponse.
17. Select <kbd class="ph userinput">contains</kbd> the value <kbd class="ph userinput">Negative</kbd>.  
    Nota:  
    Capitalization matters. This flow won't work if the value is set to <kbd class="ph userinput">negative</kbd>.
18. Search for Update Record and select the action.
19. Drag the TriggerCase Record data pill into the Record field or select the icon to search.  
    The Table field is filled in automatically based on the Trigger record.
20. Select Add field value and search for the fields that you want to update.  
    In this example, select Assignment group.
21. Select which value you would like to set the field to.  
    The field value depends on your use case. In this example, the value is set to <kbd class="ph userinput">Service Desk</kbd>.
22. Select Done.
23. Save the flow by selecting Save.

## O que Fazer Depois

After you've saved the flow, you must activate the flow to migrate it to production or test it further.

