rokan

Why does my voice agent save the wrong name or address?

A wrong name or address can be changed at three steps: speech-to-text mishears it, the model or the save step changes a correct transcript, or the caller spells it and the agent ignores the letters. Put the transcript, the function arguments and the saved record side by side, and the first one that is wrong is the step to fix.

Updated · General advice for any voice platform · 5 min read

The symptom

  • The booking or CRM record has “Jon Smith” when the caller is John Smyth.
  • The caller spelled “S, M, Y, T, H” and the record still says “Smith”.
  • The street, house number or postcode is wrong, or the address is a real one nearby but not the caller’s.
  • The agent read the name back correctly, but a different spelling was saved.

These usually surface late: a confirmation text goes to the wrong person, or a technician arrives at the wrong door.

Find which step it is

For each bad record, collect four things: what the caller said (the recording), the transcript, the arguments the agent passed to its save or booking function, and what ended up in your system. Then walk along them.

The first place the value goes wrong is the step to fix
What you seeThe step that changed it
The transcript is already wrongSpeech-to-text misheard it. The model never had the right value.
The transcript is right, the function argument is wrongThe model changed it: “corrected” it to a common spelling, mixed it up with an earlier turn, or filled a gap with a guess.
The function argument is right, the saved record is wrongThe save step changed it: field mapping, cutting long values short, dropping accents, apostrophes or hyphens, or an address check that swaps in the nearest match.
The transcript has the spelled letters, but the saved value uses the first guessSpelled letters were ignored. The model kept the earlier version instead of the letters.

If you can’t see the function arguments, turn on logging for them in your own endpoint first. Without them you can’t tell the model from the save step.

Fixes for each step

Speech-to-text misheard it

  • Keyword boosting. Give the transcriber the words it should expect: local street names and towns, the customer’s staff names, product names. Retell calls this Boosted Keywords, under Realtime transcription settings in the agent editor, and notes that boosting makes a term more likely to be recognised, not certain (Retell docs). Most speech-to-text providers have something similar.
  • Ask for spelling of names and anything unusual. No word list covers every surname.
  • Check the audio. On noisy calls, a denoising setting suited to the caller’s surroundings can help more than any word list.

The model or the save step changed it

  • Read-back before saving. The agent reads the value back, spelling names letter by letter, and saves only after the caller says yes. If the caller corrects it, the correction is what gets saved.
  • Copy, don’t fix. Tell the model to pass values exactly as the caller confirmed them, and describe the function field the same way: “the caller’s surname exactly as confirmed; never change the spelling”.
  • Check in code. Before saving, compare the argument with the confirmed read-back or the transcript. If the saved name appears nowhere in the call, hold it and ask again.
  • Test your save step on its own. Send it names like O’Brien, Zoë, Smith-Jones and a long double-barrelled address, and check what comes out the other side.

Spelled letters were ignored

  • Spelled letters win. Add the rule: when the caller spells a word, the letters replace whatever was heard before, joined exactly as given.
  • Handle the ways people spell aloud: “double L”, “S as in Sam”, “B for Bravo”, and letters split across two turns.
  • Read the joined result back, letter by letter, before saving.

UK addresses: postcode first

  1. Ask for the postcode first. A UK postcode narrows the address to a street or part of one, far easier than a spoken street name.
  2. Check its shape. A postcode is an outward code, a space and an inward code of a digit and two letters, as in SW1A 1AA. If what you heard doesn’t fit, ask again.
  3. Read it back. Letters like B, D, P and V, or M and N, are easy to confuse on a phone line; a phonetic read-back (“S for Sierra”) settles it.
  4. Then the house number or name, and confirm the street from an address lookup for that postcode instead of transcribing the street name.

Check the fix worked on past calls

  1. Build the answer key. Take past calls with a known-wrong record and write down the right value for each, from the recording or the corrected record.
  2. Replay the model and save steps. Run those conversations against the changed prompt and check that the function argument now matches the answer key exactly, letter for letter.
  3. Know what a replay can’t test. Replaying a transcript re-tests the model, not speech-to-text. To test keyword boosting, re-transcribe the original audio with the new settings, or compare the share of misheard names on new calls before and after.
  4. Include calls that were right. A stricter rule can break names that used to save fine; they should stay right.
  5. Keep checking after launch. Each day, compare saved values with what the caller confirmed and flag any that differ.

Short answers

How do I know if speech-to-text or the model got the name wrong?

Compare the transcript with the value the agent passed to its function. If the transcript is already wrong, speech-to-text misheard it. If the transcript is right but the function argument is wrong, the model changed it. If the argument is right but the stored record is wrong, your save step changed it.

Does keyword boosting fix misheard names?

It helps for names and terms you can list in advance, such as local street names, towns and your customer's staff names. Boosting makes a word more likely to be recognised, not certain, so pair it with read-back and spelling for anything that must be exact.

What is the best way to take a UK address over the phone?

Ask for the postcode first, check its format, read it back, then ask for the house number or name and confirm the street from an address lookup for that postcode. A postcode narrows the address to a short list, which is much easier to get right than a spoken street name.

How Rokan handles it

Rokan reads your exported calls, lines up what the caller said with what the agent did, finds where it went wrong, writes the fix and tests it on your past calls before you approve it. Its replay re-tests the prompt and rules, not your speech-to-text.