Skip to content
NewSecurity Audit for AI-Built Apps. Fixed scope, clear report
GeekTech
AI Automation

How to Use AI to Draft Customer Support Replies

How to use AI to draft customer support replies: ground drafts in approved answers, keep refund decisions in code and measure what agents change.

7 min read

GeekTech Engineering Team18 years building and securing software

To use AI to draft customer support replies safely, have a language model write each draft from your approved help articles and account facts your code looks up, then save it as an internal note for an agent to edit and send. Decisions such as refunds, credits and delivery dates come from your own systems, and the model only phrases them. You measure how much agents change each draft before you let any reply go out unreviewed.

How AI-drafted support replies work

The model writes the text. Code and people handle every other step.

StepWhat happensDone by
TriggerA ticket in an eligible intent arrives or reopensHelpdesk rule
ContextApproved articles, macros and the requester's account facts are gatheredCode
DraftA reply is written from that context, with its sources listedModel
ChecksSources, commitments, links and length are validatedCode
ReviewAn agent edits, sends or discards the draftPerson
FeedbackThe sent text is compared with the draftCode

The intent field from AI ticket triage decides which tickets get a draft.

Choose which tickets get an AI draft

Start with intents where an approved answer already exists and the reply rarely depends on judgment: order status, password reset steps, how to export data, where to find an invoice. Check resolved tickets for each candidate intent: if agents usually answered with a macro or article link, the answer is written down where the model can use it.

Exclude some intents entirely, whatever the volume:

  • Security reports and suspected account takeover
  • Legal threats, complaints to a regulator and privacy requests such as data deletion
  • Disputes over charges and refund requests outside your standard policy
  • Tickets an agent has already escalated

These need judgment from the first word, and a draft anchors the agent on the model's framing.

Ground every draft in approved answers and account facts

Give the model two kinds of context, both under your control.

Approved content: current, published help articles and macros for the ticket's intent, each with an ID. Our guide to building an internal knowledge assistant covers giving each document an owner so stale answers get retired.

Account facts: plan, order status, last payment, open incidents. Your code looks these up using the requester's verified email or account ID, never an identifier typed in the ticket. Pass them as data, as in this example:

{
  "intent": "order_status",
  "order": { "id": "A-10293", "status": "shipped", "carrier_eta": "2026-12-05" },
  "refund_eligible": false,
  "articles": ["kb-212", "kb-388"]
}

Ask for structured output: a reply, the article IDs it relied on, and a status of draft, no_answer or needs_human. Reject any draft that cites no article or one it wasn't given. When the model can't answer, the agent sees "No approved answer found" instead of a plausible guess, and the knowledge base owner learns which article is missing.

Keep refunds, credits and promises out of the model's hands

The OWASP Top 10 for Large Language Model (LLM) applications describes this failure in its misinformation entry: a customer-service agent misreads a policy and approves a refund that violates the terms. The same entry recommends separating generation from execution and verifying claims before acting.

For reply drafts, that means:

  1. Decide in code. Refund eligibility, credit amounts, plan limits and delivery dates come from your systems as fields like refund_eligible.
  2. Phrase, don't decide. The prompt tells the model to state only the outcomes in the facts it was given.
  3. Check commitments. Scan each draft for dates, amounts, percentages and promise phrases such as "we will refund" or "free of charge". Flag any that don't match a supplied fact.
  4. Flag, don't fix. A flagged draft still reaches the agent, with the mismatch highlighted, so the agent decides.

An agent reviewing dozens of drafts a day will eventually miss a wrong date. The check catches drafts that promise more than your systems say.

Treat the customer's message as untrusted input

Anyone can write to your support address. The OWASP entry on prompt injection names a customer ticket as a low-privilege channel attackers use to reach a model with more access. It also gives a pre-deployment check: a system that can read private data, take in untrusted content and communicate externally has the conditions for high-impact exploitation, and removing any one removes them.

A reply drafter reads private data and untrusted content by design. The agent who sends the reply removes the external leg, so keep that step human. Then limit what an injected instruction could reach:

  • The drafting call has no tools. It returns text your code checks.
  • The context holds only the requester's own account facts, never other customers' records.
  • Internal notes stay out of the context, so a draft can't quote one back to the customer.
  • Links in the draft must point to your own domains. Strip or flag the rest.

