13

Speech recognition mishears names. Here is how our voice agent still finds the right site

In short

  1. Speech recognition often mishears names: the officer says "Krameria", the transcript says "Cremieria". A voice agent that searches for the exact text finds nothing, or the wrong site.
  2. Our incident line searches 3,496 sites and 6,627 employees in steps: exact key first, then fuzzy matching, then phonetic matching.
  3. The agent reads the match back for the caller to confirm, it cannot skip the lookup, and the directory syncs from the ERP. So every report carries a real, confirmed record.

An officer calls in an incident and says the site is "Krameria". Speech recognition writes "Cremieria". The database has no site called Cremieria, and one retail chain in it has 84 sites with the same name.

This is the normal case for a voice agent that works with real records, not an edge case. Here is how we handle it in the incident line we built for a US security services company.

Why a plain lookup fails

People say site names and addresses the way they speak, not the way the database stores them. The transcript adds its own mistakes on top: similar sounds, merged words, names the model has never seen.

If the agent searches the directory for the exact text it heard, it finds nothing, or worse, it finds the wrong site. On an incident call a wrong site is worse than no site, because the report goes to the wrong place.

Search in steps, from strict to loose

During the call the agent looks up the site by name, address or job number, and the officer by name or employee ID. It runs the search in a fixed order across 3,496 sites and 6,627 employees:

  1. Exact key first. A job number or employee ID either matches or it does not.
  2. Fuzzy matching next, for typos and merged words in names and addresses.
  3. Phonetic matching last, for names that sound alike but are spelled differently. This is the step that turns "Cremieria" back into "Krameria".

The order matters. Loose matching on every call would return plausible but wrong records. Starting strict keeps the common case fast and exact.

Read it back, let the caller decide

The agent never files a matched record silently.

A confident match is read back for the caller to confirm. Several close candidates are read as a short list. No match means the agent asks again, for example for the address or the job number.

The caller is the only one who knows which Krameria they are standing in. The agent's job is to narrow the choice to one or two options they can confirm in a few words.

Does your phone line deal with names, addresses or order numbers? Let us build the agent for it.

Tell us which calls you get. We show how the agent would find the right record in your own data, and what the first version would cover.

Talk about my phone line

Make the lookup impossible to skip

Early on, the model sometimes skipped the directory check and wrote the spoken name straight into the report. We made the lookup calls mandatory and first in line, so the agent cannot fill the site field without a directory record behind it.

Later we added recognition by phone number. A known caller and site are filled in before the first question, and the agent only confirms them.

Keep the directory clean

Matching is only as good as the records behind it. The directory syncs from the company's ERP through n8n, and only adds, updates and deletes are applied, so the table never empties. Duplicate job numbers and one-line addresses broke the first version of the sync, so we re-keyed it and rewrote the address parser.

What you get at the end of the call

Every call ends with a complete report: an email to dispatch, a record in the incident system and a text to the caller with the incident number. The site and the officer in that report are real records, confirmed by the person on the line.

The full project, including the two-agent phone line and how we switched it over without downtime, is in the case study.

Does your phone line take the same kind of call all day? Let us build the agent for it.

We start with a fixed-price pilot from $1,000: one call type, tested on your real calls.

Start with a pilot

See the full incident line case →

FAQ

Why does speech recognition get names wrong?

Names of places and people are rare words. The model has often never seen them, so it writes the closest words it knows. Phone audio, accents and noise on a site add more mistakes.

What is phonetic matching?

It compares how words sound, not how they are spelled. In Metaphone, a common phonetic code, both "Krameria" and "Cremieria" come out as KRMR, so the agent can find the record the caller meant.

Why not use fuzzy matching for every lookup?

Loose matching on every call returns records that look right but are wrong. Exact keys such as a job number or an employee ID go first, and looser steps only run when the strict ones find nothing.

How does the agent make sure it picked the right record?

It reads the match back and the caller confirms it. Several close matches are read as a short list. No match means the agent asks again, for the address or the job number.

What is the incident line built on?

Retell for the voice agent, n8n for the automation, and the company's ERP directory as the source of sites and employees. Callers can also type numbers on the keypad.

How do we start a project like this?

With a fixed-price pilot from $1,000: one call type, tested on your real calls. If it works, we add the next call type.

Sources

Rate this article
0 reviews
Comments
Be the first to
Rate this article
0 reviews
Comments
Be the first to

Recommended articles