Most small business owners spend 1–3 hours a day answering the same 15 questions. "What are your hours?" "Do you offer refunds?" "How does shipping work?" An AI support agent handles those — at 2am on a Sunday, instantly, in your voice — while you do something else. This guide shows you the exact setup: what to write, where to put it, and how to handle the questions the AI shouldn't answer on its own.
Not a chatbot widget that frustrates everyone. Those exist because they're built wrong — generic answers, no context about your business, no real escalation path. What you're building is an agent that:
You don't need to write code. You need three things:
The knowledge base is what separates a useful agent from a useless one. Most people skip this step or write three lines. Don't. The time you put in here determines how often the AI has to punt a question to you.
A knowledge base is just a document that tells the AI everything it needs to know about your business. You're going to write it in plain text — no special format required.
Open a new document (Google Docs, Notion, plain text — anything). Write answers to these questions as if you were training a new employee on day one:
Two or three sentences. What you sell, who it's for, what makes it different. Be specific — "we sell handmade leather wallets, mainly to men 35–55 who want something that lasts 20 years" beats "we sell quality products."
Go through your last 3 months of support emails or messages and pull out every question you answered more than twice. Write the exact answer you give. Include numbers, timeframes, and specifics. "Shipping takes 3–5 business days to US addresses, 7–14 to international" is useful. "We ship fast" is not.
Return policy word for word. Refund conditions. Warranty or guarantee terms. What happens if something arrives damaged. Copy this directly from your existing policy pages if you have them — consistency matters.
Write a short list of topics where a wrong answer would be expensive or embarrassing. Pricing exceptions, legal questions, anything involving a specific order that's gone wrong, custom quotes. These should always go to you.
Where you are, when you're reachable, how long it takes you to respond when a customer needs a human. Set accurate expectations — "I personally respond within 24 hours on business days" is better than a vague promise.
If your knowledge base is vague, your AI will be vague. If it's specific, the AI will be specific. Spend the full 15 minutes here. A good knowledge base is the difference between an agent that handles 80% of questions and one that handles 20%.
A system prompt is the set of instructions that tells the AI how to behave. It runs before every customer question. Here's the exact template I use — paste your knowledge base where indicated:
You are a customer support assistant for [YOUR BUSINESS NAME].
Your job is to answer customer questions quickly, clearly, and helpfully —
in the same voice [BUSINESS NAME] uses in all its communications.
ABOUT THE BUSINESS:
[Paste your business description here]
KNOWLEDGE BASE:
[Paste your full FAQ answers, policies, and business details here]
ESCALATION RULES:
If a customer asks about any of the following, do NOT answer — instead,
tell them you're flagging it for the team and they'll receive a personal
reply within [YOUR RESPONSE TIME]:
- [Topic 1 — e.g., pricing exceptions or custom quotes]
- [Topic 2 — e.g., specific order issues by order number]
- [Topic 3 — e.g., legal or billing disputes]
- Any question where you're uncertain and the cost of being wrong is high
TONE:
- Direct and helpful. Skip filler phrases like "Great question!"
- Write like a person, not a support ticket system.
- If you don't know something, say so clearly and offer to escalate.
- Never make up information. If the knowledge base doesn't cover it, say that.
RESPONSE FORMAT:
- Keep answers short — 2–4 sentences when possible.
- Use plain language. No jargon.
- If a customer needs action from you (like a refund or replacement),
acknowledge it and tell them a human will follow up.
When you escalate a question, end your message with: [ESCALATE: brief description of what the customer needs]
This flag is used to route the conversation to the right person.
The [ESCALATE] tag is critical. It's how your system knows to forward the conversation to your inbox. Whatever tool you use to run this agent (covered in the next step) can watch for that tag and trigger an email to you automatically.
Where does your agent live? Pick one to start — you can add more later.
Set up a dedicated support email address (like [email protected]). Route incoming messages to a service like Zapier or Make.com that sends them to OpenAI with your system prompt and delivers the response back to the customer. Your total cost: ~$20/mo for Zapier's starter plan plus API usage.
The Zapier flow is: New email arrives → Send to OpenAI with system prompt → Check response for [ESCALATE] tag → If no tag, reply to customer; if tag, forward to your inbox with the AI draft.
Tools like Tidio, Crisp, or Intercom all let you connect a custom AI to their chat widget. You set up a free account, connect the OpenAI integration, paste your system prompt, and the widget appears on your site. Tidio has a free tier. Setup time: about 20 minutes.
If you want full control without monthly subscriptions: a $5/mo server (Railway, Render, or Fly.io free tier) running a 40-line Python script handles everything. This option requires a tiny bit of technical comfort but costs almost nothing at low volume.
Here's the core script — the part that calls OpenAI and checks for escalations:
import openai
import os
client = openai.OpenAI(api_key=os.environ["OPENAI_API_KEY"])
SYSTEM_PROMPT = """[Your full system prompt here]"""
def handle_customer_question(question: str, customer_email: str) -> dict:
response = client.chat.completions.create(
model="gpt-4o-mini", # Fast and cheap — ~$0.002 per question
messages=[
{"role": "system", "content": SYSTEM_PROMPT},
{"role": "user", "content": question}
],
max_tokens=400
)
reply = response.choices[0].message.content
needs_escalation = "[ESCALATE:" in reply
if needs_escalation:
# Extract escalation reason and email yourself
escalation_note = reply.split("[ESCALATE:")[1].rstrip("]")
notify_owner(customer_email, question, reply, escalation_note)
# Clean the tag from the customer-facing reply
reply = reply.split("[ESCALATE:")[0].strip()
return {
"reply": reply,
"escalated": needs_escalation
}
def notify_owner(customer_email, question, draft_reply, reason):
# Send yourself an email with the full context
# Use SendGrid, Resend, or any SMTP service here
print(f"ESCALATION: {reason}")
print(f"From: {customer_email}")
print(f"Question: {question}")
print(f"Draft reply: {draft_reply}")
The model I specify above — gpt-4o-mini — is what I actually run in production. It's fast (under 2 seconds per reply), cheap (about $0.002 per question), and smart enough to handle 90% of typical support questions correctly. Reserve GPT-4o for escalated drafts if you want, but mini is fine for the frontline.
Before you point real traffic at this, spend 10 minutes playing customer. Ask it your 15 most common questions and check the answers against your knowledge base. Then ask it three things it definitely shouldn't know — make sure it escalates correctly instead of making something up.
Ask your top 5 FAQs verbatim. Answers should be accurate and sound like you wrote them. If they're off, refine the relevant section of your knowledge base — the fix is almost always more specificity in the source document.
Ask something your knowledge base doesn't cover. The agent should say it doesn't have that information and offer to connect you with a human — not invent an answer. If it invents, add a line to your system prompt: "If the knowledge base doesn't address a question directly, say so."
Mention one of the topics on your "do NOT answer" list. Confirm you get the [ESCALATE] tag and that it shows up in your inbox correctly. This is the most important test — a missed escalation is worse than no agent at all.
This is what separates a support agent that gets better from one that stagnates. Every week — I do it Sunday evening, takes 15 minutes — read through the previous week's conversations. Look for:
After 4 weeks of this, you'll typically see your escalation rate drop by 50–70%. The agent handles more, you handle less. That's the compounding effect of AI that learns from real usage — not from training, but from you actively maintaining the knowledge base.
At 30 days, you're handling maybe 60% of questions automatically. At 60 days, if you've done the weekly review, you're at 80–85%. That means instead of answering 20 support messages a day, you're reviewing 3–4 and spending the rest of that time on the business.
The questions that do reach you are the ones worth your personal attention — edge cases, upset customers, complex situations. You're not better at answering "what's your return policy?" than an AI. You are better at handling a customer who received a broken product and is furious about it.
At 50 customer questions per day:
If you're currently paying a VA or part-time person to do support, this is the math: AI support agent at $25/month vs. VA at $15–25/hour. At 2 hours of support work per day, that's $900–1500/month vs. $25. The agent doesn't take sick days or quit.
A customer asks a sensitive billing question, the agent answers confidently with the wrong information, you lose a customer and deal with a chargeback. Test every escalation trigger. Then test it again.
"We have a good return policy" teaches the AI nothing. "We accept returns within 30 days of delivery. Items must be unused and in original packaging. Refunds are issued to the original payment method within 5–7 business days of us receiving the item" gives it something to work with. Specificity is everything.
You change your shipping times, raise prices, add a new product — and forget to update the agent. Set a calendar reminder every month to review your knowledge base against your actual current policies. Stale information is worse than no information.
Upset customers need humans. An AI handling a customer who's threatening to leave or leave a bad review is a bad idea — not because the AI can't technically respond, but because those moments require judgment, empathy, and authority to make exceptions. Keep those escalated to you. Always.
Library members get the complete setup: tested system prompt templates, the Python deployment script, the Zapier workflow export, and the weekly review checklist I use every Sunday.
30-day money-back guarantee. Cancel anytime.