AI agents

Set up an AI agent from a template, tell it who it is and when to hand over, choose its tools, test it, and turn it on for your inboxes.

An AI agent answers your customers in your words. You tell it who it is and what your business does, give it knowledge, skills for common situations and tools for the actions it may take, and it replies on the conversations you let it handle, handing over to a person when it should.

Before you start

AI agents live under Settings β€Ί AI Agents (1), and only admins can manage them. The AI group of the settings menu also holds AI Knowledge and AI credits. Each agent is a card (4) with its model, a short description, how many conversations it handles, how many inboxes use it as their default, the replies waiting for review and icons for its tools.

Settings, AI Agents page: (1) AI Agents in the settings menu, (2) the API Keys button, (3) the New Agent button, (4) an agent card

An agent needs a key for its model provider before it can reply. Click API Keys (2) to open Provider API Keys.

Each provider shows its status, either Key set, Using platform key or No key, next to a box where you can paste your own key. In the dialog, (1) is Gemini and (2) is OpenAI. If you leave the box empty, agents use the platform key when one is configured. With no key of your own and no platform key, the agent can't reply.

Provider API Keys dialog: (1) Gemini with its Using platform key status and a Paste API key box, (2) OpenAI with the same

Create an agent

  1. Go to Settings β€Ί AI Agents and click New Agent ((3) in the first screenshot).

  2. Choose an agent template opens. Pick an industry (1) and a template (3), or Start from a blank agent. The right side shows what the template does, the tools it turns on and its instructions. Instructions language (2) sets the language they are written in.

  3. Click Use this template (4). Fill in your business details when asked: the name, address, hours and hotline replace the [bracketed] blanks. A blank you skip stays bracketed, so you can fill it in later.

Choose an agent template: (1) the industries, (2) Instructions language, (3) a template card, (4) Use this template

The editor lists its sections on the left, grouped as Identity, What the AI knows, What the AI can do and Improve. In General (1):

  1. Pick an Avatar. Click Change image to upload your own, or choose a preset. Then give the agent a Name (2).

  2. Optionally, choose services under Default for services (3). Picking a service turns on its AI auto-reply and makes this agent the one that answers there, in place of the agent set before.

  3. Choose a Provider and a Model, and set the Tone (4): Professional, Informative or Friendly. Each provider offers a short list of models, and Custom… lets you type a model id yourself. A model that needs your own API key says so, and replies run on the platform's model until you add one.

  4. Optionally, add a Description: a line for your teammates about what the agent is for. The AI never reads it.

  5. Advanced (5) holds the model settings: Temperature (0–2, lower is steadier), Max tokens (the length limit of one reply), Suggestion count (how many reply suggestions your team is offered, 1–5) and the option to split a reply into several short messages, the way a person would type.

  6. Click Save.

The General section of the agent editor: (1) the editor sections with General selected, (2) Avatar and Name, (3) Default for services, (4) Provider, Model and Tone, (5) Advanced

Under the sections, a Readiness card tracks what's still missing. The panel on the right has three tabs:

  • Copilot drafts the instructions, skills and tools from a description of your business. You review every change, and nothing is saved until you click Save.

  • Test lets you chat with the agent before it goes live, as described below.

  • Lookup shows what the agent would find in its knowledge for a question, in each inbox it answers.

Guide what it says

The Instructions section applies to every reply. It has three boxes, each with suggestions you can click to add a line:

  • Who is the AI, and who does it work for? (1) is the main instruction block and does most of the work. Introduce the agent like a new hire: its role, what your business does, how it should talk and what it must never do. Click a suggestion such as Name and role (4) to add a line.

  • What should the AI ask the customer? (2) lists the details it needs before it answers or closes something, one question at a time.

  • When should a person take over? (3) says when to stop answering and pass the conversation on, one situation per line and who takes it. For example, orders go to another AI agent, a customer who agrees to a demo starts a demo flow, and refunds go to a named person.

In every box, type @ to mention a person, or # to mention a flow, another AI agent or the SLA router. A mentioned flow runs only when the Start a flow tool is on, and handover rules apply only when Hand over is on. The box warns you when the tool it needs is off.

