Skip to content
AI Employee

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.

8 min read1,812 words14 explained imagesUpdated Tue, 12 May at 1:57 PM
View as markdownOpen in ClaudeOpen in ChatGPT
Each image has a one line explanation. Switch to full detail for the step it belongs to, the fields and buttons involved, examples and the whole procedure.
On this page
  1. Key Benefits of the Router Tool in Agent Studio
  2. Using AI Router
  3. Using Conditional Router
  4. Using No Condition
  5. Using Router Inside Sequential Nodes
  6. How To Use the Routing Tool in Agent Studio
  7. Example Flow
  8. Best Practices
  9. Frequently Asked Questions
  10. Related Articles

Video 1 Open in a new tab

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?

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.

Using AI Router (image 1 of 14) What this shows In this setup, the Router evaluates the user’s last message and sends the conversation to the matching connected node. What this shows Illustrates the "Using AI Router" section of "Agent Studio - Router Tool (AI & Conditional Router)". This screenshot appears in the "Using AI Router" section of "Agent Studio - Router Tool (AI & Conditional Router)". The text alongside this image reads: In this setup, the Router evaluates the user’s last message and sends the conversation to the matching connected node. This part of the guide covers 2 fields, listed below. Immediately after, the guide continues: 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. Image 1 of 14 What this coversIn this setup, the Router evaluates the user’s last message and sends the conversation to the matching connected node.
Fields in this part of the guide User wants to invest in silverUser does not want to invest in silver
Buttons and menus referenced User wants to invest in silverUser does not want to invest in silver
Next stepConditional 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.
All 3 steps in this procedure
  1. users may respond in different ways that mean the same thing
  2. you want to branch based on interest, sentiment, or conversational intent
  3. 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.

Using Conditional Router (image 2 of 14) What this shows That route can send the user to a proceed path, while another condition can send them to a different node. What this shows Illustrates the "Using Conditional Router" section of "Agent Studio - Router Tool (AI & Conditional Router)". This screenshot appears in the "Using Conditional Router" section of "Agent Studio - Router Tool (AI & Conditional Router)". The text alongside this image reads: That route can send the user to a proceed path, while another condition can send them to a different node. This part of the guide covers 6 fields, listed below. Immediately after, the guide continues: 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. Image 2 of 14 What this coversThat route can send the user to a proceed path, while another condition can send them to a different node.
Fields in this part of the guide VariableOperatorValueVariable: {{runtime.userChoice_eyro}}Operator: equals (EQ)Value: Yes
Buttons and menus referenced VariableOperatorValue
Next stepNo 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.
All 3 steps in this procedure
  1. you already have a saved variable to evaluate
  2. the route depends on a fixed value such as Yes, No, positive, or negative
  3. 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.

Using No Condition (image 3 of 14) What this shows When enabled, the route acts as an always path to the next connected node. What this shows Illustrates the "Using No Condition" section of "Agent Studio - Router Tool (AI & Conditional Router)". This screenshot appears in the "Using No Condition" section of "Agent Studio - Router Tool (AI & Conditional Router)". The text alongside this image reads: When enabled, the route acts as an always path to the next connected node. Immediately after, the guide continues: 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. Image 3 of 14 What this coversWhen enabled, the route acts as an always path to the next connected node. Next stepRouter 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.
All 3 steps in this procedure
  1. the next node should always run after the current one
  2. you want a simple transition between nodes
  3. 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

