Build a Customer Service AI for Your Small Business
The exact system, prompts, and escalation rules behind agents I've built for real clients, and how to adapt it for yours.
The exact system, prompts, and escalation rules behind agents I've built for real clients, and how to adapt it for yours.
Most 'AI customer service' demos collapse the moment a real customer asks a real question. The agent either confidently invents an answer, recommending a product the business doesn't sell, quoting a price that's wrong, promising a refund policy that doesn't exist, or it punts every question to a human. Either way, the experience is worse than no AI at all.
I've built customer service AI for dispensaries, food service businesses, property management companies, and service contractors. Different industries, same core architecture. The agents that actually work all share a structure: real data, narrow tools, and clear rules for when to step aside.
Here's exactly how to build that system for any small business, the architecture, the prompts, the escalation logic, and the cost math.
Before the architecture, understand what you're guarding against. There are three failure modes I see repeatedly in deployed-then-quietly-disabled AI agents:
The fix for all three is the same: stop relying on the model's general knowledge. Give it real data, real tools, and rules for when to refuse.
Every customer service AI I've built has the same three layers:
Plus two infrastructure pieces:
This is the foundation. Adapt the bracketed sections to your business, every NEVER rule is there because skipping it leads to a specific, predictable failure.
You are the customer service assistant for [BUSINESS NAME], a [INDUSTRY] business in [LOCATION]. Your job: help customers find what they need, answer questions about hours/location/policies, and hand off to a human cleanly when needed.
CONTEXT YOU HAVE:
- Today's product/service catalog (JSON, provided each request)
- Current hours and location
- The customer's previous messages and order history (if any)
- Today's date and time
HARD RULES, never break these:
1. NEVER claim a product/service is available unless it appears in today's catalog JSON. If asked about something not in the catalog, say: "I don't see that in today's options, let me check with the team and get back to you."
2. NEVER quote a price unless it appears in the JSON. Same handling.
3. NEVER make recommendations based on medical conditions, legal situations, financial situations, or anything that could cause real harm if wrong. Hand off instead.
4. NEVER promise something I cannot personally fulfill (e.g., specific delivery dates, exceptions to policy, custom pricing). Hand off instead.
TONE:
- Warm, brief, conversational. Match the customer's energy.
- Use the customer's name if available.
- One short paragraph max unless the question genuinely requires more.
- No emojis unless the customer uses them first.
ESCALATE (hand off to a human) when:
- The customer is upset, confused, or frustrated.
- The question involves a refund, complaint, or billing issue.
- The question touches on [INDUSTRY-SPECIFIC SENSITIVE TOPICS, e.g. medical, legal, regulatory].
- You're uncertain about anything.
To escalate, say: "Let me grab someone from the team for this, one moment." Then output [ESCALATE] on a new line. Do not attempt to answer when escalating.
Otherwise, draft a short, helpful reply that directly addresses the question.Two things make this prompt work where most don't:
Most of the value of an AI customer service agent isn't in the questions it answers, it's in the questions it correctly refuses. These are the four rules that, if you only had these, would still ship a usable system:
If the customer's message reads as frustrated, angry, sad, or confused, escalate. Don't try to de-escalate with AI. Humans can. AI can't reliably yet, and the cost of doing it badly is the customer.
Refunds, returns, billing disputes, complaints about charges, all to a human. The downside of getting these wrong is too high. Easy questions to AI; money questions to humans.
Industry-specific sensitive areas, medical advice for healthcare-adjacent businesses, legal specifics for law firms, financial specifics for any money-handling business, regulated-product questions for cannabis or alcohol. Hard-code your list. Don't trust the model to figure it out.
Give the agent explicit permission, encouragement, even, to escalate whenever it's not sure. Better to have humans handle 30% of conversations than have AI confidently invent answers for that 30%.
Whatever your channel layer is, the workflow has the same shape. Here's the GHL version:
The log is the most underrated part of the whole system. Every Friday, you (or someone on the team) scans the last week of conversations, flags ones that were handled badly, and updates either the prompt or the knowledge layer. The agent gets better every week because you're actively iterating, not because the underlying model magically improved.
Real numbers from real builds:
| Volume | Monthly API cost (Claude) | Hours saved/week |
|---|---|---|
| ~50 messages/day | $8-15 | 5-10 |
| ~200 messages/day | $30-60 | 15-25 |
| ~500 messages/day | $80-150 | 30-50 |
Compared to a part-time customer service hire (~$1,500-2,500/mo), the math is obvious. The catch: the implementation has to be honest about its limits. An over-promised agent is worse than no agent at all.
One more thing
New guides drop every couple weeks. No spam, just practical AI from someone actually building it.
Three ways to go deeper. Scan the QR or hit the link, both work.
Free community of small business owners and operators actually using AI.
Custom AI builds and automations for your business. Direct line, no funnel.
The newsletter, practical AI in your inbox every couple weeks. No spam.