Our explainer on prompt injection for product teams covers why prompt wording alone can't block this.

Save drafts as internal notes, never public replies

Write each draft where the customer can't see it: an internal note, a side panel or the helpdesk's draft field. Label it as an AI draft and store its ID for comparison with what was sent.

Set visibility explicitly on every write. In Zendesk, a ticket comment's public field is false for an internal note, and the ticket comments documentation notes that the initial value set on ticket creation persists for later comments unless you change it. Code that relies on the default can behave differently depending on how the ticket was created. Add a test that creates a ticket each way and confirms the draft lands as a private note.

How to measure AI reply drafts

Start in shadow mode: write drafts to a hidden field while agents work as usual, and compare them with what was sent. Once drafts are visible, track weekly, per intent:

MetricHow to measureWhat it tells you
Use rateDrafts sent, edited or not, divided by drafts shownWhether drafts help at all
Edit sizeCharacter or word diff between draft and sent replyHow much work the draft saves
Discard reasonsOne-click reason when an agent discardsWrong facts, wrong tone or missing article
No-answer rateShare of no_answer draftsGaps in the knowledge base
Reopen rateTickets reopened within a set window, drafted vs. notWhether drafted answers resolve the issue
Flag rateDrafts with commitment or link flagsHow often the model overreaches

Also have a senior agent grade a small random sample of sent replies each week.

Handle time alone misleads. It falls when agents send drafts without reading them, which is the outcome you least want.

Common mistakes with AI support drafts

These failure modes tend to show up after launch:

  • Agents send drafts unchanged under queue pressure. Watch for drafts sent within seconds of opening, and sample those first.
  • The knowledge base drifts. A pricing page or return window changes, and drafts keep citing the old article until someone retires it.
  • Every reply in a long thread gets a fresh draft repeating earlier answers. Draft on creation and reopen, then only on request.
  • Quoted email history outweighs the newest message, so the draft answers last week's question.
  • The prompt changes without a rerun of the test set built from shadow-mode tickets.

When to let AI send replies without review

Consider it only for narrow, low-impact intents, such as order status from your own tracking data, after a long run of drafts sent unchanged, few reopens and no commitment flags. Keep sampling, keep a switch that returns the intent to review, and never auto-send replies about money, account access or personal data.

If you'd rather not build and run this yourself, our AI automation service builds email and ticket triage that sorts, routes and drafts requests for review, then monitors and improves it as your tools and processes change. Suggested replies are one of the starting points in 20 AI automations SMBs deploy first.

Frequently asked questions

Should you use your helpdesk's built-in AI reply suggestions?

Test them in shadow mode on the same metrics first. Check what context they read, whether they see internal notes, and whether you can restrict them to approved articles. Build your own when replies depend on order or billing data the helpdesk can't reach.

How good does the knowledge base need to be before AI drafts help?

Good enough that agents already answer the target intents from articles or macros. If agents mostly write answers from memory, the model has nothing reliable to ground on. Write the missing articles first, starting with the questions that produce the most no_answer drafts in shadow mode.

Can AI draft replies in languages your agents don't speak?

It can write them, but nobody can review them. Route those tickets to agents who read the language, or show the reviewer a translation beside the draft and limit it to low-impact intents. Measure reopen rates per language, since quality can differ.

Insights

Related insights

More on AI Automation →
  • AI Automation

    How to Automate Contract Data Extraction with AI

    How to automate contract data extraction with AI: cite every value, compute renewal and notice deadlines in code, and send risky clauses to a person.

    7 min read

  • AI Automation

    How to Build an Internal Knowledge Assistant with AI

    How to build an internal knowledge assistant with AI: start with one knowledge area, give every document an owner, cite sources and route open questions.

    7 min read

  • AI Automation

    How to Automate Recurring Reports with AI

    How to automate recurring reports with AI: compute every figure in code, let the model write only the commentary, check its claims and hold bad runs.

    7 min read

Get AI security and automation insights, monthly

AI security, automation and governance, written by engineers. No spam, unsubscribe any time.

Book a free 30-min call