Case 58: How many support tickets should an AI handle alone?
A teaching case on automating customer support: set the confidence threshold at which an AI answers alone. Trade savings against the cost of wrong answers.
Every automation decision hides a dial. Turn it one way and the machine takes on more of the work, which saves money, and makes more mistakes, which costs money. Turn it the other way and the machine takes on only the easy cases, which it gets right, and leaves most of the work to people. The right setting is not "as much as possible" or "as little as possible". It is the point at which the next ticket handed to the machine would cost more in mistakes than it saves in effort. This case asks you to find that point for a grocery delivery company that has built an assistant to answer support tickets. You will practise reading a coverage and accuracy table, computing the monthly cost at each setting, finding where the cost is lowest, seeing how the answer moves with the cost of a mistake and designing the system so that the dial is set by evidence and not by hope.
This is a composite case. Kiranabox, its people and its figures are invented for teaching, built on patterns common among consumer delivery companies. No real company is described, and the figures are illustrative, not benchmarks for any real assistant.
The decision
Mehul Sharma, head of customer experience at Kiranabox, a grocery delivery company, has an AI assistant that can read a support ticket, draft an answer and attach a confidence score between 0 and 1. A ticket whose score is above a threshold is answered by the assistant on its own. A ticket whose score is below the threshold goes to a human agent. The vendor's demo shows the assistant on its best day. The chief executive wants to "automate as much as possible". The support head worries about angry customers and wrong refunds. Mehul has to set the threshold for launch, and have a reason for the number.
Background
The volume. Kiranabox receives about 100,000 support tickets a month: late deliveries, missing items, refund requests, payment failures and questions about offers.
Costs.
A ticket handled by a human agent costs ₹65 (salary, tools, management and the time it takes).
A ticket handled by the assistant costs ₹4 (computing, the software licence and monitoring).
A ticket that the assistant gets wrong costs more: a wrong refund, a wrong answer that leads to a second ticket, an angry customer who leaves. Kiranabox estimates this at ₹300 per wrong answer, including the cost of fixing it by a human.
What the assistant can do at each threshold. The team ran the assistant on 20,000 past tickets whose correct answers were known. Raising the threshold makes the assistant answer fewer tickets, but more accurately. The table shows, for each threshold, the share of tickets the assistant would answer on its own (coverage) and how often its answers were right.
Threshold · Share answered by the assistant · Accuracy of its answers0.95 · 22% · 99.2%
0.90 · 38% · 98.5%
0.80 · 55% · 96.8%
0.70 · 68% · 94.0%
0.60 · 78% · 90.0%
0.50 · 86% · 85.0%
The pattern is typical. The easy tickets, such as "where is my order?" with an obvious tracking status, are answered at high confidence and nearly always correctly. The harder ones, which involve judgement about a refund or a complaint, are answered at lower confidence and more often wrongly.
The numbers
Exhibit 1: the monthly cost at each threshold
For each threshold, the monthly cost is the cost of the assistant's tickets (₹4 each plus the cost of its errors) plus the cost of the tickets left to humans (₹65 each).
At a threshold of 0.80, for example: the assistant answers 55,000 tickets. It costs 55,000 × ₹4 = ₹2.2 lakh, plus errors of 3.2 per cent × 55,000 = 1,760 wrong answers × ₹300 = ₹5.28 lakh. The remaining 45,000 tickets go to humans at ₹65 = ₹29.25 lakh. The total is ₹2.2 + 5.28 + 29.25 = ₹36.73 lakh.
Threshold · Answered by assistant · Wrong answers · Cost of assistant tickets and errors · Cost of human tickets · Total a monthAll human · 0 · 0 · 0 · ₹65.00 lakh · ₹65.00 lakh
0.95 · 22,000 · 176 · ₹1.41 lakh · ₹50.70 lakh · ₹52.11 lakh
0.90 · 38,000 · 570 · ₹3.23 lakh · ₹40.30 lakh · ₹43.53 lakh
0.80 · 55,000 · 1,760 · ₹7.48 lakh · ₹29.25 lakh · ₹36.73 lakh
0.70 · 68,000 · 4,080 · ₹14.96 lakh · ₹20.80 lakh · ₹35.76 lakh
0.60 · 78,000 · 7,800 · ₹26.52 lakh · ₹14.30 lakh · ₹40.82 lakh
0.50 · 86,000 · 12,900 · ₹42.14 lakh · ₹9.10 lakh · ₹51.24 lakh
The cheapest setting is a threshold of 0.70, at ₹35.76 lakh a month, which is 45 per cent below the all-human cost of ₹65.00 lakh. Going further, to 0.60 or 0.50, costs more, because the extra errors cost more than the extra human work saved.
Exhibit 2: the margin between two thresholds
Moving from a threshold of 0.80 to 0.70 hands another 13,000 tickets to the assistant. That saves 13,000 × (₹65 − ₹4) = ₹7.93 lakh of work. But it adds errors: at 0.70 the assistant makes 4,080 errors against 1,760 at 0.80, an increase of 2,320 errors, costing 2,320 × ₹300 = ₹6.96 lakh. The net saving is ₹0.97 lakh a month. That is small, and the margin disappears quickly: the next step, to 0.60, adds 10,000 tickets but 3,720 more errors, and the net is a loss of ₹5.06 lakh.
The lesson is that the cost curve is flat near the bottom and steep on the right. A threshold of 0.80 costs ₹36.73 lakh and one of 0.70 costs ₹35.76 lakh: almost the same. The flat part means that a wrong estimate of the best threshold costs little if it errs on the cautious side, and a lot if it errs on the bold side.
Exhibit 3: what if an error costs more?
The ₹300 per error is an estimate. If a mistake really costs ₹600 (for example, because wrong refunds are larger and angry customers leave more often), the numbers change. In the second line of the chart, the cost is lowest at a threshold of 0.80, at ₹42.01 lakh. At 0.70 the cost is ₹48.00 lakh, and at 0.50 it is ₹89.94 lakh, more than the all-human cost of ₹65.00 lakh. The right threshold depends heavily on what an error costs.
Questions to consider
1. Why is the cost lowest at a threshold of 0.70, and not at the lowest threshold that keeps accuracy above, say, 90 per cent?
2. At the margin between 0.80 and 0.70, what do you gain and what do you lose? Why does the saving shrink?
3. How would the best threshold change if a wrong answer costs ₹600? What if it costs ₹150?
4. What can Mehul do to lower the cost of an error, and what effect would that have on the best threshold?
5. What does the table assume that might not be true in the real launch? How would you find out?
6. What would you recommend for launch, and how would you adjust it over time?
Analysis
Step 1: the question is about the margin
The common mistake in automation is to ask "how accurate is it?" and to automate if the answer is "good enough". The better question is about the last ticket: at the current threshold, is the next ticket that the assistant would take worth taking? A ticket is worth handing over if the human work it saves exceeds the expected cost of the assistant getting it wrong.
For one ticket, the saving is ₹65 − ₹4 = ₹61. The expected cost of an error is (1 − accuracy) × ₹300. The ticket is worth handing over if its error rate is below ₹61 ÷ ₹300 = 20 per cent. That is, the assistant should take any ticket on which it would be right at least 80 per cent of the time.
This is neat but too simple, because the accuracy at each threshold is an average over all the tickets answered at that threshold, while the decision is about the marginal tickets. The marginal tickets, those that fall between thresholds, are less accurate than the average. At the step from 0.70 to 0.60, the 10,000 additional tickets add 3,720 errors, an error rate of 37 per cent for those marginal tickets, well above the 20 per cent limit. They should stay with humans. For the step from 0.80 to 0.70, the 13,000 extra tickets add 2,320 errors: an error rate of about 18 per cent, just under the 20 per cent limit, so they are worth taking, but barely.
Step 2: the optimum is flat on one side and steep on the other
The cost curve is U-shaped. On the left, at a high threshold, the assistant does little work and most tickets cost ₹65. On the right, at a low threshold, errors multiply and the cost rises sharply. The minimum, at 0.70, is ₹35.76 lakh, but 0.80 costs ₹36.73 lakh, only ₹0.97 lakh more (2.7 per cent). Meanwhile 0.60 costs ₹40.82 lakh, ₹5.06 lakh more (14 per cent).
This asymmetry is the most useful practical point. When the estimate of error cost or accuracy is uncertain, it is much safer to err on the side of a higher threshold. A threshold of 0.80 gives up almost nothing against the best case and protects against surprises. A threshold of 0.60 puts a large cost at risk for no expected gain.
Step 3: the cost of an error is the lever
Exhibit 3 shows that the best threshold moves from 0.70 to 0.80 when an error costs ₹600 instead of ₹300, and that a very low threshold becomes disastrous: at 0.50 the cost is ₹89.94 lakh, 38 per cent more than not using the assistant at all.
So Mehul should measure what a wrong answer costs. The ₹300 is an estimate that includes the cost of a human fixing the mistake, the value of a wrong refund and the lost future orders of an angry customer. Each part can be sampled: take 200 wrong answers, count how many led to a second ticket, how many to a refund that should not have been given, and how many customers did not order in the following 60 days.
He can also lower the cost of an error, which pushes the best threshold downward and increases the saving.
Limit what the assistant can do. For example, let it answer questions and update information, but not issue refunds above ₹500 on its own. A wrong answer that cannot lose much money is cheaper.
Use a safe fallback. Let the customer click "talk to a person" at any time, so that a wrong answer can be corrected before it causes harm.
Check before sending. For sensitive categories, such as payment disputes, require human approval of the drafted answer, which is cheaper than writing it.
Use different thresholds for different topics. An order status query is low risk, and a complaint about an allergy is not. A threshold per category is better than one for all.
Step 4: what the table may be hiding
The test set may not match real life. The 20,000 past tickets were scored by the team. Real tickets may include new kinds of problems, abusive messages, or tricks to get refunds from an automated system. Accuracy in the first month is likely to be lower than in the test.
Accuracy drifts. Products, offers and customers change. A threshold that worked in month 1 can be wrong in month 6, so accuracy needs a continuing check (as in Case 60).
Averages hide groups. The assistant may do worse for customers who write in a regional language, or for older customers. A cost that looks small on average can be large for a group, and unfair.
Customer satisfaction. Even a correct answer from a machine can annoy a customer who wanted a person. The ₹300 does not capture this unless the sample of "errors" includes unhappy but technically correct cases.
Human agents change. If the easy tickets go to the assistant, the humans are left with the hardest ones. Their cost per ticket will rise, because each is harder. The ₹65 may become ₹80.
Step 5: launch carefully, then move the dial
Mehul can use the table to launch, and then adjust.
1. Start at a threshold of 0.85, a little more cautious than the 0.70 optimum, and above the 0.80 that is nearly as cheap. This builds experience at low risk.
2. Sample the assistant's answers. Each day, have a human check a random 300 of the assistant's answers and 300 of the borderline ones, and compute the actual accuracy and the cost of errors.
3. Move the threshold with evidence. After four weeks, if actual accuracy at 0.80 matches the table (96.8 per cent) and the cost of an error is near ₹300, move to 0.80, then 0.75, and stop when the marginal tickets' error rate approaches 20 per cent.
4. Set topic-level thresholds after three months, with stricter limits for refunds and complaints.
5. Add alarms. If accuracy in any category drops by 2 points in a week, raise the threshold automatically and alert the team.
6. Report the right measures: cost per ticket including errors, share automated, accuracy by category, repeat contact rate and customer satisfaction.
Step 6: the recommendation
Mehul might say: "Launch at a threshold of 0.85, which automates about 46 per cent of tickets and cuts the monthly cost from ₹65 lakh to about ₹40 lakh on our estimates. The best setting on the test data is 0.70 at ₹35.8 lakh, but it is a very flat optimum, and going too low is expensive. We will check 600 answers a day, measure what a mistake really costs, restrict the assistant from large refunds, and move the threshold in steps as the data allow. If the cost of a mistake turns out to be ₹600, our best setting is 0.80 and we will stop there."
What happened
This part of the case is an illustrative epilogue, not a real outcome.
Kiranabox launched at 0.85. In the first month, accuracy on sampled answers was 97.6 per cent against 97.5 per cent expected, but the cost per error was ₹410, a little above the estimate, because wrong refunds were larger than assumed. The assistant was barred from refunds above ₹400, which cut the average error cost to ₹330. The threshold moved to 0.80 after six weeks and to 0.75 after twelve, with customers' satisfaction scores unchanged. At three months, monthly cost was about ₹37 lakh, 43 per cent below the all-human cost.
Key takeaways
Automation is a dial. The best setting is where the next ticket handed to the machine would cost more in errors than it saves in effort.
At ₹65 against ₹4 per ticket and ₹300 per error, the assistant should take a ticket if it is right at least about 80 per cent of the time.
Monthly cost was lowest at a threshold of 0.70 (₹35.76 lakh, 45 per cent below all-human), and rose to ₹51.24 lakh at 0.50 and ₹52.11 lakh at 0.95.
The optimum is flat on the cautious side and steep on the bold side. A threshold of 0.80 cost only ₹0.97 lakh more than 0.70. A threshold of 0.60 cost ₹5.06 lakh more.
The cost of an error is the lever. At ₹600 per error the best threshold moved to 0.80, and 0.50 cost more than not automating.
Lower the cost of errors by limiting what the assistant can do, offering a person on request, checking sensitive answers and using thresholds by topic.
Launch cautiously, sample daily, move the threshold with evidence and add alarms for drift.
Try this
Set the dial for an automation of your own. Set aside forty-five minutes.
1. Choose a task where a machine could handle part of the work and a person the rest, such as support replies, document checks or alerts. Estimate the cost of a person doing a case, a machine doing it and a machine getting it wrong.
2. Create or collect a table of coverage and accuracy at five or six confidence thresholds.
3. Compute the monthly cost at each threshold, and find the lowest. Use the simulator pattern.
4. Compute the marginal error rate between adjacent thresholds and compare it with the break-even error rate (the saving per case divided by the cost of an error).
5. Test the answer if an error costs twice as much, and list two ways to reduce the cost of an error.
6. Write a five-sentence launch plan: the starting threshold, what you will sample, how you will move it, the alarms and what would make you stop.
A good result is a cost table by threshold, a break-even error rate, a marginal check, a test of the error cost and a launch plan that starts cautiously. Case 59 looks at which model to use for such a task, when a cheap one and an expensive one are both available.
Tags: Case study AI automation Customer support Confidence threshold Error cost