my-appengineer Courses

Automating customer support without losing the human touch

Agents, approvals and automated workflowsLesson20 min12 / 20

Customer support is where most small online businesses spend the most hours, and where an AI mistake hurts most. A customer who gets an invented answer about a refund is angrier than one who waited a few hours for the right answer. In this lesson you build a support workflow that is fast and safe: triage, knowledge base, drafts, approval, escalation.

The five building blocks

  1. Deflection: answer the most common questions before they become emails (help pages, order status, clear policies).
  2. Triage: sort incoming messages by type and urgency.
  3. Knowledge base: the facts and policies the replies are built from.
  4. Drafts with approval: AI writes, you check and send.
  5. Escalation: clear rules for what always goes to a human, and quickly.

1. Deflection: fewer emails in the first place

The cheapest support email is the one that is never sent. Look at your last 50 emails and count the categories. For most webshops, "where is my order" is 30 to 50% of all contact.

  • Put delivery times per country, the return policy and a sizing guide where customers look: on the product page, in the order confirmation and in the shipping email.
  • Send the track-and-trace link as soon as it exists.
  • Write an FAQ page from your real questions, not from what you think people ask. Claude can draft it from your anonymised emails.
Ask Claude
Here are 50 customer questions from the last two months, anonymised: [paste]. Group them into categories, count them, and write an FAQ page for my webshop with the top ten questions. Use ONLY these policies and facts: [paste context file]. Where a policy is missing to answer a question, write "POLICY NEEDED" instead of an answer.

Every "POLICY NEEDED" is a decision only you can make. Make it, add it to the context file, and the AI can use it from then on.

2. Triage

Triage is a good first automation: it is repeatable, internal and reversible. A wrongly labelled email is a small problem; you see it when you open it.

Use fixed categories and a fixed output:

CategoryUrgency ruleDefault handling
Where is my orderHigh if past the promised delivery dateDraft with tracking status
Size or product questionNormalDraft from the product facts
Return or exchangeNormalDraft with the return steps
Damaged or wrong itemHighDraft apology + photo request, Sam decides on solution
Complaint, threat, legal words, chargebackHighHuman only, no draft
OtherNormalHuman

3. The knowledge base

Your context file from module 2 is the start. For support, add:

  • Reply templates for the top categories, written by you, in your tone.
  • Policy details with dates: return period, condition of returned items, who pays return shipping, how long refunds take after you receive the item.
  • What you never promise: compensation, free replacements, delivery on a specific date.
How it works in your country

Your return and refund rules must follow consumer law. Within the EU, consumers generally have a 14-day right of withdrawal for online purchases, with specific rules on refunds and return costs. Outside the EU and in some details, rules differ: check with the national consumer authority, for example the ACM in the Netherlands, UOKiK in Poland, or the CMA and Citizens Advice guidance in the UK. Your AI replies may never state less than the law gives the customer.

4. Drafts with approval

This is the core loop. On the platform, the Mail page holds your own mailboxes; in a Claude session where the mail tools are available, Claude can read the inbox, search, and prepare replies. With the right shop scope it can look up the order. You read every draft, fix it if needed, and send.

Open Mail

The drafting prompt follows the grounded-answer pattern:

Ask Claude
You draft replies for Paws & Co's customer service. Read context/paws-and-co.md and context/support-templates.md first. For each unread email in the support inbox: classify it with the triage table. For "complaint, threat, legal words, chargeback" and "other": do not draft, just list it for me. For all others: look up the order if an order number is given, then draft a reply using ONLY the templates, the policies and the order data. Quote the policy line you relied on in a note above the draft. Never promise refunds, compensation or delivery dates. Do not send anything. Give me a list: email, category, urgency, draft ready yes/no, open questions.
Watch out

Order and customer data are personal data. Grant the customer-detail scope only if the support workflow really needs it, and keep drafts free of data the reply does not need. Never let a reply quote another customer's order. More on this in module 4.

What the shop connector will and will not do here

  • It can read orders and returns, and propose order tracking or customer-detail changes. Those proposals are always reviewed.
  • It never contacts the customer itself, never changes payment state, consent or subscriptions, and does not issue refunds. You process refunds in your dashboard.

5. Escalation

Write the escalation rules down and give them to the AI as hard rules:

  • Any email with words like "lawyer", "chargeback", "police", "consumer authority", "dangerous", "injured": human only, same day.
  • Any email about a product safety issue: human only, and check your product-safety obligations (see the course Legal and compliance for online business).
  • Second message from the same customer about the same issue: human only.
  • A customer who asks for a human: human, always.

A chat assistant on your site?

You can also put an AI assistant on your website. If you do:

  • Tell visitors clearly that they are talking to an AI. Under the EU AI Act, people must be informed when they interact with an AI system, unless that is obvious; the transparency rules apply from 2 August 2026 (module 4).
  • Limit it to what your knowledge base covers, and let it say "I don't know".
  • Always offer a route to a human, with an honest response time.
  • Do not let it take actions with consequences (cancelling orders, promising refunds) without a human step.

Measuring whether it works

Track four numbers per week:

MetricHowPaws & Co after 4 weeks
Median first response timeTime between email received and reply sent19 h → 3 h
Drafts sent without changesCount31 of 40 (78%)
Drafts needing a factual correctionCount2 of 40 (5%)
Repeat contacts about the same issueCount6 → 3

In Sam's case the 5% factual corrections hit the stopping rule from module 1 (more than 1 in 20). Both errors came from an outdated delivery time for one country in the context file. Sam fixed the file and added a "last checked" date to every policy line. The next month: 1 of 42.

Tip

Once a week, reread ten sent replies at random, including the ones you approved quickly. That sample is your early warning system.

Your task

Analyse your last 50 support messages (or your expected top questions if you are pre-launch). Write the triage table, the escalation rules and templates for your top three categories. Run the drafting prompt on ten anonymised past emails and compare the drafts with what you actually sent.

This course is general information, not personal legal, tax or financial advice. Rules, amounts and dates change: check the official source for your country before you act.