Speech Recognition

Use Speech Recognition to collect a spoken caller response and convert it into a result that later nodes can use.
Configure the prompt and recognition settings, then route successful recognition, no-input, and error outcomes deliberately. Use Variables to pass the captured result to a condition, message, or external request.
Configuration and outcomes
Configure audio or TTS, silence timing, recognition language, optional context words, and exact, distance-based, or LLM matching. Define ordered conditions to create named transitions. Connect Nothing Said, No Match, and each condition outcome; the node provides detected text, match, confidence, and recording variables.
Detect intent with LLM
With Detect intent with LLM selected as the matching algorithm, the node does not look for words in the caller's answer. It sends what the caller said, together with your conditions, to a language model, which understands the meaning of the answer and picks the condition that fits best.
This changes how you write conditions. Each condition is a short instruction that describes an intent, not a list of words. In the condition form, enter that description as the condition's value. The hint about comma-separated values applies to exact and distance-based matching, not to LLM matching.
Describe the intent, not the words
A list of words is never complete, and a phrase listed in the wrong condition sends callers down the wrong branch. A description covers every way of saying the same thing, including answers nobody thought of.
| Avoid | Prefer |
|---|---|
confirm: yes, yeah, sure, ok, I'll be there, see you tomorrow, of course | confirm: The caller confirms they will attend the appointment. |
With the description, the model also recognizes "Yep, I've already booked the afternoon off" or "Sure, I'll come straight from work", which no list would contain.
Example: appointment reminder
A dental clinic calls patients the day before their visit. The node plays: "Hello, this is Bright Smile Dental, calling to confirm your appointment tomorrow at 10 a.m. Will you be able to make it?"
Each outcome leads to a different step in the Flow, so each gets its own condition:
| Condition | Description |
|---|---|
confirm | The caller confirms they will attend the appointment. |
reschedule | The caller wants to move the appointment to another day or time. |
cancel | The caller wants to cancel the appointment and does not want a new one. |
not_the_patient | The person who answered is not the patient, for example a relative or a colleague, or says this is the wrong number. |
question | The caller asks a question about the appointment, such as the address, the time, or what to bring. |
Here is how typical answers are classified:
| The caller says | Outcome |
|---|---|
| "Yes, no problem, I'll be there." | confirm |
| "Tomorrow is tricky, could we do Thursday instead?" | reschedule |
| "I've been treated somewhere else in the meantime, so you can drop it." | cancel |
| "He's at work right now, I'm his wife." | not_the_patient |
| "Remind me where the clinic is?" | question |
| The caller says nothing | Nothing Said |
| An answer that fits none of the conditions | No Match |
None of these answers contains a keyword such as "yes" or "cancel" in every case. The model classifies them by meaning.
Tips for reliable conditions
- One intent per condition. If two answers should lead to different steps, create two conditions. If they lead to the same step, merge them into one description.
- Keep conditions distinct. Two descriptions that overlap force the model to guess. Draw a clear line, for example between
reschedule(wants a new date) andcancel(wants no appointment). - Use meaningful names. The model reads the condition name as well as the description, so
rescheduleworks better thanoption_2. - Don't add a catch-all condition. Answers that fit no condition already follow No Match, and silence follows Nothing Said.
- Write the descriptions in the callers' language if that is easier for you to review. Short, plain sentences work best.
- Test before going live. Place test calls with varied answers, including hesitant or off-topic ones, and check the result on each branch.
Each classification is one request to your organization's language model. You can review the requests in LLM logs.
Variables set by this node
After the node runs, it stores what the caller said and how it was matched. The outcomes above already branch the call, so you only need these variables when a later step uses the caller's words.
Show the variables this node sets
Each variable is prefixed with the node's unique name, shown here as speech_recognition_abc. Insert them with the Variables button rather than typing them, so the prefix always matches your node.
| Variable | Contains | Example |
|---|---|---|
{speech_recognition_abc.text_detected} | The text recognized from what the caller said. | yes I am interested |
{speech_recognition_abc.condition_result} | The name of the condition that matched, nothing_said when the caller stayed silent, or condition_no_match when no condition matched. | if_interested |
{speech_recognition_abc.word_matched} | The word or phrase that triggered the match, when the matching method reports one (for example exact match). | interested |
{speech_recognition_abc.confidence_score} | How confident the match is, when the matching method reports a score (for example distance-based matching). | 0.92 |
{speech_recognition_abc.only_numeric} | The numeric part of the detected text, with spoken numbers converted to digits. | 123 |
{speech_recognition_abc.recording_filename} | The file name of the recording of the caller's answer. | A .wav file name |
{speech_recognition_abc.recording_fullpath} | The URL of that recording. | A URL |
{speech_recognition_abc.recording_start_datetime} | When the recording started, as an ISO date and time. | 2026-01-13T13:12:21 |
The variables are set only when recognition produced a result. If the caller hangs up before the node finishes, they stay empty.
Typical uses:
- Pass
text_detectedto an AI LLM node to classify a free-form answer. - Use
only_numericto capture a spoken number, then validate it with Check Conditions. - Store the answer with Log Result or send it out with HTTP Request.
See Flow variables for how variables work across a Flow.
Recommended pattern
For a small set of expected phrases, start with exact matching and explicit conditions. Use context words or LLM matching for varied speech, then test accents, silence, and ambiguous answers before relying on the resulting branch.