Support

AI agents for customer enquiries: from inbox and WhatsApp to a resolved ticket

A useful enquiry agent does more than answer. It finds the order, checks the policy and prepares the fix.

An AI agent can take a customer message from email, a web form or WhatsApp and carry it through to a resolved ticket, provided it can look up the order, check your written policy and prepare the fix. Connecting the channels is routine. The work, and the risk, sit in the data behind them and in the rules for when a person takes over.

A chatbot answers questions. An enquiry agent resolves them. The difference is whether it can look something up and do something about it.

What the agent does

  1. Reads the message from email, a web form or WhatsApp and works out what is being asked.
  2. Finds the customer and the order or account it relates to.
  3. Checks the answer against your own policies and documents.
  4. Replies, or prepares the action: a refund, a replacement, a booking.
  5. Hands over to a person, with the history, when it cannot safely proceed.

Chatbot, enquiry agent or person

FAQ chatbotEnquiry agentPerson
Answers fromA fixed set of questions and answersYour policy documents and live order dataExperience and judgement
Can look up this customer's orderNoYes, through tools you permitYes
Can actNoWithin limits you setYes
Best forOpening hours, delivery areas, simple factsOrder status, returns, bookings, routine changesComplaints, exceptions, anything sensitive
Main riskUnhelpful answersA confident wrong answer or actionSlow replies at busy times

Ground every answer

The agent should answer from your documents and say which one. A reply that sounds confident and is wrong about a refund policy costs more than a slow reply. If the documents do not cover the question, the right response is a hand-off.

This can be enforced in the build. Some model APIs can return the exact passages from your documents that support each claim, so the support team sees which clause of the returns policy a reply rests on. That only helps if the documents are right. Give each policy an owner and a date, and remove superseded versions from what the agent can read. For how document retrieval compares with training a model on your material, see RAG or fine-tuning.

Channels are not the hard part

Connecting an inbox or a WhatsApp business number is routine. The effort is in the systems behind them: an order system the agent can query, a policy document that is current, and customer records that match.

WhatsApp does have rules that shape the design. When a customer messages your business number, a 24-hour customer service window opens, and it resets each time the customer writes again. Inside the window you can reply freely. Once it closes, you can send only message templates that were approved in advance. An agent that promises an update tomorrow therefore needs an approved template for that update, or needs to send it by email.

WhatsApp's Business Messaging Policy also covers consent: the customer must have opted in to receive messages from you. It allows automated replies, on condition that customers have what the policy calls “prompt, clear, and direct escalation paths”, such as transfer to a human agent, a phone number or an email address. On this channel the hand-off is a condition of use, not an optional extra.

Treat every message as untrusted input

A customer message is text from a stranger, and the agent reads it. OWASP, the application security project, lists prompt injection as the first entry in its 2025 Top 10 for language-model applications: input that changes the model's behaviour in ways you did not intend. Someone can type an instruction to ignore the rules and refund an order in full as easily as a real question.

The defence is structural. OWASP recommends least-privilege access and human approval for high-risk actions. Both are possible because the model can only request an action, and your own software decides whether to run it. Put the refund limit in that software, where no message can talk its way past it. We explain the problem in full in prompt injection: the security problem every agent has.

Where a person stays involved

  • Refunds and credits above a limit you set.
  • Complaints, and anything with a legal or safety angle.
  • Customers who ask for a person.
  • Any case the agent has marked as uncertain.

A good hand-off carries the whole case: the conversation, the order the agent found, the policy clause it relied on and the action it proposes. The person should be able to approve, edit or refuse in one step, without asking the customer to repeat anything. Our guide to deciding where an agent must stop and ask covers how to set those points.

How to start

Pick one enquiry type with clear rules and plenty of volume, such as order status or a standard return. Run the agent in draft mode first: it prepares the reply and the action, and a person sends them. When the drafts need little correction, let it send that one type on its own and move to the next.

What to measure

Count enquiries resolved without a person, time to first reply, and how often a person had to correct the agent. Read a sample of conversations every week. The numbers tell you how much it handles; the reading tells you how well.

Add one more count: the cases handed over because no document covered the question. Each one points to a policy that is missing or out of date, and fixing the document improves the agent and your human team together.

Common questions

Is an AI agent allowed on WhatsApp?

The messaging policy permits automation, with the escalation paths described above. Separately, Meta's terms for the WhatsApp Business Platform bar providers of AI technologies from using the platform where that technology is the primary functionality on offer, as opposed to incidental or ancillary. The same clause says a business may retain an AI provider as its solution provider. Read the terms against your own use before you build; this is not legal advice.

Should customers be told they are talking to an agent?

We think so. Say it at the start, and say how to reach a person. It costs nothing, and it makes the hand-off feel like service instead of a failure.

What happens when the agent does not know the answer?

It should say so and hand over. Build this as a rule: if no document covers the question, or the order cannot be found, the case goes to a person with the history attached. A guess is the one outcome the design should make impossible.

Can it issue refunds by itself?

Only within a limit you set and enforce in code, for example small amounts on orders that meet the written policy exactly. Above the limit it prepares the refund and a person approves it. We would start with the limit at zero and raise it as the weekly review earns your trust. If you want to talk through where your limits should sit, get in touch.

The assessment is the same thinking, applied to your systems.

Two to three weeks, a scope agreed in writing before it starts, and a document you can act on whether or not you hire us for the build.