---
sourceDocument: Xanadu Enable AI
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/intelligent-experiences

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Subflow

# Add a subflow to an AI agent {#ariaid-title1}

* Release version: Xanadu
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Add a subflow to an AI agent in AI Agent Studio. Subflows are reusable sequences of processing steps that can be called from within a flow.

## Before you begin

When an AI agent uses a subflow tool, the user the AI agent is running as must pass the ACL of the subflow. Ensure that the security configurations for the subflow are met by the AI agent and agentic workflow. For more information, see [Security for AI agents](https://servicenow-prod.fluidtopics.net/QbjR~ixuVaGgxQKuXyJjXg "Implement security controls for AI agents and agentic workflows through access control lists (ACLs) and user identities to increase alignment with the access control-based security measures in the agentic system.").

Role required: sn_aia.admin

## Procedure

1. Navigate to AllAI Agent StudioCreate and manageAI agents.
2. Open the AI agent that you want to add a subflow to and navigate to the Add tools and information section.
3. In the Add tool drop-down list, select Subflow.
4. On the form, fill in the fields.  
   {#add-sub-flow-ai-agent__table_rt1_rgv_cdc__entry__2}

   | Fields | Description |
   |-|-|
   | Name | Name that you want to specify for your selected subflow. |
   | Description | Description of the subflow and what it's going to do to assist your AI agent. Note: This description is sent to the large language model (LLM). |
   | Select subflow | Existing process automation capability you want to add. |
   | Inputs | Subflow inputs. The values are filled in by the LLM at runtime unless you specify a value override. Note: If the agent uses multiple tools, you can choose to use another tool's output as an input value override. Select the data picker icon (![Data picker icon.]()) to review the available options. |
   | Execution mode | Mode of execution for your selected subflow: * Supervised: Inputs from your live agent are required during the execution of this tool while the AI agent runs. * Autonomous: Doesn't require any input from your live agent during the execution of this tool while the AI agent runs. {#add-sub-flow-ai-agent__ul_gkw_dgv_cdc} |
   | Display output | Permission to display the output of the execution in the Now Assist panel or in Virtual Agent: * Yes * No {#add-sub-flow-ai-agent__ul_r4r_fgv_cdc} |
   | Processing message | Message to display to users when the tool is running. |
   | Output transformation strategy | Style for the LLM to present the results. * None * Concise * Paragraph * Verbose |
   [Table 1. Add a subflow form]

   {#add-sub-flow-ai-agent__table_rt1_rgv_cdc}
5. Select Add.  
   A subflow tool is added in the Subflows section on the Add tools and information page.

*[\>]: and then


