Most AI automations look impressive the first time someone tries them. You paste in a customer message, the draft reply reads well, and everyone in the room nods. Then the tool goes live, meets a vague message, a misspelled product name or a customer who is already angry, and the quality drops in ways nobody saw coming.
The gap between a good demo and a dependable workflow is testing. This guide walks through a simple method a non-technical team can run before launch: build a small test set from your own real cases, score the results honestly, and decide in advance what counts as ready.
Why one good demo proves very little
AI tools produce different output depending on the input, and they can be confidently wrong. A demo usually uses one or two clean examples chosen by someone who already knows what a good result looks like. Real work is less tidy: incomplete information, mixed languages, unusual requests, attachments that do not open, and questions your business has never answered before.
A test set fixes this by making you look at many realistic cases at once, before customers are involved. It also gives you something to compare against when you change the setup later, so you can tell whether a change helped or quietly made things worse.
Step 1: Write down what a correct result means
Before collecting any examples, describe in plain sentences what the automation is supposed to do and what a good result looks like. Be specific enough that two people on your team would agree on it.
- The task: for example, draft a reply to a booking inquiry, extract line items from a supplier invoice, or categorise incoming support emails.
- What must always be right: prices, dates, names, policy details, tax amounts.
- What must never happen: promising a refund, quoting a price that is not in your price list, sharing another customer's details.
- What is merely nice to have: tone, length, greeting style.
This list becomes your scoring guide. If you cannot write it down, the task is probably not defined well enough to automate yet.
Step 2: Collect real cases, including the awkward ones
Pull real examples from your inbox, order history or forms. Remove or mask personal details first; the test set should not become a new place where customer data sits unprotected. Aim for a set big enough to show patterns, but small enough that a person can review every result. For many small workflows, a few dozen cases is a reasonable start.
Mix four kinds of cases
- Typical cases: the everyday requests that make up most of the volume. These show whether the basics work.
- Messy cases: typos, slang, half-finished sentences, messages that mix Indonesian and English, or several questions in one message.
- Edge cases: unusual but real situations, such as a customer asking about a discontinued product, a booking outside opening hours, or an invoice in a different layout.
- Trap cases: requests the automation should not answer on its own, like a complaint, a legal threat, a request for a discount you do not offer, or a question whose answer is simply not in your information.
Teams often skip the last two kinds because they are uncomfortable. They are where most of the real risk sits, so give them a fair share of the set.
Step 3: Decide the right answer before you run anything
For each case, write what a good outcome would be, or at least what it must and must not contain. For a data-extraction task this is exact: the correct total, the correct date. For a drafted reply it can be a short checklist: mentions the right price, asks for the missing date, does not promise delivery.
Do this before seeing the AI's output. If you write the expected answer after reading the draft, you will unconsciously accept whatever the tool produced because it sounds reasonable. Fixing the standard first keeps the test honest.
For trap cases, the correct outcome is often not an answer at all. It may be: say you will check and pass the message to a person. That is a legitimate pass, and a tool that invents an answer instead should fail.
Step 4: Run the set and score every result
Run all the cases through the automation using the same setup you plan to launch with, then score each one. Keep scoring simple so more than one person can do it consistently. Three labels are enough:
- Pass: usable as is, or with trivial edits.
- Fix: useful but needs a real correction before it could be sent or saved.
- Fail: wrong, invented, risky or off-task.
Then look beyond the totals. Note what kinds of failures appear. Are they concentrated in messy messages? In questions about one product line? In cases where information was missing? Patterns tell you where to act, while a single overall percentage hides them.
Pay special attention to failures that sound confident. A reply that is obviously broken gets caught by anyone. A fluent reply with a wrong delivery policy is the one that slips through.
An automation is ready when it has handled your real, messy cases and you know how often and in what way it fails, not when it impresses you once in a demo.
Step 5: Fix the right layer
When results disappoint, the instinct is to blame the AI model. Often the cause sits elsewhere, and changing the model will not help. Check these in order:
- The information it relies on: if the price list is outdated or two documents contradict each other, the output will too. Our checklist on preparing business data before an AI project covers this groundwork.
- The instructions: vague instructions produce vague behaviour. Add the rules you wrote in Step 1, including what to do when the answer is unknown.
- The task itself: if one step is consistently failing, split it into smaller steps, or take that step out of the automation and leave it to a person.
- The tool or model: consider this last, once the first three are in good shape.
After each change, rerun the whole set, not only the cases that failed. Fixing one problem can create another, and the full rerun is how you catch it.
Step 6: Set a launch bar and a fallback
Decide before you look at the final results what level counts as ready. The bar should depend on the cost of a mistake. Categorising internal emails can tolerate more errors than quoting prices to customers. For anything where a wrong output is costly, the bar for unreviewed use should be very high, and many workflows should keep a person in the loop permanently. We compare the options in human review for AI-drafted customer replies.
Also decide the fallback in advance:
- Who is notified when the automation is unsure or fails?
- How can a staff member switch it off quickly?
- What happens to messages that arrive while it is off?
A launch you can reverse in minutes is much less stressful than one you cannot.
Step 7: Keep testing after launch
Your business changes: new prices, new products, new policies, new kinds of customer questions. Tools and models also get updated by their providers, sometimes changing behaviour without notice. Treat the test set as a living tool.
- Add every real failure you find after launch as a new test case.
- Rerun the set whenever you change instructions, information sources or the tool.
- Review a small sample of live outputs on a regular schedule, even when nothing seems wrong.
This takes far less effort than the first round and it is what keeps an automation trustworthy a year later.
Concrete takeaways
- Define correct and unacceptable results in writing before collecting any examples.
- Build the test set from real, anonymised cases, and include messy, edge and trap cases.
- Write the expected answer first, then run the tool.
- Score with simple labels and look for patterns in the failures, not just a total.
- Fix information and instructions before blaming the model, and rerun the full set after every change.
- Set the launch bar according to the cost of a mistake, and prepare a fallback and an off switch.
- Add new failures to the set and retest regularly after launch.
None of this requires technical skill, only patience and a willingness to look at uncomfortable results before customers do. If you would like help designing or testing an automation for your business, you are welcome to get in touch with us about AI automation.
Frequently asked questions
How many test cases do we need?
There is no magic number. You need enough to cover every kind of case the automation will meet, and few enough that a person can read every result. For a narrow workflow, a few dozen well-chosen cases usually reveal the main problems. Add more as you find new failure types.
Who should score the results?
Someone who does the task today and knows what good looks like, such as a customer service lead or the person who prepares quotes. Ideally two people score a sample independently so you can see where your standards differ. The person who built the automation should not be the only judge.
Do we still need to test if we use a well-known AI tool?
Yes. A popular tool being good in general does not mean it works well on your products, your policies and the way your customers write. The test checks your specific setup and your information, which the tool provider cannot test for you.