The Instructions section: (1) Who is the AI, and who does it work for?, (2) What should the AI ask the customer?, (3) When should a person take over?, (4) the suggestions to add a line

For situations that need their own steps, such as refunds or bookings, add a skill instead of making the instructions longer. See Teach your AI agent how to handle each situation with skills.

Choose what the agent may do

What the agent may do besides replying lives in Tools, under What the AI can do: hand over, start a flow, search knowledge, save customer details, send canned responses, move the stage, set labels, take orders with Commerce and send a booking form. Each tool has its own limits, for example the fields the AI may fill in or the stages it may move a customer to. See Choose what your AI agent can do with tools.

New agents start with every built-in tool on except Move the stage and Set labels, which wait until you pick the stages or labels the AI may use.

Files customers send

The AI reads the files a customer sends, so it can answer from them, for example the ID number on a scanned card or the dates on a booking.

  • PDF: each PDF a customer sends is read once and summarised for the AI, up to 10 MB, the first 18 pages and 3 PDFs per reply. The summary shows under the attachment in the inbox (Show summary).

  • Word (.docx), PDF and images: when the summary isn't enough, the AI can open the file again to look up a specific answer, up to about 30 pages of a Word file and 2 look-ups per reply. Pages past the first 18 of a PDF can be reached this way too.

  • Old Word files (.doc) and spreadsheets aren't read. Files your team or the AI sent are never read.

To keep a customer's file on their record, turn on the Save customer details tool and create a File or Files custom field (see Custom fields on prospects). The AI can then attach a file the customer sent in this conversation, for example the scan of their ID. A Files field keeps several files and skips duplicates. Limit which fields it may fill in in that tool's settings.

Reading files costs AI credits: about 1 credit per 6 pages read. Image descriptions are free. See it under Settings β€Ί AI credits as Document reading.

Handover to a human

When the agent hands over, the conversation is marked as needing a person. If the handover rule names someone, the conversation is assigned to them and they get the usual assignment notification. If someone already owns the conversation, the handover changes nothing and that person keeps it.

The handover is written into the thread as a system entry, so your team can see that the AI stepped aside and why.

Let the SLA router pick the person

Instead of naming one person in a handover rule, you can hand the conversation to the inbox's SLA router. The router then chooses who gets it by its own rules, such as working hours or team load.

In the AI agent

Open the agent's Instructions. In When should a person take over? ((3) in the Instructions screenshot above), write the situation, type # and pick SLA router, for example Outside business hours β†’ SLA router. Check that the Hand over tool is on, then click Save.

In the router

  1. Go to Routers, find the inbox's service and click Manage SLA. Under SLA Flows, click New router, give it a name and click Create.

  2. Click the Trigger (1) block, open Event (2) and choose Handed to router by AI agent (3).

  3. Add the steps that choose who gets the conversation, then click Publish.

SLA flow editor for the router After-hours AI handover: (1) the Trigger block, (2) the Event field in the node config panel, (3) Handed to router by AI agent in the event list

The conversation's timeline shows that the AI handed over to the router and who received the conversation. If no published router uses this trigger, the conversation stays unassigned and the timeline says No SLA router picked this up. For more on routers, see Routers and SLA overview.

The AI knows which ad or link the customer came from

When a customer starts chatting from an ad or a tracked link, the AI agent reads where they came from before it replies: the ad's title, headline and text, the campaign, UTM tags, the landing page and any lead form answers. A customer who clicks an ad for a discount and writes "is this still on?" gets an answer about that offer, without being asked what they mean.

There's nothing to switch on. The AI reads what you see in the Source (1) section of the conversation's right-hand panel in the inbox, so check there when a reply seems to miss the offer.

Source section of a conversation: (1) the source, medium, campaign, term, landing page and referrer the customer arrived with

The AI uses this to understand what the customer is interested in. It doesn't read the details back to the customer or mention tracking. To set up ads that open a chat, see Chat ads.

Turn the AI on for an inbox

An agent does nothing until an inbox uses it. Go to Settings β€Ί Services, open a service and choose AI Agent (1). Under Behaviour:

Setting

What it does

Enable AI auto-reply (2)

