Variables are placeholders that let your agent work with dynamic data. Use them in prompts, Custom Actions, call transfers, SIP headers, and webhook payloads by wrapping the variable name in curly braces, for example {call_id}.
Synthflow supports four types of variables:
System variables are built-in values that Synthflow populates automatically for every call. You do not need to define them.
Pass system variables in a Custom Action request body to identify the call in an external system:
You can also reference system variables in prompts:
Pre-call variables, also called custom variables, are values you pass into the agent before the conversation starts. They inject external context without requiring the agent to collect it during the conversation.
Use pre-call variables to personalize conversations with user details, CRM data, campaign context, account status, or other backend data.
custom_variables field of your API request.For API-specific details, see Dynamic prompt injection.
Collected variables are values gathered from the user during the conversation after the user provides the requested information.
Use collected variables when the agent needs to remember information for later steps, such as a caller’s name, email address, appointment date, issue type, or transfer reason.
{user_email} or {appointment_date}.In Flow Designer, Conversation nodes are the primary way to define collected variables. You can also use the Variables drawer to view available variables, see where they are used, and navigate back to their source.
Post-call webhooks include collected values in the collected_variables field when they are available. Only variables with collected: true are included.
For the full payload shape, see Post-Call Webhook.
Action result variables store data returned by Custom Action API calls. When a Custom Action executes, the response is parsed and stored in variables you can reference later.

For example, if a Custom Action calls an order-status API and returns {"status": "shipped"}, you can reference {status} in your prompt or in subsequent actions.
For more details on configuring Custom Actions and using their responses, see Custom Actions.
In the agent Prompt editor, type < and Synthflow will list the available data of the response of your initialized custom action. You can also use the Action results control in the prompt toolbar.

In-Call Messaging actions populate a dedicated reply variable when the customer responds by text:
The variable is set as soon as the reply arrives, whether the action was configured to block the agent until then or to let the call continue in the background. If no reply arrives before the call ends, the variable remains empty.
Several actions let you embed placeholders with angle-bracket names, for example <customer_name> or <queue_ref>, in specific configuration fields such as the SMS message body, call transfer targets or SIP headers, or the lead_email input on real-time booking. Each distinct name becomes an input variable on that action.
After you attach the action to an agent, you map each input to its source: values collected during the call, system fields, pre-call variables (custom variables), action results from another step, or a fixed value you enter. These are the same families summarized in the overview table at the top of this page.
When an action exposes an input variable, choose how Synthflow should fill that value when the action runs.

Field-by-field setup lives in each action guide:
Angle-bracket placeholders on supported actions are covered in Action placeholders and mapping. Variables can also be referenced in several other places across your agent configuration:
"Hi {lead_name}, thanks for calling {company_name}.".<user_name> or <user_email>, flow into the booking request.<caller_name> or <issue_type> for whispers, summaries, or SIP headers."Hi <customer_name>, your appointment is confirmed for <appointment_date>.".Yes. System variables, pre-call variables, collected variables, and action result variables are available in both Flow Designer and Single-Prompt agents.