Building an AI Support Triage Bot That Knows When to Shut Up
The best support automation answers the easy 40% and gets out of the way for the rest. Confidence thresholds, escalation design and the metrics that tell you whether the bot is helping or hiding problems.

Every support bot pitch promises to "deflect 80% of tickets." Every customer who has been trapped in a chatbot loop knows what deflection actually feels like. The goal is not deflection. The goal is resolution — and a bot that resolves 40% of tickets cleanly and hands the other 60% to a human with good context beats a bot that "handles" 80% badly.
I have built three of these. Here is what the third one does differently.
Start with triage, not answers
The first version of any support automation should not talk to customers at all. It should read incoming tickets and label them: category, urgency, sentiment, and whether a known help article answers the question.
Run that silently for two weeks alongside your human team. Compare the labels against what agents actually did. You will learn:
- Which categories the model labels reliably (usually password resets, billing questions, shipping status)
- Which it confuses (bug reports vs. feature requests, almost always)
- What share of tickets genuinely have a documented answer
That last number is your realistic ceiling for automated answers. If only 35% of tickets map to an existing article, no prompt will get you to 80%.
Confidence is a product decision
The model will happily answer everything. Your job is to decide when it should not. I use three signals:
1. Retrieval score. If the best-matching help article scores below a threshold, the bot does not answer. 2. Category allow-list. The bot only answers in categories where silent triage showed high accuracy. 3. Risk keywords. Anything mentioning refunds over a limit, legal language, account deletion, or security goes straight to a human.
function shouldAutoReply(t: Triage): boolean {
if (t.riskFlags.length > 0) return false;
if (!ALLOWED.has(t.category)) return false;
if (t.topDocScore < 0.78) return false;
if (t.sentiment === class="text-code-string">"angry") return false;
return true;
}Angry customers go to humans. Always. A correct answer delivered by a bot to a furious customer is still a bad experience.
The handoff is the product
When the bot escalates, the human agent should receive more than the ticket. They should get:
- The bot's category and urgency guess
- The top two help articles it considered and their scores
- A two-line summary of the actual problem
- Any account details already looked up
This alone saves agents two to three minutes per ticket, even on tickets the bot never touched. In my experience, the escalation context delivers more total value than the automated replies do.
Always offer the exit
Every automated reply ends with a single clear option to reach a person. Not buried, not after three "did this help?" prompts. One line, one click. Customers who know they can escape are far more willing to read the bot's answer.
Measure the right things
Deflection rate is a vanity metric. These are the ones I track:
| Metric | Why it matters | |---|---| | Reopen rate on bot-closed tickets | The honest measure of whether answers worked | | Time to first human response on escalations | Is the bot slowing down hard cases? | | CSAT split by bot vs. human resolution | Catches "resolved" tickets that annoyed people | | Escalation rate by category | Tells you where to write new help articles |
If the reopen rate on bot-closed tickets is above about 10%, the bot is closing tickets it should not, and your thresholds are too loose.
The documentation feedback loop
The most useful output of the system is not the replies. It is the list of questions customers keep asking that have no good help article. Every week I export the top escalated categories with low retrieval scores and hand it to whoever owns documentation. Write those articles and the bot's ceiling rises automatically.
What I would not automate
- Refunds and credits beyond a small fixed amount
- Anything involving account ownership or access recovery
- Bug reports — the bot can collect details, but a human should confirm
- Cancellations — retention conversations need judgement
A support bot that knows its limits builds trust. One that pretends to know everything burns it, and customers remember that longer than they remember a quick answer.
Paj Digital Labs
The engineering journal of Paj Digital Solutions — hosting, server infrastructure and web engineering, written by the people who run the servers.
Related reading

Streaming AI Responses: Partial Text Is Not a Completed Result
Streaming improves perceived speed but adds cancellation and partial-output states. Keep tool actions, structured results and saved answers behind a verified completion boundary.

Human Review Queues for AI: Confidence Is Not a Permission Slip
A model’s self-reported confidence does not establish accuracy. Route uncertain and consequential cases using tested rules, show reviewers the evidence and record their decisions without rubber-stamping.

AI Evaluation Sets: Keep the Test Data Out of the Tuning Loop
An evaluation stops being independent when every prompt revision is shaped around its answers. Separate development examples from held-out cases and measure meaningful failure categories.