Customers don't hate bots. They hate bots that can't do anything. A customer asking where their order is wants the order status, not a link to the FAQ and an offer to "connect you with an agent" after five messages.
The difference between a helpful AI agent and a frustrating chatbot is rarely the language model. It is what the agent knows, what it is allowed to do, and what happens when it should stop.
1. Ground every answer in your own content
A language model on its own knows nothing about your return policy, your delivery areas or last week's price change, and it will confidently make something up. Retrieval-augmented generation (RAG) fixes this: the agent searches your knowledge base, policies and product data first, and answers only from what it found.
- Keep the knowledge base current; the agent is only as accurate as its sources
- Show or log which source each answer came from
- Tell the agent to say it doesn't know when nothing relevant is found
2. Connect it to the ERP so it can act
The questions customers ask most (where is my order, can I get a copy of my invoice, can I change the delivery date) are answered by your ERP, not your FAQ. Give the agent tools that call the ERP: look up an order, send an invoice, check stock, book a delivery slot.
Start with read-only tools. Add actions that change records once you trust the agent, and scope every tool to the customer in the conversation, so it can only ever reach that customer's orders.
3. Design the handover before anything else
Escalation is a feature, not a failure. Decide in advance when the agent hands over.
- The customer asks for a person
- The agent's confidence is low or it has failed to resolve the issue twice
- The topic is sensitive: complaints, legal issues, cancellations above a threshold
- The customer is clearly frustrated
When it hands over, pass the full conversation, the customer's identity and whatever the agent already looked up. Nothing loses trust faster than a customer explaining the problem a second time.
4. Put guardrails where the risk is
Keep business rules out of the model. Refund eligibility, discounts and credit limits should be decided by your systems, with the agent only explaining the outcome. A model can be persuaded; a rules engine can't.
- Limit the agent to your domain and decline unrelated requests
- Require confirmation before any action that changes an order or moves money
- Mask personal data in logs and never echo payment details
- Treat customer messages and uploaded files as untrusted input that may try to redirect the agent
5. Meet customers where they already are
Website chat is the obvious start, but in many markets customers prefer WhatsApp, and email still carries most B2B support. Run one agent with one knowledge base and one set of tools behind every channel, so answers are consistent wherever the customer asks.
6. Measure resolution, not deflection
Deflection (conversations that never reached a human) rewards an agent for being hard to get past. Measure what customers care about instead.
- Resolution rate: issues fully solved without a human
- Escalation quality: did the human have everything they needed?
- Customer satisfaction after AI-only conversations
- Wrong-answer rate from a weekly review of sampled conversations
A sensible rollout
Start with one high-volume, low-risk topic such as order status. Run the agent alongside your team, review its conversations every week, and widen its scope only when the numbers support it. Within a few months it handles the routine questions, and your people handle the conversations that need a person.



