AI Agents: What are they and how to use them?
What is it?
An AI Agent is an intelligent assistant you add to a flow in Flow Builder. It understands what a customer is asking in natural language and responds using its own instructions, tools, and Knowledge Base sources, so you can automate real conversations instead of scripting every possible path.
There are two kinds of AI Agent, and they work together:
- A Specialist is a focused agent that handles one area of a conversation: shipping, returns, product questions, technical support, and so on.
- A Router understands a customer's request and hands the conversation to the right Specialist.
You can use a Specialist on its own, or place several Specialists behind a Router when a bot needs to cover several different topics.
Who can use it
AI Agents are built and configured in Flow Builder, so they are available to users with Flow Builder access (organization admins). Agents in your support team do not configure them. They benefit when the bot handles or triages conversations automatically.
When to use a Router vs. a standalone Specialist
Use a standalone Specialist when your bot covers a single, well-defined area, for example a bot that only answers shipping questions.
Use a Router with several Specialists when your bot needs to cover multiple distinct areas. The Router reads each incoming request and transfers it to the Specialist best suited to handle it, so each Specialist can stay focused and accurate.
Good to know: A Router's job is to decide who should handle the conversation. The chosen Specialist then does the actual work, using its own instructions, tools, and Knowledge Base sources.
How a routed conversation flows
- The customer sends a message.
- If a Router is in the flow, it analyzes the request and compares it with the descriptions of the available Specialists.
- The Router transfers the conversation to the best-matching Specialist.
- The Specialist handles the conversation using its instructions, tools, and Knowledge sources.
A message is checked in this order: Keywords, then Smart Intents, then AI Agents. If none of them returns a result, the Fallback flow runs. A Specialist looks up the sources you select on its Knowledge tab before it answers. Those sources are not a separate step after the AI Agent.
What you'll configure
Both agent types share a Main tab (instructions, model, verbosity) and a Guardrails tab. Specialists add Tools and Knowledge tabs; Routers add a Specialists tab. Each of these is covered in its own article:
- AI Agents: Route conversations to the right Specialist
- AI Agents: Configure a focused AI Agent
- AI Agents: Set up guardrails
Best practices
- Give each Specialist one clear responsibility, and keep its instructions specific.
- Use a Router when a bot spans several topics; use a standalone Specialist when it does not.
- Keep the two kinds of writing separate: a Router description explains when to transfer; Specialist instructions explain how to help.
- Test requests that could plausibly match more than one Specialist.