AI Agents & Webhooks
Two ways to connect your own systems to Autoura:
- AI agents — give your own AI agent (or any program you run) a seat in your company. It reads your leads, quotes, bookings and messages through the Autoura API and, with the permissions you choose, adds leads and notes, drafts replies, moves bookings on and records payments. A person still sends every message.
- Webhooks — Autoura tells your system the moment something happens: a new lead, a quote, a booking, a payment, a message in or out, a supplier's answer.
Both are in Settings › Messaging, for admins. AI agents are switched on for each company by the Autoura team; ask us if the page says they are not on yet.
Adding an Agent
- Open Settings › Messaging › AI agents and click Add agent.
- Give it a Name (it is shown on everything the agent does) and, if you like, What it does.
- Pick a ready-made set under Start from a ready-made set, or tick the Permissions one by one.
- Click Add agent. Its token is shown once: Copy it into your agent now. It will not be shown again.
Your agent sends the token with every call, as Authorization: Bearer aut_agent_…. A token lasts 90 days; make a new one with New token before then. A new token keeps the agent's current permissions.
Each company has two agents, free. They do not use your plan's user seats, they never appear in Team & roles, and they cannot sign in to the app. They work only through the API, and only for your company.
Screenshot: Settings › AI agents: the Add agent form with its Name, the ready-made sets and the permission list
The Ready-made Sets
| Set | What the agent does |
|---|---|
| Customer Experience | Follows leads, quotes and conversations; adds leads and notes; drafts replies for a person to send; works the tasks given to it. Sees selling prices, never costs. |
| Tour Operations | Follows bookings and moves their service lines on — requested, accepted, done — as an operator would. Works the tasks given to it. |
| Finance (read) | Reads bookings, payments, each trip's profit and loss, what you owe suppliers, and costs and margins. Changes nothing. |
A set is only a starting point: untick what the agent does not need. Give each agent the fewest permissions that do its job.
Permissions
Reading
- Read leads — name, stage, source and dates, without contact details. Read clients adds email, phone and WhatsApp.
- Read quotes, Read bookings and Read payments — status, dates, travellers, amounts paid and due, at selling prices.
- See costs and margins — adds net cost, margin and the cost breakdown to quotes and bookings. Off in every set except Finance.
- Read tours and sell prices — your tours with their approved public prices, scheduled departures and the extras catalogue.
- Read finance — each trip's profit and loss and your supplier payables, the same figures as the app's own reports.
- Read messages — WhatsApp and email conversations and their messages.
- Read its tasks — its own tasks only: the ones assigned to it, and the unassigned tasks of a seat it holds (Settings › Seats). Never anyone else's.
- Read events — catch up on what happened since the agent last looked: the same events webhooks send.
Changing
| Permission | What the agent may do |
|---|---|
| Draft replies | Put a reply in the Copilot queue. A person approves, edits or rejects it, and sends it (see below). |
| Change leads | Create a lead, add an internal note to any client, and move a client between Lead, Active and Inactive — never to or from Blocked. A lead whose email or phone already belongs to a client is refused, and the agent is told which client it is. |
| Edit client details | Contact details and preferences only. Not notes, passports, dates of birth, VIP status or consent. |
| Close quotes | Mark a quote expired or rejected. Sending and accepting a quote stay with people. |
| Make draft quotes | Price one of your tours for a group and date with your own rates — the same pricing as the B2B Calculator — and save it as a draft quote. The margin is always yours (your default, or the partner's own); the agent cannot set it. A price with a service that has no rate is not saved unless the agent says to keep it for a person to finish. The quote shows Drafted by <agent name> (AI agent) in Quotes; a person checks it and sends it. |
| Propose sending quotes | Ask for a quote to be sent to its client or partner, by email or WhatsApp. It waits in Approvals until a person approves it (see below). |
| Propose supplier requests | Ask for a booking's supplier to be asked to confirm a service (or reminded), by email or WhatsApp. It waits in Approvals. |
| Run operations | Move a booking's service lines on, following the same steps the app allows an operator. |
| Record payments | Record a payment against a booking, in the booking's currency. A payment larger than the balance is refused, as it is for people. |
| Work its tasks | Move its own tasks to In progress and Done (never back), add a note signed with its name, tick checklist rows, and attach what it produced — a quote, a booking, a proposal. It cannot rename, re-date, reassign, create or delete a task. Taking an unassigned task of its seat makes it the agent's. A proposal it makes can say which task it is for. |
To change an agent's permissions, click Permissions on its card, tick or untick, and Save permissions. You are shown what is added and removed before it is saved. Every live token of the agent takes the new permissions from its next call; revoked and expired tokens keep what they had. An agent with no live token has no Permissions button: click New token and choose the permissions for the new token there.
Agent Drafts in Copilot
A reply drafted by an agent waits in the Copilot review queue, alongside Copilot's own drafts. It is headed Agent draft reply and carries a Drafted by <agent name> badge. Review it exactly as you would a Copilot draft: edit, Reject, Approve or Send.
The draft goes on the conversation's WhatsApp thread when it has one, otherwise on its email. The agent can only draft where the client has written to you.
Screenshot: The Copilot review panel with an agent's draft: the Agent draft reply heading and the Drafted by badge
Approvals
An agent with a Propose permission can ask for a quote to be sent or a supplier to be asked. Nothing goes out: the proposal waits on the Approvals page (under Communicate, next to Copilot). The sidebar shows how many are waiting, and the bell tells your team when one arrives. Agents' reply drafts are listed there too, with a link to Copilot.
Each proposal shows what would be sent, to whom (always the client, partner or supplier on file — an agent cannot choose), the price, and the agent's note. You can:
- Approve and send — the app sends exactly that, as you, the same way the Send button does. You may switch between email and WhatsApp first; that is the only change. A quote with services that have no price needs Send anyway, as it does on the quote.
- Approve — open WhatsApp for a supplier: the message opens in your own WhatsApp, ready to send. Press send there, then Mark sent, and the service line becomes Requested.
- Reject, with a note the agent can read.
Only someone who could do it themselves can approve it: any staff member for a client quote, a manager or admin for a partner quote or a supplier request. If the quote or line changed after the agent proposed it — a new price, another address, a supplier already answered — nothing is sent and the proposal is marked Failed; the agent can propose again. A proposal nobody answers expires after 7 days. History shows every decision, by whom and when.
Screenshot: The Approvals page: a proposal to send a quote, with its price, recipient, the agent's note, and Approve and Reject
Running Agents in Autoura
You don't need to run the agent yourself. Autoura can run it for you on the tasks of the seat it holds (see Tasks and Seats in Team & Settings). Its runs use the agent's own permissions, through the same checks as a token.
- On Settings › Messaging › AI agents, click Switch on under Run agents in Autoura. This is the company switch: switching it off stops every run at once.
- On the agent, tick Runs in Autoura and write its Instructions in your own words: which suppliers come first, the tone to use, what to leave for a person. Set Most runs a day (30 by default).
- Give the agent a seat in Settings › Seats. Choose who hears about it when the agent hands a task back; with nobody chosen, your owners and admins do.
When it runs. When a task lands on the agent, Autoura starts it within about a minute. It looks again once a day while the task is open, and sooner when someone approves or rejects something it proposed for the task. You can also click Run now on the task. Incoming messages don't start it.
What it does. It reads the task and what it links to, then works it with its permissions: drafts quotes and replies, proposes quote sends and supplier requests for Approvals, ticks checklist rows, and leaves a signed note. When the task is really finished it marks it done and attaches what it made. If it can't go on (a missing rate, a question only a person can answer), it hands the task back: the task shows Needs a person and the bell rings. A run stops after 15 steps.
Seeing what it did. Runs on the agent lists each run: when, which task, why it started, how it ended, its steps and the AI tokens it used. The company's use this month, and its monthly allowance, show under Run agents in Autoura; runs stop when the allowance is used.
What Keeps It Safe
- It never sends and never deletes. No permission lets an agent message a client, send a quote or delete anything. It can only propose; a person approves in Approvals.
- Never its own price. A quote an agent makes is priced by your rates and your margin; the agent picks the tour, the group, the date and the options, never the price.
- Only what you ticked. Every call is checked against the token's permissions, and the database itself refuses an agent's change unless that check passed. Recording a payment and moving service lines on are checked again as manager-level actions, as they are for people.
- Only your company. An agent cannot see or change another company's data.
- Everything is signed. Leads, notes, drafts and quotes an agent makes carry its name, and every call it makes — read or change — is listed under Activity, with the permission it used, the result and the records it touched. Activity is kept for 90 days.
- No double changes. Every change the agent asks for carries a unique key. If it retries after a timeout, it gets the first answer back and nothing happens twice.
- All or nothing. A change that is refused leaves nothing half-done.
- Limits. 120 calls a minute, and 300 changes an hour, per token. Runs in Autoura: 15 steps a run, a daily number of runs per agent, three at a time, and a monthly AI allowance for the company.
Stopping an Agent
- Revoke a token — that token stops working at once; the agent keeps its others
- Suspend — every token stops until you click Resume
- Remove — its tokens stop working at once and its seat is freed. It moves to Removed agents, where its Activity can still be opened for 90 days. What it created stays, and its notes and drafts keep its name
Webhooks
Settings › Messaging › Webhooks (admins). Click Add endpoint, enter your system's address (https), and tick the events it wants:
- Leads — New lead, Lead became a customer
- Quotes — Quote created, sent, viewed, accepted, rejected or expired
- Bookings — Booking created, confirmed or cancelled
- Payments — Payment recorded, Invoice paid
- Trips — Shared trip opened (a client opened the trip link you sent)
- Messages — Message received, Message sent (WhatsApp and email; old mail brought in when a mailbox is first connected is not an event)
- Operations — Service line changed, Supplier replied (through its link, WhatsApp or email), Supplier missed its deadline, Supplier document made (voucher, service order, guide assignment)
- Finance — Expense recorded
- Approvals — Agent proposed an action, Proposal decided
- Tasks — Task assigned (to a person, an AI agent or a seat), Task completed
Each event reaches your address within a few seconds as a signed POST carrying ids and status only — never client details. Your system reads the details through the API with an agent token. The signing secret is shown once when you add the endpoint; your system uses it to check the X-Autoura-Signature header.
- Send test event — checks the address now and shows the answer and how long it took
- Deliveries — each event, its attempts and result; a failed one is tried again for about two days, and Resend sends it again by hand
- Pause / Resume — events wait while paused and are sent when you resume
- Switched off — failing — an address that keeps failing is switched off; fix it and click Turn back on
- Rotate secret — a new secret, with the old one still accepted for 24 hours
Screenshot: Settings › Webhooks: an endpoint with its events, the Send test event button and its recent deliveries
For Whoever Builds the Agent
- The API is at
/api/v1on your Autoura address.GET /api/v1/meanswers with the agent's company and permissions — a good first call. - Lists come in pages of up to 100, newest first, with a cursor for the next page.
- Every change is a
POSTorPATCHwith a JSON body and anIdempotency-Keyheader, unique for each change you mean to make. Send the same key again and you get the first answer, markedIdempotent-Replayed: true. - A refusal says why, with a code:
missing_scope(the permission was not given),not_found,invalid,already_a_client,rate_limited,write_limitedand so on. - The full reference — every endpoint, field and answer — is available from the Autoura team.