> ## Documentation Index
> Fetch the complete documentation index at: https://dialnexa.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# How DialNexa Dynamic Variable Data Flows

> Trace DialNexa dynamic variables from prompts, CSV files, workflows, API calls, and defaults into one call.

DialNexa dynamic variables are call-time values used to personalize or control agent behavior. They appear as placeholders such as `{{first_name}}` and can be supplied by batch CSV rows, workflow leads, API calls, test calls, or defaults saved on the agent version.

> [!NOTE]
>
> For the syntax, value priority order, and how to pass values from each launch surface, see [Dynamic Variables](https://dialnexa.com/docs/agents/dynamic-variables.md) - that page is the how-to. This page covers how variable data flows through calls and where it goes wrong.

> [!WARNING]
>
> Dynamic values should be true, current, and safe to speak. The agent may say them out loud.

## DialNexa Dynamic Variable Sources

Call-time data can arrive from several places.

| Source | Example |
| - | - |
| Prompt placeholder | `{{first_name}}` in the instruction. |
| Welcome message | A personalized first sentence. |
| Batch CSV | Columns for name, due date, city, or amount. |
| Workflow lead variables | Lead-specific values used in nodes and templates. |
| API request | Metadata or variables supplied by an external launcher. |
| Default variables | Fallback values when a source is missing. |

## Design Variables Cleanly

**1. Use stable names**

Prefer `first_name` over `name1` or `customerNameMaybe`.

**2. Document required values**

Know which variables every launch path must provide.

**3. Add safe defaults**

Protect calls from incomplete data.

**4. Test missing data**

Place calls with missing values and listen to the result.

## Dynamic Variable Problems

> [accordion] Variable is spoken with braces
>
> The value was not supplied and no safe default existed.

> [accordion] CSV value goes to wrong field
>
> Header does not match the expected variable key.

> [accordion] Workflow action missing a parameter
>
> Lead variable key was absent or misspelled.

> [accordion] Transfer fails
>
> Destination variable was empty or incorrectly formatted.

## Related Reading

> [card] [Agent Dynamic Variables](https://dialnexa.com/docs/agents/dynamic-variables.md)
>
> Use variables in agents.

> [card] [Default Variables](https://dialnexa.com/docs/data/default-variables.md)
>
> Set fallbacks.

> [card] [Workflow Variables](https://dialnexa.com/docs/workflows/lead-variables-and-call-attributes.md)
>
> Use variables in automation.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.