If you run support for a small team, you can get an AI agent to draft replies to customer emails today, in the ChatGPT, Claude, Gemini or Grok you already pay for. The safe way is simple: give it one approved source of truth (your FAQ, prices and policies), let it draft, and keep a person on the send button.
This guide walks through that setup step by step. No code is required, but there is a small script at the end if you want to test your agent before you trust it.
Why drafts, not auto-replies
Most support mistakes from AI come from two things: the agent makes up an answer that isn't in your docs, or it sends something nobody checked. Drafting fixes the second problem. A good source file and clear rules fix most of the first.
So the goal is:
- The agent reads a customer email.
- It answers only from your approved facts.
- It flags anything it can't answer instead of guessing.
- A human reads the draft and sends it, or doesn't.
Nothing is sent without you.
Step 1: Pick one inbox and list what people actually ask
Don't start with "all of support". Start with one shared inbox, like support@ or hello@.
Open the last 50 to 100 emails and sort them into rough groups. For most small businesses you'll see something like:
- Pricing and plans
- How do I do X (product or service questions)
- Order or booking status
- Refunds and cancellations
- Bug reports or complaints
- Everything else
Write down which groups are safe for an AI draft and which always go to a human. A reasonable first split: questions about how things work and general pricing are safe to draft. Refunds, legal, security, angry customers and anything about money owed stay human.
Step 2: Write the source-of-truth file
This is the most important step. The agent will only be as good as this file.
Create one document (Google Doc, Notion page, or a plain text file) with:
# Support facts (approved, last checked: <date>)
## Business basics
- Hours: Mon-Fri 9:00-17:00 CET
- Response time we promise: within 1 business day
## Pricing
- Starter: <price> per month, includes <...>
- Pro: <price> per month, includes <...>
## Policies
- Refunds: <your exact policy, copied from the terms>
- Cancellations: <...>
## How-to answers
- Q: How do I reset my password?
A: <exact steps>
## Never say
- Never promise a delivery or fix date.
- Never offer a discount.
- Never guess a price that isn't listed above.
Keep it short and factual. Copy wording from your real terms and pricing page instead of rewriting it. Put a "last checked" date at the top so you notice when it gets stale.
Step 3: Write the agent instructions
Paste this into a custom GPT, a Claude Project, a Gemini Gem, or whichever agent you use, and attach the facts file as knowledge:
You draft replies to customer support emails for <business name>.
Rules:
1. Answer only from the attached "Support facts" file.
2. If the answer isn't in the file, don't guess. Write a short holding
reply and add a note at the top: NEEDS HUMAN: <what's missing>.
3. If the email is about a refund, a legal issue, security, or the
customer is upset, don't draft an answer. Reply only with:
ROUTE TO HUMAN: <one-line reason>.
4. Keep replies under 120 words, friendly and plain. Sign off as
"<name>, <business> support".
5. At the end, list which lines from the facts file you used.
Output format:
- Category: <one of: pricing, how-to, status, refund, bug, other>
- Draft reply: <text>
- Sources used: <lines from the facts file>
Rule 5 matters more than it looks. When the agent has to say which line it used, it's much easier for you to spot an answer it invented.
Step 4: Run it in shadow mode for a week
Don't connect it to your inbox yet. For one week, copy each new customer email into the agent and compare its draft with what you actually sent.
Keep a tiny log:
| Category right? | Draft usable? | What was wrong | |
|---|---|---|---|
| "Can I switch plans mid-month?" | yes | yes, small edit | - |
| "Where is my order #123?" | yes | no | needed order system data |
After a week you'll know:
- Which categories it handles well
- Which facts are missing from your file (add them)
- Which categories should always be routed to a human
Most fixes go into the facts file, not the prompt.
Step 5: Connect it, drafts only
Once the shadow week looks good, connect the agent to the inbox with the narrowest access that works. Several assistants can now read Gmail or Outlook and save drafts. Pick drafts, not sending, wherever that's an option.
A simple daily flow:
- The agent checks new emails in the support inbox.
- For safe categories, it saves a draft reply in the thread.
- For everything else, it adds a label like
needs-human. - Someone on the team opens the drafts folder twice a day, edits and sends.
If your tool can't save drafts directly, the copy-paste flow from shadow mode still works. It's slower but just as safe.
Step 6: Test it like code before you trust it
If you're a developer, treat the agent like any other system and keep a small test set. Save 15 to 20 real (anonymized) emails with the answer you expect, including some traps: a refund request, a question your facts file can't answer, an angry customer.
Here's a minimal script that runs them through an API and checks the routing rules. It uses the OpenAI SDK, but any provider works the same way:
import json
from openai import OpenAI
client = OpenAI()
instructions = open("instructions.txt").read()
facts = open("support_facts.md").read()
cases = json.load(open("test_emails.json"))
# each case: {"email": "...", "expect": "draft" | "ROUTE TO HUMAN" | "NEEDS HUMAN"}
failures = 0
for case in cases:
resp = client.chat.completions.create(
model="gpt-4o-mini",
messages=[
{"role": "system", "content": instructions + "\n\n" + facts},
{"role": "user", "content": case["email"]},
],
)
out = resp.choices[0].message.content
if case["expect"] == "draft":
ok = "ROUTE TO HUMAN" not in out and "NEEDS HUMAN" not in out
else:
ok = case["expect"] in out
if not ok:
failures += 1
print("FAIL:", case["email"][:60], "->", out[:120])
print(f"{len(cases) - failures}/{len(cases)} passed")
Run it every time you change the facts file or the instructions. If a refund email ever comes back as a normal draft, you've found a problem before a customer did.
Common mistakes
- Giving it your whole help center. Long, outdated docs give it more room to pick the wrong answer. Start with one short, checked file.
- No "I don't know" path. If the prompt doesn't tell the agent what to do when the answer is missing, it will fill the gap.
- Skipping the shadow week. It feels slow, but it's where you find the missing facts.
- Letting the facts file go stale. Put a reminder in your calendar to re-check prices and policies every month.
Where to go from here
Once drafting works, the same pattern fits other support jobs: order-status replies from checked data, or sorting feature requests into themes for the product team. Start with the task, not the tool, and add one job at a time.
I'm building JuicyAgents (https://juicyagents.com/), which collects free step-by-step setup recipes like this one for sales, support and ops work. It doesn't run the agent for you: you set it up in your own AI tool, and not every listed tool has been tested.
Top comments (1)
Two sneaky traps in that Step 6 harness:
case["expect"] in outstill passes if aDraft reply:slips out alongsideROUTE TO HUMAN, and default temperature hides flaky single-run flips. Mixed-intent emails ("Pro pricing question, also refund last month") are the real boss fight. Do you pintemperature=0or run traps multiple times?