Characteristics
- Scope: Global to the workflow (all nodes in flow agent; entire prompt in single-prompt agent)
- Where to define: Variables panel at workflow level
- Default values: Any supported data type
- Reference syntax:
{{variable_name}} - Single-prompt agents: Custom variables are exposed as
paramsin the agent configuration
When to Use
- Values that change per deployment (e.g. business name, support email)
- Default messages or responses
- State or configuration shared across the flow
- Single-prompt agents: Any data you want to pass into the prompt as parameters
Example Use Cases
Flow Builder vs Single Prompt Agents
| Aspect | Flow Builder Agent | Single Prompt Agent |
|---|---|---|
| Available | All nodes, including global | Entire prompt |
| Definition | Variables panel | Variables panel (stored as params) |
| Usage | {{variable_name}} in node configs | {{variable_name}} in prompt; custom vars become params |
| Conditional logic | Flow transitions, router nodes | {{#if variable_name}} in prompt (e.g. {{#if enable_transfers}}) |