Variable References
Use double curly braces in text fields:Valid Examples
Invalid Examples
Template Validation
The system checks:- Existence: Referenced variable exists
- Syntax: Valid
{{name}}form - Types: Value matches declared type where relevant
- Availability: Variable is available at the current node (flow agent)
Naming Conventions
All variables must follow these rules:Rules
- Format:
snake_caseonly - Start: Lowercase letter (a–z)
- Characters: Lowercase letters, digits, underscores
- Length: 1–50 characters
- Reserved: Do not reuse system variable names
Valid Examples
Invalid Examples
Jinja2 Template Syntax
Prompts support full Jinja2 template syntax beyond simple{{variable_name}} substitution. You can use conditionals, filters, and any standard Jinja2 expression: