Articles in this section

Smart Routing in Agent Studio (AI Router Node)

What is Smart Routing in Agent Studio?

Smart Routing uses the AI Router Node to automatically direct conversations based on what families are asking about. The node analyzes each conversation in real-time and sends it to the right place in your automation—whether that's enrollment questions, tour scheduling, or waitlist inquiries.

This intelligent approach replaces manual conditional routing, making your automated responses more accurate and helpful for families.

Why Use Smart Routing?

Smart Routing makes your automated family communications more effective:

  • Better accuracy: AI understands parent questions and routes them correctly
  • Safe fallback: If the AI can't match an intent, the conversation continues smoothly rather than getting stuck
  • Clear insights: Detailed logs show you why each routing decision was made and how confident the AI was
  • Dynamic routing: Use real-time information like family details or program availability to guide conversations

How the Enhanced Logging Works

When you test your Agent Studio automation, you'll see detailed information about each routing decision. The log shows which intent was detected, why that route was chosen, and how confident the AI was in its decision.

This transparency helps you refine your automation setup and ensure families always get routed to the right information.

[SCREENSHOT: Agent Studio test console showing AI Router Node logs with detected intent, reasoning, and confidence score]

Using Variables in Intent Labels

You can make your routing smarter by including variables in your intent definitions. For example, you might route differently based on whether a family is inquiring about infant care versus preschool programs.

To set this up:

  1. In your AI Agent node, toggle on Extract Runtime Variables
  2. Create your custom variables (like program type, wait time, or family status)
  3. These variables become available in your AI Router Node configuration
[SCREENSHOT: AI Agent node configuration panel with Extract Runtime Variables toggle enabled and sample custom variables]

Setting Up Smart Routing

Here's how to add the AI Router Node to your Agent Studio automation:

  1. Navigate to AI Agents > Agent Studio and open your automation
  2. In the left panel under Flow Control, drag the AI Router Node onto your canvas
  3. Click the node to open its configuration panel
  4. Define the intents you want the AI to recognize (like "tour request," "enrollment inquiry," "waitlist question")
  5. Map each intent to its destination node—where that conversation should go next
  6. If needed, add variables to your intent labels for more dynamic routing
  7. Click Save and run a test to verify the routing works correctly
  8. Check the console log to review the AI's decision-making process
[SCREENSHOT: AI Router Node configuration panel showing intent definitions mapped to destination nodes]
Pro Tip: Start with 3-5 clear intents for your most common family questions. You can always add more as you see what families are asking about in your logs.

Frequently Asked Questions

How does the AI Router Node decide where to send a conversation?

The node uses AI to analyze what the family is asking about based on the intents you've configured. It then directs the conversation to the appropriate destination you've mapped.

What happens if the AI can't match any intent?

The conversation automatically routes back to the source node, which responds according to your configuration. This ensures families always receive a response rather than hitting a dead end.

Can I use family information or program details in my routing logic?

Yes. The AI Router Node supports variables within intent labels, so you can incorporate real-time data like program types, enrollment status, or family preferences into your routing decisions.

Can I see why the AI made specific routing decisions?

Absolutely. The enhanced console logging shows detailed insights including which intent was detected, the reasoning behind the decision, and the confidence score. This helps you understand and improve your automation's performance.

Does this work with my existing Agent Studio automations?

Yes. The AI Router Node integrates seamlessly with your current automations. It's designed as a more intelligent alternative to traditional conditional routing, and you can add it to existing workflows without disruption.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.