Using Router Inside Sequential Nodes (image 4 of 14) What this shows a sequence needs a decision point before the next step a user’s answer should redirect them to different outcomes you want to combine… What this shows Illustrates the "Using Router Inside Sequential Nodes" section of "Agent Studio - Router Tool (AI & Conditional Router)". This animation appears in the "Using Router Inside Sequential Nodes" section of "Agent Studio - Router Tool (AI & Conditional Router)". The text alongside this image reads: 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. Immediately after, the guide continues: 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. Image 4 of 14 What this coversa 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 Next stepA 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.
All 3 steps in this procedure
  1. a sequence needs a decision point before the next step
  2. a user’s answer should redirect them to different outcomes
  3. 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.

  1. 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. Step 1 of 12Image 5 of 14 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'snameopenAddTriggerAIAgent
    Next stepCreate a New Agent or click on an existing Agent's name to open it.
    All 12 steps in this procedure
    1. From the left navigation menu, click AI Agents and then select the Agent Studio tab at the top of the page. this image
    2. Create a New Agent or click on an existing Agent's name to open it.
    3. Add a Trigger like Chat Message or Form Submitted, etc.
    4. Add an AI Agent and configure it.
    5. From the Flow Control panel on the left, drag the Router node onto the canvas to insert a decision point in your conversation flow.
    6. 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.
    7. 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.
    8. Configure the router:
    9. Connect each route output to the correct destination node in your graph.
    10. Save your Router settings.
    11. Test the conversation to confirm each route leads to the correct next step.
    12. Save, Publish and Deploy the workflow.
  2. 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. Step 2 of 12Image 6 of 14 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 StudioAddTriggerAIAgent
    Next stepAdd a Trigger like Chat Message or Form Submitted, etc.
    All 12 steps in this procedure
    1. From the left navigation menu, click AI Agents and then select the Agent Studio tab at the top of the page.
    2. Create a New Agent or click on an existing Agent's name to open it. this image
    3. Add a Trigger like Chat Message or Form Submitted, etc.
    4. Add an AI Agent and configure it.
    5. From the Flow Control panel on the left, drag the Router node onto the canvas to insert a decision point in your conversation flow.
    6. 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.
    7. 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.
    8. Configure the router:
    9. Connect each route output to the correct destination node in your graph.
    10. Save your Router settings.
    11. Test the conversation to confirm each route leads to the correct next step.
    12. Save, Publish and Deploy the workflow.
  3. Add a Trigger like Chat Message or Form Submitted, etc.
  4. 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. Step 4 of 12Image 7 of 14 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'snameopenAddTrigger
    Next 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
    1. From the left navigation menu, click AI Agents and then select the Agent Studio tab at the top of the page.
    2. Create a New Agent or click on an existing Agent's name to open it.
    3. Add a Trigger like Chat Message or Form Submitted, etc.
    4. Add an AI Agent and configure it. this image
    5. From the Flow Control panel on the left, drag the Router node onto the canvas to insert a decision point in your conversation flow.
    6. 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.
    7. 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.
    8. Configure the router:
    9. Connect each route output to the correct destination node in your graph.
    10. Save your Router settings.
    11. Test the conversation to confirm each route leads to the correct next step.
    12. Save, Publish and Deploy the workflow.
  5. 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. Step 5 of 12Image 8 of 14 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'snameopenAddTriggerAI
    Next 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
    1. From the left navigation menu, click AI Agents and then select the Agent Studio tab at the top of the page.
    2. Create a New Agent or click on an existing Agent's name to open it.
    3. Add a Trigger like Chat Message or Form Submitted, etc.
    4. Add an AI Agent and configure it.
    5. 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
    6. 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.
    7. 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.
    8. Configure the router:
    9. Connect each route output to the correct destination node in your graph.
    10. Save your Router settings.
    11. Test the conversation to confirm each route leads to the correct next step.
    12. Save, Publish and Deploy the workflow.
  6. 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.
  7. 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. Step 7 of 12Image 9 of 14 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'snameopenAddTrigger
    Next stepConfigure the router:
    All 12 steps in this procedure
    1. From the left navigation menu, click AI Agents and then select the Agent Studio tab at the top of the page.
    2. Create a New Agent or click on an existing Agent's name to open it.
    3. Add a Trigger like Chat Message or Form Submitted, etc.
    4. Add an AI Agent and configure it.
    5. From the Flow Control panel on the left, drag the Router node onto the canvas to insert a decision point in your conversation flow.
    6. 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.
    7. 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
    8. Configure the router:
    9. Connect each route output to the correct destination node in your graph.
    10. Save your Router settings.
    11. Test the conversation to confirm each route leads to the correct next step.
    12. Save, Publish and Deploy the workflow.
  8. 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. Step 1 of 3Image 10 of 14 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'snameopenAddTriggerAI
      Next 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
      1. 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
      2. 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.
      3. 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. Step 2 of 3Image 11 of 14 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's
      Next stepFor No Condition, enable the toggle so the route always continues to the next node.
      All 3 steps in this procedure
      1. 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.
      2. 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
      3. 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. Step 3 of 3Image 12 of 14 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'snameopenAddTriggerAI
      All 3 steps in this procedure
      1. 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.
      2. 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.
      3. For No Condition, enable the toggle so the route always continues to the next node. this image
  9. 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. Step 9 of 12Image 13 of 14 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'sname
    Next stepSave your Router settings.
    All 12 steps in this procedure
    1. From the left navigation menu, click AI Agents and then select the Agent Studio tab at the top of the page.
    2. Create a New Agent or click on an existing Agent's name to open it.
    3. Add a Trigger like Chat Message or Form Submitted, etc.
    4. Add an AI Agent and configure it.
    5. From the Flow Control panel on the left, drag the Router node onto the canvas to insert a decision point in your conversation flow.
    6. 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.
    7. 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.
    8. Configure the router:
    9. Connect each route output to the correct destination node in your graph. this image
    10. Save your Router settings.
    11. Test the conversation to confirm each route leads to the correct next step.
    12. Save, Publish and Deploy the workflow.
  10. Save your Router settings.
  11. Test the conversation to confirm each route leads to the correct next step.
  12. 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. Step 12 of 12Image 14 of 14 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'snameopenAdd
    All 12 steps in this procedure
    1. From the left navigation menu, click AI Agents and then select the Agent Studio tab at the top of the page.
    2. Create a New Agent or click on an existing Agent's name to open it.
    3. Add a Trigger like Chat Message or Form Submitted, etc.
    4. Add an AI Agent and configure it.
    5. From the Flow Control panel on the left, drag the Router node onto the canvas to insert a decision point in your conversation flow.
    6. 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.
    7. 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.
    8. Configure the router:
    9. Connect each route output to the correct destination node in your graph.
    10. Save your Router settings.
    11. Test the conversation to confirm each route leads to the correct next step.
    12. 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:

  1. The agent asks the user about the silver price and uses Web Search to provide the information.

  2. The agent then asks whether the user wants to invest in silver.

  3. 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.

  4. The next node captures the user’s email.

  5. A No Condition route always moves the flow to a confirmation step.

  6. A Single Choice node asks whether the user wants to proceed.

  7. 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.

Example Flow (video 2) Open in a new tab

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.

Q: Does the Router add extra AI message cost?
Only AI Router executions count toward your LLM billing. Conditional and No-Condition modes are free.
Q: What happens if no intent or condition matches?
The flow follows the “Default” edge. If none is connected, the conversation ends with an error log entry.
Q: Can I mix AI and Conditional routing in one node?
One Router node supports one mode at a time, but you can chain multiple Routers back-to-back.
Q: Is intent training required?
No. The LLM classifies on-the-fly from your intent names and the current conversation context.
Q: How do I debug misplaced routes?
Open the Execution Log → Routing tab to see the detected intent, reasoning, and confidence or the evaluated condition string.
Q: Will the floating panel replace all pop-ups in Agent Studio?
Yes, future node types will use the same non-modal panel to keep the canvas visible.

Was this guide helpful?

Related guides