---
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 Generative AI Controller with Workflow Studio

# Use Generative AI Controller 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

Summarize the information automatically and add it to a form with the Generative AI Controller Summarize action in Workflow Studio. You can build a flow to summarize any field.

## Antes de Iniciar

Role required: admin

## Por Que e Quando Desempenhar Esta Tarefa

In this example, you can build a flow to summarize the comments in the work notes of an incident and use that summary in the resolution notes.

## Procedimento

1. Navigate to AllProcess AutomationFlow Designer.
2. Select NewFlow.
3. Enter the name of the flow, such as <kbd class="ph userinput">Summarize Comments and Work Notes</kbd>.
4. Select Submit.
5. Select Add a trigger.
6. Select when you would like the flow to run.  
   To follow this example, select RecordUpdated.
7. Select the table that the flow should run on.  
   For this example, select the Incident table.
8. Select the Add filters button to add a condition for the flow.  
   The Condition is <kbd class="ph userinput">State changes to Resolved</kbd>.
9. Select Done.
10. Under Actions, select Add an Action, Flow Logic, or Subflow and then select Action to open the Actions panel.  
11. Select the Generative AI ControllerSummarize action and select it.  
12. Drag a data pill from the Data panel or select the data pill picker icon ( ![Data pill picker icon.]()) to search.  
    In this case, drag the TriggerIncident RecordComments and Work notes pill.  
    Nota:  
    If the field that you want to summarize isn't a String field, you must cast the field as a String. You can cast the field as a String with scripting or by adding text to the textToSummarize field in addition to the data pill, like in the following example.
13. Select Done.
14. Add an action by selecting Add an Action, Flow Logic, or Subflow.
15. In the action selector, search for Update Record and select the action.  
16. Drag the TriggerIncident 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.
17. Select Add field value and search for the fields that you want to update.  
    In the following example, select Resolution notes.
18. Add the SummarizeResponse data pill into the data field by dragging it from the Data panel or with the data pill picker.  
19. Select Done.  
20. Save the flow by selecting Save.

## O que Fazer Depois

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

