Agent Studio - Router Tool (AI & Conditional Router)
Learn how to use the router tool in GHL Customer Care's Agent Studio. Use AI Router, Conditional Router, and No Condition routing to build smarter conversation flows.
Assistants need to reach this page over the internet. While it is only running on your machine, these two buttons will not be able to load it.
On this page
Agent Studio Router helps you control how conversations move between nodes in Agent Studio. As the name implies, a router directs the workflow from one node to the next based on specific logic or conditions. This article explains how to use AI Router, Conditional Router, and No Condition routing to build smarter conversation paths based on intent, logic, or an always-on transition.
TABLE OF CONTENTS
- What is the Router Tool in Agent Studio?
- Key Benefits of the Router Tool in Agent Studio
- Using AI Router
- Using Conditional Router
- Using No Condition
- Using Router Inside Sequential Nodes
- How To Use the Routing Tool in Agent Studio
- Example Flow
- Best Practices
- Frequently Asked Questions
- Related Articles
What is the Router Tool in Agent Studio?
Agent Studio Router controls how an agent moves from one node to another based on conversation context or logic. It helps you create flexible paths inside your graph so the next step is chosen based on what the user says, what data has been captured, or whether the flow should always continue to the next node.
The Router supports three routing approaches:
AI Router: Uses natural language intent to decide which path to take.
Conditional Router: Uses saved variables and logic rules to determine the next node.
No Condition: Always moves to the next connected node without evaluating intent or logic.
The Router can be used in agent flows and inside Sequential Nodes, which allows a linear process to branch when needed before continuing.
Key Benefits of the Router Tool in Agent Studio
Smarter branching: Route users based on what they mean, not just fixed keywords.
More control: Use variables and logic rules to move contacts to the right next step.
Cleaner graph design: Connect nodes more intentionally instead of forcing everything into one path.
Flexible flow building: Combine AI routing, conditional logic, and always-on routing in the same agent.
Better user experience: Help contacts reach the right outcome faster with fewer unnecessary steps.
Support for more advanced automations: Add dynamic decision-making inside Agent Studio and Sequential Nodes.
Using AI Router
AI Router is best when the next step depends on what the user means in natural language. Instead of checking for an exact value, the AI reviews the user’s message and matches it to the most appropriate intent you define.
Use AI Router when:
users may respond in different ways that mean the same thing
you want to branch based on interest, sentiment, or conversational intent
the path should be chosen from natural language instead of a stored variable
Example intents:
User wants to invest in silver
User does not want to invest in silver
In this setup, the Router evaluates the user’s last message and sends the conversation to the matching connected node.
All 3 steps in this procedure
- users may respond in different ways that mean the same thing
- you want to branch based on interest, sentiment, or conversational intent
- the path should be chosen from natural language instead of a stored variable
Using Conditional Router
Conditional Router is best when routing depends on a known value that has already been captured in the conversation. This is useful when a tool, form field, choice, or earlier node stores a value that can be evaluated with logic.
Use Conditional Router when:
you already have a saved variable to evaluate
the route depends on a fixed value such as Yes, No, positive, or negative
you need explicit rule-based branching instead of AI interpretation
Conditional routes use logic fields such as:
Variable
Operator
Value
Example:
Variable:
{{runtime.userChoice_eyro}}Operator:
equals (EQ)Value:
Yes
That route can send the user to a proceed path, while another condition can send them to a different node.
All 3 steps in this procedure
- you already have a saved variable to evaluate
- the route depends on a fixed value such as Yes, No, positive, or negative
- you need explicit rule-based branching instead of AI interpretation
Using No Condition
No Condition is useful when you want the Router to move forward every time without evaluating intent or logic. This creates an always-on route and works well as a bridge between steps in a larger conversation flow.
Use No Condition when:
the next node should always run after the current one
you want a simple transition between nodes
a step has already collected the needed information and should now continue automatically
When enabled, the route acts as an always path to the next connected node.
All 3 steps in this procedure
- the next node should always run after the current one
- you want a simple transition between nodes
- a step has already collected the needed information and should now continue automatically
Using Router Inside Sequential Nodes
Router can also be used inside Sequential Nodes, which allows a mostly linear flow to branch when needed. This is helpful when a sequence should continue in order but still needs an AI-based or logic-based decision before moving forward.
This approach works well when:
a sequence needs a decision point before the next step
a user’s answer should redirect them to different outcomes
you want to combine structured flows with dynamic routing
All 3 steps in this procedure
- a sequence needs a decision point before the next step
- a user’s answer should redirect them to different outcomes
- you want to combine structured flows with dynamic routing
How To Use the Routing Tool in Agent Studio
A well-structured Router setup ensures conversations move intelligently based on user intent or defined logic. Follow the steps below to configure both AI-based and rule-based routing inside your agent.
- From the left navigation menu, click AI Agents and then select the Agent Studio tab at the top of the page.
Step 1 of 12: From the left navigation menu, click AI Agents and then select the… What this shows Step 1 of 12: From the left navigation menu, click AI Agents and then select the Agent Studio tab at the top of the page. What this shows Shows what to choose for step 1 of 12 in the "How To Use the Routing Tool in Agent Studio" section of "Agent Studio - Router Tool (AI & Conditional Router)". This screenshot accompanies step 1 of 12 in the "How To Use the Routing Tool in Agent Studio" section of "Agent Studio - Router Tool (AI & Conditional Router)". At this point in the walkthrough you from the left navigation menu, click AI Agents and then select the Agent Studio tab at the top of the page. This part of the guide covers 1 field, listed below. The next step is to create a New Agent or click on an existing Agent's name to open it. What to chooseFrom the left navigation menu, click AI Agents and then select the Agent Studio tab at the top of the page. Fields in this part of the guide Configure the router:Buttons and menus referenced AI AgentsAgent StudioCreateNew AgentclickAgent'snameopenAddTriggerAIAgentNext stepCreate a New Agent or click on an existing Agent's name to open it.All 12 steps in this procedure
- From the left navigation menu, click AI Agents and then select the Agent Studio tab at the top of the page. this image
- Create a New Agent or click on an existing Agent's name to open it.
- Add a Trigger like Chat Message or Form Submitted, etc.
- Add an AI Agent and configure it.
- From the Flow Control panel on the left, drag the Router node onto the canvas to insert a decision point in your conversation flow.
- Once placed, the Edit Router panel opens on the right, where you can choose the routing mode and begin configuring how the conversation should branch.
- In the Router configuration panel, choose between AI Router and Conditional Router under the “ Router Type ” section. This selection determines whether the routing decision will be based on AI intent detection or rule-based logic.
- Configure the router:
- Connect each route output to the correct destination node in your graph.
- Save your Router settings.
- Test the conversation to confirm each route leads to the correct next step.
- Save, Publish and Deploy the workflow.
- Create a New Agent or click on an existing Agent's name to open it.
Step 2 of 12: Create a New Agent or click on an existing Agent's name to open it What this shows Step 2 of 12: Create a New Agent or click on an existing Agent's name to open it. What this shows Shows what to click for step 2 of 12 in the "How To Use the Routing Tool in Agent Studio" section of "Agent Studio - Router Tool (AI & Conditional Router)". This screenshot accompanies step 2 of 12 in the "How To Use the Routing Tool in Agent Studio" section of "Agent Studio - Router Tool (AI & Conditional Router)". At this point in the walkthrough you create a New Agent or click on an existing Agent's name to open it. This part of the guide covers 1 field, listed below. The next step is to add a Trigger like Chat Message or Form Submitted, etc. What to clickCreate a New Agent or click on an existing Agent's name to open it. Fields in this part of the guide Configure the router:Buttons and menus referenced CreateNew AgentclickAgent'snameopenAI AgentsAgent StudioAddTriggerAIAgentNext stepAdd a Trigger like Chat Message or Form Submitted, etc.All 12 steps in this procedure
- From the left navigation menu, click AI Agents and then select the Agent Studio tab at the top of the page.
- Create a New Agent or click on an existing Agent's name to open it. this image
- Add a Trigger like Chat Message or Form Submitted, etc.
- Add an AI Agent and configure it.
- From the Flow Control panel on the left, drag the Router node onto the canvas to insert a decision point in your conversation flow.
- Once placed, the Edit Router panel opens on the right, where you can choose the routing mode and begin configuring how the conversation should branch.
- In the Router configuration panel, choose between AI Router and Conditional Router under the “ Router Type ” section. This selection determines whether the routing decision will be based on AI intent detection or rule-based logic.
- Configure the router:
- Connect each route output to the correct destination node in your graph.
- Save your Router settings.
- Test the conversation to confirm each route leads to the correct next step.
- Save, Publish and Deploy the workflow.
- Add a Trigger like Chat Message or Form Submitted, etc.
- Add an AI Agent and configure it.
Step 4 of 12: Add an AI Agent and configure it What this shows Step 4 of 12: Add an AI Agent and configure it. What this shows Shows what this covers for step 4 of 12 in the "How To Use the Routing Tool in Agent Studio" section of "Agent Studio - Router Tool (AI & Conditional Router)". This animation accompanies step 4 of 12 in the "How To Use the Routing Tool in Agent Studio" section of "Agent Studio - Router Tool (AI & Conditional Router)". At this point in the walkthrough you add an AI Agent and configure it. For context, this section explains: A well-structured Router setup ensures conversations move intelligently based on user intent or defined logic. Follow the steps below to configure both AI-based and rule-based routing inside your agent. This part of the guide covers 1 field, listed below. The next step is to from the Flow Control panel on the left, drag the Router node onto the canvas to insert a decision point in your conversation flow. What this coversAdd an AI Agent and configure it. Fields in this part of the guide Configure the router:Buttons and menus referenced AIAgentAI AgentsAgent StudioCreateNew AgentclickAgent'snameopenAddTriggerNext stepFrom the Flow Control panel on the left, drag the Router node onto the canvas to insert a decision point in your conversation flow.All 12 steps in this procedure
- From the left navigation menu, click AI Agents and then select the Agent Studio tab at the top of the page.
- Create a New Agent or click on an existing Agent's name to open it.
- Add a Trigger like Chat Message or Form Submitted, etc.
- Add an AI Agent and configure it. this image
- From the Flow Control panel on the left, drag the Router node onto the canvas to insert a decision point in your conversation flow.
- Once placed, the Edit Router panel opens on the right, where you can choose the routing mode and begin configuring how the conversation should branch.
- In the Router configuration panel, choose between AI Router and Conditional Router under the “ Router Type ” section. This selection determines whether the routing decision will be based on AI intent detection or rule-based logic.
- Configure the router:
- Connect each route output to the correct destination node in your graph.
- Save your Router settings.
- Test the conversation to confirm each route leads to the correct next step.
- Save, Publish and Deploy the workflow.
- From the Flow Control panel on the left, drag the Router node onto the canvas to insert a decision point in your conversation flow.
Step 5 of 12: From the Flow Control panel on the left, drag the Router node onto the… What this shows Step 5 of 12: From the Flow Control panel on the left, drag the Router node onto the canvas to insert a decision point in your conversation flow. What this shows Shows what this covers for step 5 of 12 in the "How To Use the Routing Tool in Agent Studio" section of "Agent Studio - Router Tool (AI & Conditional Router)". This screenshot accompanies step 5 of 12 in the "How To Use the Routing Tool in Agent Studio" section of "Agent Studio - Router Tool (AI & Conditional Router)". At this point in the walkthrough you from the Flow Control panel on the left, drag the Router node onto the canvas to insert a decision point in your conversation flow. This part of the guide covers 1 field, listed below. The next step is to once placed, the Edit Router panel opens on the right, where you can choose the routing mode and begin configuring how the conversation should branch. What this coversFrom the Flow Control panel on the left, drag the Router node onto the canvas to insert a decision point in your conversation flow. Fields in this part of the guide Configure the router:Buttons and menus referenced Flow ControlAI AgentsAgent StudioCreateNew AgentclickAgent'snameopenAddTriggerAINext stepOnce placed, the Edit Router panel opens on the right, where you can choose the routing mode and begin configuring how the conversation should branch.All 12 steps in this procedure
- From the left navigation menu, click AI Agents and then select the Agent Studio tab at the top of the page.
- Create a New Agent or click on an existing Agent's name to open it.
- Add a Trigger like Chat Message or Form Submitted, etc.
- Add an AI Agent and configure it.
- From the Flow Control panel on the left, drag the Router node onto the canvas to insert a decision point in your conversation flow. this image
- Once placed, the Edit Router panel opens on the right, where you can choose the routing mode and begin configuring how the conversation should branch.
- In the Router configuration panel, choose between AI Router and Conditional Router under the “ Router Type ” section. This selection determines whether the routing decision will be based on AI intent detection or rule-based logic.
- Configure the router:
- Connect each route output to the correct destination node in your graph.
- Save your Router settings.
- Test the conversation to confirm each route leads to the correct next step.
- Save, Publish and Deploy the workflow.
- Once placed, the Edit Router panel opens on the right, where you can choose the routing mode and begin configuring how the conversation should branch.
- In the Router configuration panel, choose between AI Router and Conditional Router under the “Router Type” section. This selection determines whether the routing decision will be based on AI intent detection or rule-based logic.
Step 7 of 12: In the Router configuration panel, choose between AI Router and… What this shows Step 7 of 12: In the Router configuration panel, choose between AI Router and Conditional Router under the “ Router Type ” section. What this shows Shows what to fill in for step 7 of 12 in the "How To Use the Routing Tool in Agent Studio" section of "Agent Studio - Router Tool (AI & Conditional Router)". This screenshot accompanies step 7 of 12 in the "How To Use the Routing Tool in Agent Studio" section of "Agent Studio - Router Tool (AI & Conditional Router)". At this point in the walkthrough you in the Router configuration panel, choose between AI Router and Conditional Router under the “ Router Type ” section. This selection determines whether the routing decision will be based on AI intent detection or rule-based logic. This part of the guide covers 1 field, listed below. The next step is to configure the router. What to fill inIn the Router configuration panel, choose between AI Router and Conditional Router under the “ Router Type ” section. This selection determines whether the routing decision will be based on AI intent detection or rule-based logic. Fields in this part of the guide Configure the router:Buttons and menus referenced AI Router and Conditional RouterRouter TypeAI AgentsAgent StudioCreateNew AgentclickAgent'snameopenAddTriggerNext stepConfigure the router:All 12 steps in this procedure
- From the left navigation menu, click AI Agents and then select the Agent Studio tab at the top of the page.
- Create a New Agent or click on an existing Agent's name to open it.
- Add a Trigger like Chat Message or Form Submitted, etc.
- Add an AI Agent and configure it.
- From the Flow Control panel on the left, drag the Router node onto the canvas to insert a decision point in your conversation flow.
- Once placed, the Edit Router panel opens on the right, where you can choose the routing mode and begin configuring how the conversation should branch.
- In the Router configuration panel, choose between AI Router and Conditional Router under the “ Router Type ” section. This selection determines whether the routing decision will be based on AI intent detection or rule-based logic. this image
- Configure the router:
- Connect each route output to the correct destination node in your graph.
- Save your Router settings.
- Test the conversation to confirm each route leads to the correct next step.
- Save, Publish and Deploy the workflow.
Configure the router:
For AI Router, add the intents that should determine each path. Each intent represents a branch the conversation can follow when the AI detects matching intent from the user’s message.
Step 1 of 3: For AI Router, add the intents that should determine each path. Each… What this shows Step 1 of 3: For AI Router, add the intents that should determine each path. What this shows Shows what this covers for step 1 of 3 in the "How To Use the Routing Tool in Agent Studio" section of "Agent Studio - Router Tool (AI & Conditional Router)". This animation accompanies step 1 of 3 in the "How To Use the Routing Tool in Agent Studio" section of "Agent Studio - Router Tool (AI & Conditional Router)". At this point in the walkthrough you for AI Router, add the intents that should determine each path. Each intent represents a branch the conversation can follow when the AI detects matching intent from the user’s message. This part of the guide covers 1 field, listed below. The next step is to for Conditional Router, add one or more conditions using the correct variable, operator, and value. Switch to Conditional Router if you want routing decisions to be based on structured data instead of natural language interpretation. This mode evaluates variables and predefined logic to determine the next step. Enter a clear Label for the condition branch to identify it within the conversation graph. This label appears on the node connection and helps keep complex flows organized. Select the Condition Type to define how multiple rules are evaluated. Choose whether all conditions must match (AND) or if any single condition can match (OR). In the condition editor, select the Variable, choose the appropriate Operator, and define the expected Value. This tells the Router exactly what data to evaluate before proceeding down that branch. What this coversFor AI Router, add the intents that should determine each path. Each intent represents a branch the conversation can follow when the AI detects matching intent from the user’s message. Fields in this part of the guide Configure the router:Buttons and menus referenced AI RouterAI AgentsAgent StudioCreateNew AgentclickAgent'snameopenAddTriggerAINext stepFor Conditional Router, add one or more conditions using the correct variable, operator, and value. Switch to Conditional Router if you want routing decisions to be based on structured data instead of natural language interpretation. This mode evaluates variables and predefined logic to determine the next step. Enter a clear Label for the condition branch to identify it within the conversation graph. This label appears on the node connection and helps keep complex flows organized. Select the Condition Type to define how multiple rules are evaluated. Choose whether all conditions must match (AND) or if any single condition can match (OR). In the condition editor, select the Variable, choose the appropriate Operator, and define the expected Value. This tells the Router exactly what data to evaluate before proceeding down that branch.All 3 steps in this procedure
- For AI Router, add the intents that should determine each path. Each intent represents a branch the conversation can follow when the AI detects matching intent from the user’s message. this image
- For Conditional Router, add one or more conditions using the correct variable, operator, and value. Switch to Conditional Router if you want routing decisions to be based on structured data instead of natural language interpretation. This mode evaluates variables and predefined logic to determine the next step. Enter a clear Label for the condition branch to identify it within the conversation graph. This label appears on the node connection and helps keep complex flows organized. Select the Condition Type to define how multiple rules are evaluated. Choose whether all conditions must match (AND) or if any single condition can match (OR). In the condition editor, select the Variable, choose the appropriate Operator, and define the expected Value. This tells the Router exactly what data to evaluate before proceeding down that branch.
- For No Condition, enable the toggle so the route always continues to the next node.
For Conditional Router, add one or more conditions using the correct variable, operator, and value.
Switch to Conditional Router if you want routing decisions to be based on structured data instead of natural language interpretation. This mode evaluates variables and predefined logic to determine the next step.
Enter a clear Label for the condition branch to identify it within the conversation graph. This label appears on the node connection and helps keep complex flows organized.
Select the Condition Type to define how multiple rules are evaluated. Choose whether all conditions must match (AND) or if any single condition can match (OR).
In the condition editor, select the Variable, choose the appropriate Operator, and define the expected Value. This tells the Router exactly what data to evaluate before proceeding down that branch.
Step 2 of 3: For Conditional Router, add one or more conditions using the correct… What this shows Step 2 of 3: For Conditional Router, add one or more conditions using the correct variable, operator, and value. What this shows Shows what to fill in for step 2 of 3 in the "How To Use the Routing Tool in Agent Studio" section of "Agent Studio - Router Tool (AI & Conditional Router)". This animation accompanies step 2 of 3 in the "How To Use the Routing Tool in Agent Studio" section of "Agent Studio - Router Tool (AI & Conditional Router)". At this point in the walkthrough you for Conditional Router, add one or more conditions using the correct variable, operator, and value. Switch to Conditional Router if you want routing decisions to be based on structured data instead of natural language interpretation. This mode evaluates variables and predefined logic to determine the next step. Enter a clear Label for the condition branch to identify it within the conversation graph. This label appears on the node connection and helps keep complex flows organized. Select the Condition Type to define how multiple rules are evaluated. Choose whether all conditions must match (AND) or if any single condition can match (OR). In the condition editor, select the Variable, choose the appropriate Operator, and define the expected Value. This tells the Router exactly what data to evaluate before proceeding down that branch. This part of the guide covers 1 field, listed below. The next step is to for No Condition, enable the toggle so the route always continues to the next node. What to fill inFor Conditional Router, add one or more conditions using the correct variable, operator, and value. Switch to Conditional Router if you want routing decisions to be based on structured data instead of natural language interpretation. This mode evaluates variables and predefined logic to determine the next step. Enter a clear Label for the condition branch to identify it within the conversation graph. This label appears on the node connection and helps keep complex flows organized. Select the Condition Type to define how multiple rules are evaluated. Choose whether all conditions must match (AND) or if any single condition can match (OR). In the condition editor, select the Variable, choose the appropriate Operator, and define the expected Value. This tells the Router exactly what data to evaluate before proceeding down that branch. Fields in this part of the guide Configure the router:Buttons and menus referenced Conditional RouterLabelCondition TypeVariableOperatorValueAI AgentsAgent StudioCreateNew AgentclickAgent'sNext stepFor No Condition, enable the toggle so the route always continues to the next node.All 3 steps in this procedure
- For AI Router, add the intents that should determine each path. Each intent represents a branch the conversation can follow when the AI detects matching intent from the user’s message.
- For Conditional Router, add one or more conditions using the correct variable, operator, and value. Switch to Conditional Router if you want routing decisions to be based on structured data instead of natural language interpretation. This mode evaluates variables and predefined logic to determine the next step. Enter a clear Label for the condition branch to identify it within the conversation graph. This label appears on the node connection and helps keep complex flows organized. Select the Condition Type to define how multiple rules are evaluated. Choose whether all conditions must match (AND) or if any single condition can match (OR). In the condition editor, select the Variable, choose the appropriate Operator, and define the expected Value. This tells the Router exactly what data to evaluate before proceeding down that branch. this image
- For No Condition, enable the toggle so the route always continues to the next node.
For No Condition, enable the toggle so the route always continues to the next node.
Step 3 of 3: For No Condition, enable the toggle so the route always continues to… What this shows Step 3 of 3: For No Condition, enable the toggle so the route always continues to the next node. What this shows Shows what to choose for step 3 of 3 in the "How To Use the Routing Tool in Agent Studio" section of "Agent Studio - Router Tool (AI & Conditional Router)". This screenshot accompanies step 3 of 3 in the "How To Use the Routing Tool in Agent Studio" section of "Agent Studio - Router Tool (AI & Conditional Router)". At this point in the walkthrough you for No Condition, enable the toggle so the route always continues to the next node. This part of the guide covers 1 field, listed below. What to chooseFor No Condition, enable the toggle so the route always continues to the next node. Fields in this part of the guide Configure the router:Buttons and menus referenced No ConditionAI AgentsAgent StudioCreateNew AgentclickAgent'snameopenAddTriggerAIAll 3 steps in this procedure
- For AI Router, add the intents that should determine each path. Each intent represents a branch the conversation can follow when the AI detects matching intent from the user’s message.
- For Conditional Router, add one or more conditions using the correct variable, operator, and value. Switch to Conditional Router if you want routing decisions to be based on structured data instead of natural language interpretation. This mode evaluates variables and predefined logic to determine the next step. Enter a clear Label for the condition branch to identify it within the conversation graph. This label appears on the node connection and helps keep complex flows organized. Select the Condition Type to define how multiple rules are evaluated. Choose whether all conditions must match (AND) or if any single condition can match (OR). In the condition editor, select the Variable, choose the appropriate Operator, and define the expected Value. This tells the Router exactly what data to evaluate before proceeding down that branch.
- For No Condition, enable the toggle so the route always continues to the next node. this image
- Connect each route output to the correct destination node in your graph.
Step 9 of 12: Connect each route output to the correct destination node in your graph What this shows Step 9 of 12: Connect each route output to the correct destination node in your graph. What this shows Shows what this covers for step 9 of 12 in the "How To Use the Routing Tool in Agent Studio" section of "Agent Studio - Router Tool (AI & Conditional Router)". This screenshot accompanies step 9 of 12 in the "How To Use the Routing Tool in Agent Studio" section of "Agent Studio - Router Tool (AI & Conditional Router)". At this point in the walkthrough you connect each route output to the correct destination node in your graph. This part of the guide covers 1 field, listed below. The next step is to save your Router settings. What this coversConnect each route output to the correct destination node in your graph. Fields in this part of the guide Configure the router:Buttons and menus referenced ConnectrouteoutputdestinationnodeAI AgentsAgent StudioCreateNew AgentclickAgent'snameNext stepSave your Router settings.All 12 steps in this procedure
- From the left navigation menu, click AI Agents and then select the Agent Studio tab at the top of the page.
- Create a New Agent or click on an existing Agent's name to open it.
- Add a Trigger like Chat Message or Form Submitted, etc.
- Add an AI Agent and configure it.
- From the Flow Control panel on the left, drag the Router node onto the canvas to insert a decision point in your conversation flow.
- Once placed, the Edit Router panel opens on the right, where you can choose the routing mode and begin configuring how the conversation should branch.
- In the Router configuration panel, choose between AI Router and Conditional Router under the “ Router Type ” section. This selection determines whether the routing decision will be based on AI intent detection or rule-based logic.
- Configure the router:
- Connect each route output to the correct destination node in your graph. this image
- Save your Router settings.
- Test the conversation to confirm each route leads to the correct next step.
- Save, Publish and Deploy the workflow.
- Save your Router settings.
- Test the conversation to confirm each route leads to the correct next step.
- Save, Publish and Deploy the workflow.
Step 12 of 12: Save, Publish and Deploy the workflow What this shows Step 12 of 12: Save, Publish and Deploy the workflow. What this shows Shows how to confirm for step 12 of 12 in the "How To Use the Routing Tool in Agent Studio" section of "Agent Studio - Router Tool (AI & Conditional Router)". This screenshot accompanies step 12 of 12 in the "How To Use the Routing Tool in Agent Studio" section of "Agent Studio - Router Tool (AI & Conditional Router)". At this point in the walkthrough you save, Publish and Deploy the workflow. For context, this section explains: A well-structured Router setup ensures conversations move intelligently based on user intent or defined logic. Follow the steps below to configure both AI-based and rule-based routing inside your agent. This part of the guide covers 1 field, listed below. How to confirmSave, Publish and Deploy the workflow. Fields in this part of the guide Configure the router:Buttons and menus referenced SavePublishDeployAI AgentsAgent StudioCreateNew AgentclickAgent'snameopenAddAll 12 steps in this procedure
- From the left navigation menu, click AI Agents and then select the Agent Studio tab at the top of the page.
- Create a New Agent or click on an existing Agent's name to open it.
- Add a Trigger like Chat Message or Form Submitted, etc.
- Add an AI Agent and configure it.
- From the Flow Control panel on the left, drag the Router node onto the canvas to insert a decision point in your conversation flow.
- Once placed, the Edit Router panel opens on the right, where you can choose the routing mode and begin configuring how the conversation should branch.
- In the Router configuration panel, choose between AI Router and Conditional Router under the “ Router Type ” section. This selection determines whether the routing decision will be based on AI intent detection or rule-based logic.
- Configure the router:
- Connect each route output to the correct destination node in your graph.
- Save your Router settings.
- Test the conversation to confirm each route leads to the correct next step.
- Save, Publish and Deploy the workflow. this image
Example Flow
A practical example makes it easier to see how different Router types work together in one agent. The flow below shows how AI routing, always-on routing, and condition-based routing can support a complete user journey.
Example flow:
The agent asks the user about the silver price and uses Web Search to provide the information.
The agent then asks whether the user wants to invest in silver.
An AI Router evaluates the user’s response:
If the user wants to invest, the flow moves to the next node.
If the user does not want to invest, the flow routes to a thank-you node.
The next node captures the user’s email.
A No Condition route always moves the flow to a confirmation step.
A Single Choice node asks whether the user wants to proceed.
A Conditional Router checks the saved answer:
If the value equals Yes, the flow moves to the proceed path.
If the value equals No, the flow moves to a different outcome.
Best Practices
Strong routing design makes your agent easier to maintain and helps reduce errors during testing. Clear route labels, intentional logic, and realistic test cases make it easier to understand why a user reached a specific path.
Use AI Router when user responses may vary in wording but share the same intent.
Use Conditional Router when the decision depends on a saved value.
Use No Condition when the flow should always continue.
Keep route labels clear so each branch is easy to understand.
Test each route path before publishing your agent.
Link to related setup articles when a route depends on variables or other tools.
Frequently Asked Questions
Q: What is the difference between AI Router and Conditional Router?
AI Router evaluates natural-language intent, while Conditional Router checks a saved value using logic such as variable, operator, and value.
Q: When should I use No Condition?
Use No Condition when the flow should always move to the next connected node without evaluating intent or logic.
Q: Can I use Router inside Sequential Nodes?
Yes. Router can be used inside Sequential Nodes so a linear flow can branch before continuing.
Q: Do I need a variable for AI Router?
No. AI Router uses the user’s natural-language response and the intents you define.
Q: Do I need a variable for Conditional Router?
Yes. Conditional Router works best when the value has already been captured and stored for evaluation.
Q: What happens if no intent or condition matches?
Make sure each route is connected to the correct next node and include a fallback path where needed so the conversation can continue as expected.
Q: What should I do if a route is not going to the expected node?
Review the route configuration, confirm the correct node connections, and test the conversation again to verify the intent or condition is set up correctly.
Related Articles
- Ask AI + Agent Studio Integration
Was this guide helpful?