Score voice agent outcomes: intent, read-back and bookings
Score intent, slot read-back, task completion, wrong or duplicate bookings, escalation and latency, separately for text and live audio.
By Invicly Tech, , in n8n, AI Automation and Voice Agents. About 9 minutes to read.
In short
A voice agent can sound fine and still book the wrong day. Outcome evals score what happened for the business: did it understand the request, read the details back correctly, finish the task, and avoid bad bookings. You report text and live audio results separately, because they fail in different ways.
Think of it like this: It is like judging a receptionist by whether the right appointments end up in the diary, not by how pleasant the voice is.
Explained simply
A voice agent can sound friendly and still book the wrong day. So we score what happened, not how it sounded. Did it understand what the caller wanted? Did it read the details back correctly? Did the right appointment end up in the calendar?
Each question becomes a number. Intent accuracy is the share of calls where the agent understood the goal. Read-back accuracy checks that the date and time it said aloud match what it booked. Task completion counts finished jobs.
Some numbers are more serious than others. A wrong booking or a duplicate booking can harm a real person, so count them separately and aim for zero. Also track how often the agent hands over to a human, and how long each reply takes.
Finally, report text and live audio results in separate columns. If text scores well and audio does not, the problem is in speech recognition or the audio path, not in your prompt.
Press Play on a diagram to walk through it one step at a time.
- Understanding
- Intent correct
- Slots extracted correctly
- Read-back
- Date read back right
- Time read back right
- Caller confirmed
- Result
- Task completed
- Wrong booking
- Duplicate booking
- Handling
- Escalated when needed
- Latency per turn
- Isolate prompt and workflow quality
- Run on every change
- Latency is model time only
- Expected to score highest
- Adds speech recognition and voice
- Run before a release
- Latency includes speech and network
- A drop here points to the audio path
- Intent correct: 96 percent
- Read-back correct: 94 percent
- Wrong bookings: 0
- Duplicates: 0
- Intent correct: 90 percent
- Read-back correct: 86 percent
- Wrong bookings: 1
- Duplicates: 0
In depth
Turn each metric into a rule
A metric is only useful if a script can compute it. Intent correct means the detected intent equals the expected intent in the fixture. Slot correct means each extracted value equals the expected value. Completed means the final state matches the fixture, for example one booking in the mock calendar at the right time. Write these as small functions, run them for every fixture, and store the results with the fixture set version and the agent version.
- Intent: detected equals expected
- Slots: each value equals expected
- Completion: final state equals expected
- Store with set and agent versions
Read-back, wrong and duplicate bookings
Read-back is where voice agents go wrong quietly. The agent says Thursday the 14th at 3 pm, but the booking tool receives the 4th. Score this by comparing the spoken slots with the slots sent to the tool, and both with the expected values. Count a wrong booking when the calendar holds a time the caller did not agree to. Count a duplicate when the same caller and time appear twice. For these two, the target is zero, so report the raw count and not a percentage.
- Caller to Agent: Thursday afternoon, around three1Thursday afternoon, around three
- Agent to Caller: Spoken read-back: Thursday 14th, 3 pm2Spoken read-back: Thursday 14th, 3 pm
- Caller to Agent: Yes, that is right3Yes, that is right
- Agent to Booking tool: Tool call: date and time slots4Tool call: date and time slots
- Booking tool to Agent: Booking created5Booking created
Escalation and latency
Escalation has two failure modes. The agent can hand over when it did not need to, which wastes staff time. Or it can fail to hand over when it should have, which frustrates the caller. Track both. For latency, measure the time from the caller finishing to the agent starting its reply, and report the median and the 95th percentile. A good median with a bad tail still feels broken to some callers.
- Needed and taken
- Needed but missed
- Taken but not needed
- Median and P95 latency
Text and audio, side by side
Run the text fixtures on every change. They isolate prompt, model and workflow quality. Run the audio fixtures before a release, because they add speech recognition, the voice, and network delay. Show both in one table with separate columns. When the audio column falls but the text column does not, look at the speech to text step, the microphone settings and the interruption handling before you touch the prompt.
Learn it in 5 short steps
About 35m each. Track them with a timer in your plan.
- 1Define outcome metrics~35m
- 2Score slot read-back accuracy~35m
- 3Count wrong and duplicate bookings~35m
- 4Track escalation and latency~35m
- 5Report text and audio results apart~35m
Key points
- Define each metric with a rule a script can check, such as slot equals expected slot.
- Slot read-back accuracy asks whether the date and time the agent said aloud match what it will book.
- Count wrong bookings and duplicate bookings as their own numbers. One of either is worse than a few failed calls.
- Track escalation both ways: handoffs that were needed and handoffs that were skipped.
- Report text and audio results in separate columns, so a gap between them tells you where to look.
Key terms
Tap a card to flip it. 0/5 known
Examples
Scoring read-back
For each fixture, take the date and time the agent said aloud, the values sent to the booking tool and the expected values. The case passes only if all three agree. This small script prints one line per case and a total.
type Row = { id: string; spoken: string; sent: string; expected: string };
export function readBackScore(rows: Row[]) {
const bad = rows.filter(
(r) => !(r.spoken === r.sent && r.sent === r.expected),
);
bad.forEach((r) => console.log("FAIL", r.id, r.spoken, r.sent, r.expected));
return { total: rows.length, failed: bad.length };
}Finding duplicate bookings
After a replay, read the mock calendar and group bookings by caller and start time. Any group larger than one is a duplicate. The count goes straight onto the scorecard, and one is enough to fail a release.
type Booking = { caller: string; start: string };
export function duplicates(list: Booking[]) {
const seen = new Map<string, number>();
for (const b of list) {
const k = b.caller + "|" + b.start;
seen.set(k, (seen.get(k) ?? 0) + 1);
}
return [...seen.values()].filter((n) => n > 1).length;
}Quick reference
- Score outcomes: intent, read-back, completion, wrong and duplicate bookings, escalation, latency.
- Define each metric as a rule a script can check.
- Wrong and duplicate bookings: report counts, target zero.
- Report median and P95 latency, not just the average.
- Show text and audio results in separate columns.
- Always record fixture set and agent versions with a score.
Common mistakes
- Averaging everything into one score, which hides a single dangerous wrong booking.
- Mixing text and audio results, so a speech recognition problem looks like a prompt problem.
- Judging only the final transcript and never checking what was written to the calendar.
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 the rule for slot correct for a date and a time slot.
- Exercise 2medium
Design a scorecard table with text and audio columns and six rows of metrics.
- Exercise 3hard
Choose release rules for the scorecard. Include one rule on a zero count and one on a drop compared with the last release.
Check yourself
Answer in your head, reveal, then be honest with yourself.
Feel confident about this topic?
Frequently asked questions
- What is a good task completion rate?
- It depends on your cases. Set a target from a baseline run, then watch the trend and make sure the zero-tolerance counts stay at zero.
- Can a language model score the calls?
- It can help judge tone or wording, but use plain rules for money and booking facts, because those have exact right answers.
- Why keep text and audio results apart?
- They fail for different reasons. Separate columns show whether to fix the prompt or the audio path.