The inbox agent
How the Customer Inbox's agent answers customers from your notes, hands money and complaints to a person, practises with you before it goes live, learns from your fixes, and reports what it did.
The Customer Inbox's agent reads each new customer message and does one of three things: it answers from your organisation's notes, it hands the conversation to a person, or it leaves the message alone. It never guesses. This page is the reference for how it decides and what it reports. For the step-by-step, see getting started, practise and teach it and going live.
An organisation that has not set the agent up keeps Support's automatic replies exactly as they were.
One kind of agent
The inbox agent is an agent like any other in Agents. It is shared with the organisation and attached to the default inbox. You find it in Agents under Shared with the organisation, and in Support under Inboxes, Who answers here.
- Its name on this page and its name in Agents are the same name. Change it in either place.
- Owners and admins can change it in Agents. It belongs to the organisation, not to a member, so it stays when people leave. It cannot be made private or deleted.
- Everything on this page still works the same way: on or off, live, how careful, hours, the wait, the pause, who it hands over to, and the daily AI limit. These are the default inbox's rules.
- Show me every reply means the agent drafts. The other two settings mean it answers.
You can detach it and attach another shared agent, or attach a second agent for one channel. Whichever agent is attached, it runs the same loop described below: it answers only from notes, and it hands over what the rules say. An agent's own instructions only change how it sounds.
If you detach every agent from the default inbox, no agent answers there. Nothing is drafted and nothing sends.
To build another agent for an inbox, pick Front desk under New agent in Agents. Owners and admins see it. The agent it makes is shared with the organisation from the start.
How it decides
For each customer message the agent can look through your notes, read the customer's card, offer booking times, move the enquiry in Funnel, reply, hand over or stay quiet. Those are the only things it can do.
- It answers only from your notes. A reply goes out only when your notes cover the question and the reply points at the note it used. Otherwise it stays quiet and the message waits for a person. It reads your organisation's shared notes, whether or not Notes is shown in your plan.
- Money and complaints always go to a person. Refunds, double charges, payments and complaints are handed over whatever the notes say.
- It steps back, for a while. When someone on your team replies, it waits 30 minutes after their last message
before it answers the customer again. You can make that 2 hours, 12 hours or until someone gives it back
(When a person replies, the agent waits, in the inbox's rules). When the customer asks for a person, or it hands
the conversation over itself, it stops answering that conversation and tags it
needs-personuntil someone gives it back, closes it, or 12 hours pass after the last reply from a person. It then sends one short message saying a person will reply. You can turn that message off on the agent's page (Tell the customer a person will reply). It only sends the message when it could send by itself at that moment (see When it stays out). - Stop means stop. A customer who writes "stop" (or "unsubscribe", "do not contact me"), or whom someone marked do not contact on their card in Customers, gets nothing more from it, not even a reply to the stop. A person can still answer them.
- Bots can follow along. When it hands a conversation over, or stays quiet because nothing covers the question, a bot that listens to Support's events is told (Bots). Practice never tells a bot anything.
- It runs on the gears you already have. There is no model to choose for it. It uses your organisation's default gear, or your first gear when no default is set. An organisation with no gears of its own, such as one that started from the try page, runs on the first built-in gear that can run now. If no gear can run, it stays silent and a person answers.
- Your limits still hold. The daily AI spending limit, the limits per customer and per day, how careful it is, the wait before a reply goes, its opening hours and a pause all apply. Turning it off stops all sending at once: replies waiting to go stay as drafts for a person.
Every decision is recorded once, with the notes it used and why, but never the customer's message text. Practice and the reports read these records.
When it stays out
The agent never stays quiet without saying why. Each time it doesn't answer a customer's message, the thread shows a small line under that message, for example "Front desk stayed out: a person replied 5 minutes ago; Front desk answers again from 4:35 PM". The conversation shows Front desk stayed out in the list and counts under Needs you, and the header pill counts them ("5 sent today · 0 held · 2 stayed out"). Results lists how often it stayed out for each reason, with a link to the latest conversation.
It stays out of a conversation when:
| Reason | Until |
|---|---|
| It handed the conversation to a person (money, a complaint, the customer asked for a person, or it judged a person should answer) | Someone presses Give it back, the conversation is closed, or 12 hours pass after the hand-over and the last reply from a person, and the customer writes again |
| Someone on your team replied, or the assignee wrote in it, or a member has a draft in it | 30 minutes after that person's last message (or 2 hours, 12 hours, or until given back: When a person replies, the agent waits), or Give it back. If the customer's newest message is still unanswered when the wait ends, the agent answers it within a minute, once |
| The customer reached their limit of automatic replies (100 in 12 hours unless you changed it), counted across all their conversations: the same person in People, or the same email or number | Give it back, or the 12 hours roll on. Reaching the limit hands the conversation to a person, with the one short message to the customer |
| The inbox's daily limit, the daily AI spending limit, a pause, a customer who said stop, no model that can run | The limit resets, the pause ends, or a person answers |
Give it back is on the thread's line under the newest message, on the note above the thread and on the conversation
in the list. It ends the hand-over, removes needs-person, starts the customer's limit again from zero for this conversation and adds a
note saying who gave it back. If the customer's newest message has no answer yet, the agent answers it right away.
Greetings and thanks get their stored reply under the same rules: a conversation a person holds gets no stored reply
either, and the thread says so.
Replies left
In a conversation where an agent answers, a bar under the title shows how many AI replies it has left, for example "AI replies left: 73 of 100 · resets 9:41 PM". It shows the limit that is closest to running out:
| Limit | Counts | Frees up |
|---|---|---|
| This customer | The customer's automatic replies in the last 12 hours (since the last Give it back), across their conversations | 12 hours after the oldest one went out |
| Whole inbox | The inbox's automatic replies today | At midnight UTC |
| AI spend | Support's daily AI spending limit on AI spend, in dollars | At midnight UTC |
| This inbox's AI spend | The inbox's own daily AI spending limit, when it has one | At midnight UTC |
The bar turns amber at 80 percent. At 100 percent it turns red and says the agent hands the conversation to a person. Tap the bar to see every limit with how much is used and when the next reply frees up. It uses the same counts the agent checks before it answers, so the bar and the agent never disagree, and it updates when the thread does. It is not shown in practice chats, or where no agent answers (replies off, or a channel the agent does not take).
Booking times
When your organisation has a public booking page in Calendar, the agent can offer two or three free times
with a link that is good for one booking. When the customer books through that link, the conversation is tagged
booked and the enquiry moves to Booked. Without a booking page the agent cannot offer times.
Stored replies
A message that is only a greeting, a thanks or a goodbye gets a stored reply straight away, with no AI call and no AI
cost. Examples are "hi", "Hello!", "Hey there", Telegram's /start, "good morning", "thanks", "ok", "bye", a 👋 or a 👍,
and the same words in Indonesian, Chinese, Cantonese, Japanese and Korean. Case, punctuation, emoji and stretched letters
("hiiii!!") don't matter. If a message has any other word in it, the model handles it as usual. "hi, what time do you
open?" is a question, not a greeting. An "ok" right after the agent asked something is treated as an answer, so the
model handles that too.
There are three stored replies: greetings, thanks (okays included) and goodbyes. Each one is on by default and has a default text in the customer's language, with the agent's name:
| Kind | Default (English) |
|---|---|
| Greetings | Hi! I'm {name}. How can I help you today? |
| Thanks and okays | You're welcome! Is there anything else I can help with? |
| Goodbyes | Thanks for getting in touch. Have a good day! |
Owners and admins can change them on the agent's page in Agents (Settings, Stored replies) or with
agents_bot_update (stored_replies). You can write your own text for each kind ({name} becomes the agent's name),
or switch a kind off so those messages go to the model like any other. Each kind can also carry up to 3 quick replies
("See the menu", "Book a table"): see Buttons, lists and files.
A stored reply follows the same rules as any answer. It doesn't go out after someone on your team has replied, after a
hand-over, to a customer marked do not contact, or while the agent is paused. When every reply is shown first, or
outside its hours, it waits as a draft for a person. There's no review wait, because the text is yours. The same kind
is never sent twice in a row, so "hi", greeting, "hi" gets one greeting. Stored replies don't count against the limits
per customer and per day, which are for AI answers. In the thread they're marked Stored reply. In Results
they count as answers, and they add $0 to the AI spend on /spend.
How fast it answers
The agent starts on a message as soon as it arrives:
- Stored replies go out at once, without a model call.
- The customer sees it typing. On Telegram the chat shows "typing…" (repeated every 4 seconds while the agent works). On WhatsApp the message is marked read and the typing indicator shows. In the web chat a typing bubble appears. Email and SMS show nothing. This goes through the same provider that carries the reply.
- An answer with no wait goes out from the same run. With Send right away (or a wait of 0 minutes), the reply is sent as soon as the agent has written it. It doesn't wait for the next minute's sweep. A wait you set still applies: the reply then goes out when the wait ends.
- Labels come after the reply. Triage labels the conversation after the reply has gone. Saving the customer to People and opening an enquiry run alongside the reply, not before it.
- The model thinks at its provider's default. The agent doesn't ask for a reasoning effort: OpenAI's GPT-5 models refuse one when tools are offered, and every call offers the agent's tools. On the gpt-5.x models the default is no reasoning, which is also the fastest. The system prompt and tool list stay the same for every message, so the provider's prompt cache keeps working.
When the model fails
If a call to the model fails (the provider refuses the request, returns an error or doesn't answer in time) or no gear the agent may use can run, the agent doesn't leave the customer waiting with nothing:
- The conversation goes to a person. It's handed over like a money question: tagged
needs-person, listed under Needs you, and the customer gets the one short hand-over message ("A member of our team will reply here shortly") once. - The thread says why, with the provider's own words when there are some: "Front desk handed this to a person: the model refused the request: Function tools with reasoning_effort are not supported for gpt-5.4-nano in /v1/chat/completions… (400 unsupported_parameter)".
- Owners, admins and the member it hands over to are told in the bell: "Front desk can't answer: …", with how many turns in a row failed and a link to the agent's page to check its gear. The bell tells them once per distinct failure each hour: the same error again within the hour is counted, not announced again. A different error is announced at once.
- The inbox shows a banner while it fails ("Customers are not being answered: each one is passed to a person"), and Results shows how many turns in a row failed and since when.
The first turn that reaches the model again clears the banner and the bell row. Practice chats only show the reason; they never notify anyone.
Every model call the cloud serves keeps the provider's error code and message on its request log row (secrets removed, at most 500 characters), so a refusal can be traced.
Practice
Open Practise on the agent's page in Agents (Practise). Pick where the customer is writing from (WhatsApp, your website or email), who they are (someone new or a regular) and when they write (while you are open, or after closing time). Then type as the customer. The agent answers as it would for real.
Nothing in a practice chat is ever sent to anyone, whichever channel it imitates. No person is saved to People and no deal is opened in Funnel. Practice chats are left out of the inbox, the bell and every report.
Beside the chat, Why it did that says what it would do for real (send by itself, after the wait, or write a draft for you), the notes it used and anything else it did. Rate each answer Good answer, or press Fix this answer. Things to try lists the kinds of question worth a try (a price and a booking, money back, something it was not taught, asking for a person, a message after closing time), a few of your note titles, and then questions a customer of your business might ask, which keep coming and never repeat one you tried. Try 20 questions asks a batch by itself and ends in a table, and what the agent did not know becomes a gap you can add as a draft note in one click (Things to try).
Each practice message is one AI call, counted against your daily limit like any other.
Petawork's question set
Below your own suggestions, Things to try can show up to two questions marked From Petawork's question set. They are questions other businesses of your kind practise (clinic or practice, school or tuition, shop, food and drink, services), such as Do you take walk-ins on the weekend?. Your kind of business is the one you chose when you set up the inbox, or the sample notes you loaded.
Your practice suggestions help build that set in return:
- Shapes only. When the agent writes practice questions from your notes, your own model rewrites them as generic questions, one call that counts against Support's daily AI limit (at most two a day). A fixed check then refuses any shape that has a digit, a currency, an email, a web address, a phone number, a capitalised name, a number written in words, or any word from your organisation's names or notes that is not an everyday word. Your wording, names, prices, places and answers never leave your organisation, and nothing your customers wrote is ever sent.
- Three businesses and a review. A shape is shown to other organisations only after a person at Petawork approved it and at least three different organisations gave it. Nobody sees which organisations gave a shape.
- On by default. An owner or admin turns it off in Support settings, Petawork's question set. That stops your contributions; you are still shown shapes from the set. Delete what we contributed removes your organisation from every shape it gave, and a shape nobody else gave is deleted.
- A sovereign organisation never contributes and is shown nothing from the set. A sandbox from "try it" contributes only once it is kept.
Agents turn it off with share_question_shapes: false on support_frontdesk_update (only a person turns it back on, in
the app) and delete the contributions with support_questionshare_delete (DELETE /api/v1/support/question-shapes).
Petawork's operators review shapes on Question set (/operator/question-shapes,
the operator's page). Why it works this way: ADR 0102.
Fix an answer
Fix this answer (or Teach it the answer when it said nothing) asks what it should have said. Write it the way you
would tell a new receptionist. With Remember this for every customer on (the default), your words are saved as a
note under Front desk/ in your organisation's notes and marked checked, so the agent uses it from then on. In practice
it then asks the same question again so you see the new answer. With it off, the answer is only marked as needing a
fix. Owners and admins teach it.
What it knows
What it knows, on the agent's page in Agents, lists the notes it answers from: To read (no one has checked them yet), Checked and All. Each note shows where it came from (an answer you taught it, your website, or your notes) and the replies that used it this week.
- This is right marks the note checked.
- Rewrite from the website, on a note the agent wrote from your website or a file, reads that source again and
rewrites the note from what it says now, even if the note was checked or edited. The text it had stays in the note's
history, and the note goes back to to read. Owners and admins; agents call
support_frontdesk_note_updatewithrewrite: true. - Check all (above the list) marks every note still to read as checked in one click. When the list has notes from more than one place, there is one button each for the notes from your website, the examples and the notes you added, so you can read one group and check it. On an agent's page it checks only the notes that agent reads. Notes you told it not to use are left alone. A note shows Changed when its text moved since you last checked it, and opening it lists the lines taken out and added.
- Change it opens the note in Notes.
- Front desk should not use this keeps the agent off the note. It is never searched or cited again until you allow it.
Owners and admins check notes. Example notes (from Start from an example) are never used to answer a real customer; practice may read them and treats them as examples. Notes from your website are still used while they are to read.
What each agent reads is set on the agent, down to folders; an inbox does not narrow it. See Notes it reads.
Going live
Turn replies on, on the inbox's Who answers here page in Support, lists each topic it met in practice and how it did, and the kinds of question you have not tried yet.
Go live asks how careful it should be (show every reply first, send after a wait, or send right away), where it should answer and who it hands over to. Going live is refused, with the reason, until at least one channel customers can reach is connected: an email provider, the website chat, or a Comms number routed to Support. It answers only on channels that are connected. Going live raises the automatic replies allowed per customer to 100 in 12 hours, because a customer writes many times. Only an owner or admin in Support can turn it on. Anyone who may change Support can turn it off.
Reports
The agent's report is counted from its records, with no AI call. It shows the messages it decided on, what it answered, which replies went as written and which a person changed first, what it handed to a person, what it could not answer (grouped by topic), the Was that right? ratings and what its AI calls cost. A day after it goes live, owners and admins (and the person it hands over to) see its first-day report in the bell for three days. The bell also counts the customers it handed to a person who are still waiting for a reply.
Agents and the API
| Tool | REST | What |
|---|---|---|
support_conversation_giveback |
POST /api/v1/support/conversations/{conversation}/giveback |
Give a conversation back to the agent (When it stays out); answers the customer's newest message now when it has no answer. support_conversation_get shows agentOut (decision and reason) on each customer message it did not answer, and ai_allowance (Replies left): per limit used, total, left, percent, state (ok, warning, full) and resets_at, and which one binds first; null when no agent answers there. |
support_practice_start |
POST /api/v1/support/practice |
Start a practice chat (channel, who, when). With agent, a chosen agent answers, under an inbox's rules when one is named (Practise). |
support_practice_message_send |
POST /api/v1/support/practice/{practice}/messages |
Say something as the customer; returns what the agent did, why, and the notes it used. |
support_practice_get |
GET /api/v1/support/practice/{practice} |
A practice chat with its decisions and the things still to try; without an id, the recent chats and the checklist. |
support_frontdesk_rate |
POST /api/v1/support/frontdesk/replies/{reply}/rating |
Rate an answer good or fix, or clear it. |
support_frontdesk_teach |
POST /api/v1/support/frontdesk/teach |
Owners and admins: save an answer as a checked note (with reply, also rate that decision and ask again in practice). |
support_frontdesk_note_list |
GET /api/v1/support/frontdesk/notes |
What it knows: to_read, checked or all; with a note id, that note and the replies that used it. With agent, only the notes that agent reads. |
support_frontdesk_note_update |
PATCH /api/v1/support/frontdesk/notes/{note} |
Owners and admins: checked, do_not_use. |
support_frontdesk_ready_get |
GET /api/v1/support/frontdesk/ready |
The checklist, the connected channels and whether it can go live. |
support_frontdesk_report_get |
GET /api/v1/support/frontdesk/report |
The report for week, first_day, or from and to. |
An agent cannot turn the inbox agent on; that is a person's decision in Support. An agent can turn it off with
support_frontdesk_update (live: false) or pause it.
The audit log records support.frontdesk.live, support.frontdesk.teach, support.frontdesk.note and
support.frontdesk.rate, with ids and settings only, never a customer's message.