Actions & automation
Actions overview
Let the agent check orders, book meetings and manage billing - with verification, confirmation and approval.
Open Build → Actions. Actions let the agent do things for customers instead of only talking. They're available on plans that include actions.
Ways to add actions
The page has these tabs: API actions, Connections & integrations, Approvals, Run log, Verified customers and Buttons & forms.
Safety rules (per action)
| Rule | What it does |
|---|---|
| What it does | Reads or changes something. Read-only actions are switched on when you add them; actions that change data start off. |
| Who can use it | Anyone, or only verified customers (see below). |
| Ask the customer to confirm first | For actions that change something, the agent explains what it will do and runs it only after the customer replies yes. |
| A team member approves each run | The request waits in the chat and under Approvals; your team is alerted, and the customer hears back automatically when you approve or reject it. |
| Keep only these fields | Trims a long answer to the fields that matter, e.g. status, tracking.url. |
| Max runs per chat per hour | Stops loops and abuse. |
| Only inside procedures | The agent can use it only while following a procedure. |
Verified customers
A customer counts as verified when they:
- write from WhatsApp, Messenger, Instagram, Telegram or email (the channel proves who they are);
- are signed in on your website with identity verification;
- type a 6-digit code the agent emails them (valid for 10 minutes), or
- are vouched for by your server through the API's
verified_email.
The verified email is filled into the request as {customer_email} - the AI can't change it. Details of verified contacts can be used too, e.g. {contact.id} or {contact.plan}.
Show results nicely
Choose Show the answer as a widget in an action's settings to display its result as a card, list, table or tracker. See Widgets.
Jobs that take a while (live progress)
Some actions start work that takes minutes: an account update, a report, a refund at the payment provider. If the action answers with a job id (job_id, task_id, operation_id…), pick the action that reports the job's progress under Follow a background job. Then:
- the chat shows a card with the job's steps, which move live on your website (for example Checking → Updating → Done);
- the customer gets a message when the job ends, in their language, on any channel;
- if it fails or runs much longer than expected, the chat goes to your team with the reason;
- the same job started twice in one chat is followed once.
- if the action answers right away that it can't be done (for example
status: "needs_attention"with no job id), the card shows where it stopped and the chat goes straight to your team.
Set While it runs, the chat shows (e.g. Checking {tool}…) to replace the typing dots with a clear line while the action works; the same words title the job card. A job that says how long it needs (eta_seconds) is followed for up to three times that, at most a day.
The progress action's answer can use status (running, success, failed…), steps (a list with label and state) and say or message (a line for the customer). If the starting action accepts a callback_url, the agent passes its own webhook URL so the service can report back instantly; otherwise it checks every few seconds. For MCP servers the two tools are linked automatically when one of them reads a job by its id.
Test and logs
- Test runs an action once and shows the request, answer and time.
- Run log lists every run from chats, flows, approvals and tests, with failure rates per action.