AI intake triage for service requests with measured review
Classify and route a synthetic intake set and measure uncertain cases, review time and success rate.
By Invicly Tech, , in n8n, AI Automation and Voice Agents. About 7 minutes to read.
In short
Intake triage means a model reads each incoming service request, picks a category and says how sure it is. Confident cases go straight to the right queue. Uncertain ones go to a person. You then measure how often that works, so the numbers, not a feeling, tell you if it is good enough.
Think of it like this: It is like a mailroom clerk who sorts letters into trays but puts anything unclear on the supervisor's desk.
Explained simply
Imagine a shared inbox for a small repair business. Every day requests arrive: a leaking tap, a billing question, a complaint. Someone has to read each one and send it to the right person. Triage is that sorting step, and a model can do much of it.
In n8n the Text Classifier node reads a message and picks one of the categories you define. You write each category with a short description, so the model knows what it means. You can also add a catch-all category for anything that fits nowhere.
A model can be wrong, so you do not send everything automatically. You decide a rule: if the answer is clear, route it. If it is unclear, send it to a person. The Switch node then sends each request down the right path, and its fallback output catches whatever is left.
To know if this works you need numbers. Build a small set of made-up requests where you already know the right category. Run them through the workflow and count how many were right, how many went to a person, and how long a person took. That is your evidence.
Press Play on a diagram to walk through it one step at a time.
- 1Request arrives
Form or webhook, synthetic data only
- 2Text Classifier
Category plus a short reason
- 3Confidence check
Compare with your threshold
- 4Switch node
One output per category, plus fallback
- 5Queue or reviewer
Low confidence goes to a person
- More cases go to people
- Few wrong automatic routes
- Higher review time
- Safe while learning
- Fewer reviews
- More wrong routes
- Lower review time
- Needs strong test results
In depth
Build the labelled set before the workflow
Write 40 to 60 synthetic requests, never real customer messages. Give each one a correct category and include hard cases: two topics in one message, very short text, a request in the wrong place. Keep about a quarter of them aside as a test set you never use while tuning the prompt. Without that split you will fool yourself, because you will keep adjusting category descriptions until the same examples pass.
- Synthetic text only, with example.com addresses
- Include ambiguous and off-topic cases
- Hold back a test set
- Store the set in a data table or a CSV
Route by category and confidence
The Text Classifier gives you the category, not a trusted probability. If you need a confidence signal, ask the model to return a short reason and a rating such as high, medium or low, then check that rating against your labelled set. A rating is only useful if low really does mean more mistakes. Send low ratings, the catch-all category and invalid output to a review queue. Everything else goes to the Switch node, which has one output per category and a fallback output.
- Clear category
- Billing queue
- Repairs queue
- Complaints queue
- Unclear or low rating
- Human review queue
- Invalid output
- Error branch and alert
Measure what matters
Four numbers are enough. Accuracy is the share of automatic routes that were right. Review rate is the share sent to a person. Review time is the average minutes for one review. Wrong-route rate is how often an automatic route was wrong, because that one hurts customers. A system that reviews 40 percent of cases but is nearly never wrong may beat one that reviews 5 percent and is wrong 10 percent of the time. Pick the threshold with the cost of each mistake in mind.
- Accuracy of automatic routes
- Review rate
- Minutes per review
- Wrong-route rate
Learn it in 4 short steps
About 45m each. Track them with a timer in your plan.
- 1Build a labelled synthetic intake set~45m
- 2Route by category and confidence~45m
- 3Send uncertain cases to a person~45m
- 4Measure review time and accuracy~45m
Key points
- Build a small labelled set first (for example 40 synthetic requests with the right category written down).
- Route by category and by confidence. A fallback output catches anything that does not match.
- Uncertain cases going to a person is a feature, not a failure.
- Measure accuracy, the share sent to review, and minutes of review per case.
Key terms
Tap a card to flip it. 0/5 known
Examples
Scoring the test set
After running 50 labelled requests you export the results. A short Code node counts correct routes and reviews so you can compare two prompt versions on the same data.
const rows = $input.all().map(i => i.json);
const auto = rows.filter(r => r.route !== 'review');
const right = auto.filter(r => r.route === r.expected);
return [{ json: {
total: rows.length,
reviewRate: 1 - auto.length / rows.length,
autoAccuracy: right.length / auto.length,
} }];A tricky request
The message says: My invoice is wrong and the tap you fixed is leaking again. It has two topics. The classifier picks Billing with a low rating. The rule sends low ratings to review, a person splits it into two tickets, and you add this case to the labelled set so the next prompt change is tested against it.
Quick reference
- Text Classifier: one category per label with a clear description
- Add a catch-all category for requests that fit nowhere
- Switch node: one output per category, plus a fallback
- Never tune on the same cases you test on
- Track accuracy, review rate, review minutes, wrong-route rate
Common mistakes
- Trusting the model's confidence without checking it against labelled cases.
- Testing on the same examples you used to write the prompt.
- Counting only accuracy and ignoring how long review takes.
Quick quiz
Pick an answer to see if you're right and why.
Practice exercises
Try each one yourself first. Use the hint if you get stuck, then compare with the solution.
- Exercise 1easy
Write 10 synthetic requests with a correct category for each. Use three categories.
- Exercise 2medium
Build a workflow with a Text Classifier and a Switch node that sends each category to its own Set node.
- Exercise 3hard
Compute accuracy and review rate for two prompt versions on the same 40 cases and pick one.
Check yourself
Answer in your head, reveal, then be honest with yourself.
Feel confident about this topic?
Frequently asked questions
- Can I use rules instead of a model?
- Yes. If keywords are enough, a Switch node alone is cheaper and predictable. Use a model when wording varies a lot.
- How many test cases are enough?
- Start with 40 to 60. More is better, but even a small honest set beats none.
- Is the model's confidence a real probability?
- Not reliably. Treat it as a rough signal and check it on your own test set.