AI agent: let a bot answer questions
The AI agent answers chats as one of your bots. It never writes its own text: your model only chooses which of your approved replies fits, and the customer sees the reply exactly as you wrote it. When no reply fits, it hands the chat to a person.
Automate -> AI agent
The AI agent needs the permission to change the AI model settings, which owners, vice owners and admins have (see Roles and permissions). It also needs your own model: until one is connected, the page shows Connect your own model, which opens AI model.

Before you start
Section titled “Before you start”- Connect your model in AI model.
- Create a bot in Team -> Chatbots. The AI agent answers as that bot.
- Add the bot to the groups whose chats it should answer. The bot gets chats through routing like any agent, by its priority in each group.
Set up the AI agent
Section titled “Set up the AI agent”- In Answers as, pick the bot. If you have none yet, the page links to Team -> Chatbots.
- Under Hand over to, tick the groups that take a chat the AI agent hands over. With none ticked, the chat goes to its own groups.
- Set the Default language, used when the customer’s language has no text.
- Optionally write How to pick a reply: your own rules for choosing, for example which questions always go to a person. Leave it empty for the built-in rules.
- Write the Welcome message, sent once when a chat reaches the bot, and the Handover message, told to the customer as the chat goes to a person. Click Add text for the first language, and Add a language for more.
- Set the Limits (below).
- Add the replies (below).
- Switch on the AI agent with the switch next to Answer chats with your AI agent. It can be switched on only once a bot is picked.
- Click Save changes in the bar at the bottom.
Add a reply
Section titled “Add a reply”- Click Add reply.
- Enter a Code, a stable handle such as
order_status(lowercase letters, digits and_). - Under When to use it, describe in plain words what the reply is for. This is all your model reads; it never sees the reply text.
- Under Reply text, write the text for each language. Add a wording adds up to 8 wordings
per language, picked at random when sent.
{{random:N}}inserts N random digits; nothing else is filled in. - Optionally fill in:
- Needs these facts first - facts the reply presumes, such as
order_number. A missing one is asked for first, or a person takes over. - Asks the customer for - facts this reply asks for, such as
email. - Most times per visit - leave empty for once, 0 for no limit.
- Needs these facts first - facts the reply presumes, such as
- Tick what kind of reply it is, if any:
- Hands the chat to a person - after it is sent, the chat goes to a person.
- Comfort line - a calming line for an upset customer.
- Asks them to wait - a holding reply.
- Click Save reply, then Save changes at the bottom of the page.
The Replies table lists every reply with its code, what it is for and its kind. Switch a reply off in the On column, or edit or delete it from its menu.
Limits
Section titled “Limits”- Customer turns before a person takes over (0: no limit) - how many customer messages the AI agent answers before it hands over.
- Comfort lines per visit and Wait messages per visit - how many comfort lines and holding replies one visit can get, in total.
Test it
Section titled “Test it”The Test panel on the right runs your unsaved settings against a sample conversation and sends nothing.
- Type a Customer message and click Send test message.
- Read what the AI agent would do: send a reply (with its code), send the welcome, ask for a missing fact, stay quiet, or hand over to a person. If the model fails, the error is shown.
- Keep writing to continue the conversation, or click Start over.
Related
Section titled “Related”- Knowledge hub - what your AI reads before it picks a reply.
- AI model - connect the model and switch AI features on or off.
- Workflows can hand a chat to the AI agent with Run your AI.