The AI replies automatically in this inbox, and each conversation can still turn it off for itself. Turned off, the AI replies in no conversation of the inbox, even where it is on for the conversation. Turning it back on resumes those conversations.

When a human replies (3)

What the AI does when someone on your team replies by hand. See the options below.

When assigned to a human agent (5)

What the AI does once a person owns the conversation: Keep replying, Stop the AI, or Only update fields (no reply).

Let the AI see who the conversation is assigned to

When off, the AI knows the conversation is assigned but never to whom, so it can't reveal who is handling the customer.

Include prior conversation history

When off, the AI starts fresh after a closed conversation is reopened.

Service settings for Sales, AI Agent tab: (1) the AI Agent tab, (2) Enable AI auto-reply, (3) When a human replies set to Pause for a while, (4) Pause length of 30 minutes, (5) When assigned to a human agent

Default agent, further down, is the agent used when a conversation has no agent of its own. Confirm agent coverage, below it, checks that the people your handover rules mention can be assigned in this service.

When a human replies

Option

What happens when an agent replies

Keep replying

The AI keeps answering alongside the agent. This is the default for a new service.

Pause for a while

The AI stays quiet for the Pause length (4), 30 minutes by default and up to 24 hours (1,440 minutes), then comes back on its own. Each new agent reply restarts the timer, and the conversation is not assigned to the agent.

Turn AI off for the conversation

The AI stops for that conversation, and the conversation is assigned to the agent who replied if nobody owns it yet.

When a pause ends, the AI answers the customer's last message if it is still unanswered; otherwise it waits for the next one. It can come back up to about a minute after the pause ends. If When assigned to a human agent is set to stop the AI, an assigned conversation stays silent after the pause.

While paused, the conversation's AI box reads Paused until and a time, and the timeline notes when the pause starts and ends. To end it early, choose Resume AI now in the AI box; the AI then answers the last message if it is still unanswered. Resuming needs the conversation's AI agent permission (by default, the conversation owner). See Roles and permissions.

On a single conversation, the assignment panel turns the AI on or off and can pick a different agent for that thread only. A flow can do the same with its Edit AI Agent block, but the AI only replies while Enable AI auto-reply is on for the inbox. While a flow is running, the AI is paused by default. See Triggers and sessions.

Suggestions for your team

Even where the AI doesn't reply by itself, it can help the person who does. When a conversation has an active agent, the composer offers AI Suggestions: a short list of draft replies to click and send, with Regenerate to ask again. Cards marked Suggested action are advice for your teammate, not text to send, so they can't be inserted.

Test the agent before you use it

  1. In the agent editor, switch the right-hand panel to Test (1). Chips show whether you're testing the Saved version or an Unsaved draft, and the model in use (2).

  2. Type as the customer in the message box (5). The agent answers with the settings you're editing, including its skills and tools. Each action it takes shows as a card (3), such as Searched the knowledge base, and the reply names the tools it used.

  3. Rate the reply with Good or Poor (4). Poor ratings go to the agent's Feedback section, where you can turn them into fixes. See Rate AI replies and fix what went wrong.

  4. Click Clear (6) to start a new test chat.

Tests never reach real chats, and they skip time and condition limits, so a skill or tool limited to working hours still runs in a test.

The agent editor with the Test tab: (1) Test, (2) Saved version and the model, (3) the action cards, (4) Good and Poor, (5) the message box, (6) Clear

Keep the agent improving

The Improve group of the editor helps you find what to change:

Good to know

  • Only admins can manage AI agents, their skills, tools and limits.

  • Handing over to the SLA router only reaches the router of the service the conversation belongs to.

  • The SLA router handover and the ad source apply to the AI agent answering in the inbox, not to the AI reply step inside a flow. That flow step has its own Update Lifecycle option for stages.

  • Ad details reach the AI from Messenger and Instagram ads and links, Click-to-WhatsApp ads, Meta lead forms, and LiveChat visits with UTM tags. For Meta ads, the AI sees the ad's creative title, which can differ from the ad name you set in Ads Manager.

  • To connect a bot you built yourself instead, see Connect your own bot as an external AI agent.

  • Filing attachments into fields and opening a file again apply to the AI agent answering in the inbox, not to the AI reply step inside a flow.