Skip to main content

Flow Variables

Variables let a Flow reuse data that is already known about the contact or was produced earlier in the same session. Instead of hard-coding a name, destination, message, or decision, insert a variable and DialerAI resolves it while the Flow runs.

Use the Variables button in a node's configuration drawer to browse and insert the values available in that context. Always use the placeholder inserted by the picker: the exact syntax can vary by field, such as {contact.first_name} in a Flow field or {{contact.name}} in an AI prompt.

Variables Helper with the Contact Info variables like contact.first_name, each with an example

Where variables can be used​

Variables can be inserted wherever a node accepts dynamic text or data, including:

Types of variables​

Contact data​

Contact variables read information already stored on the contact. Common examples include:

{contact.first_name}
{contact.email}
{contact.phone_number}

Use these to personalize an outreach message or pass an identifier to an external system. A contact field must contain a value before it can be useful in the Flow.

System and Flow context​

System variables provide runtime information, such as the current time. For example:

{system.utcnow_datetime_epoch}

The Starter node also makes trigger context available. For example, a call destination may be available as {starter.call.to}. Use the drawer's picker rather than guessing a trigger variable name.

Variables set by a node​

Many nodes publish results after they run. Their variables use the node's unique name as a prefix, so a renamed node produces a different reference. Typical examples include:

{speech_recognition_abc.text_detected}
{speech_recognition_abc.confidence_score}
{ai_llm_abc.llm_reply_text}
{ai_llm_abc.llm_reply_json}
{ai_assistant_abc.last_assistant_reply_json}

Open the node's Variables panel to see its exact output names. Node guides list the results that matter most: for example, Speech Recognition provides detected text and confidence; HTTP Request provides its response; AI nodes provide replies and usage data.

Session variables​

Set Variables creates values for the current Flow session. A variable named appointment_date becomes available as:

{variables.appointment_date}

Session variables can be updated later in the same session. Use clear, stable names and avoid using the same name for unrelated values.

Use variables in the right order​

A variable is only available after the node that creates it has run. Connect the Flow so the producer comes before the consumer.

Speech Recognition → Check Conditions → Update Contact
text_detected decision {speech_recognition_abc.text_detected}

For example, capture a spoken answer first, check whether it meets a condition, then store it on the contact. A variable reference from a node on a different or later branch may be empty.

Practical examples​

Personalize a message​

Hello {contact.first_name}, thanks for your request.

Pass a captured answer to an API​

{
"phone": "{contact.phone_number}",
"answer": "{speech_recognition_abc.text_detected}"
}

Persist a value for a later branch​

  1. In Set Variables, set interest to {speech_recognition_abc.condition_result}.
  2. Later, use {variables.interest} in Check Conditions or an HTTP request.

Safe and reliable use​

  • Insert variables from the drawer rather than typing a remembered name.
  • Test every branch that supplies a value; check empty, timeout, and error paths as well as success.
  • Use a fallback when a contact field or node output can be absent.
  • Do not put passwords, authorization tokens, or unnecessary personal data into messages, logs, or URLs.
  • Rename nodes before wiring references to them; update dependent variables after a rename.