Template Variables
Variables allow you to pass data dynamically between nodes using the{{variable}} syntax.
Basic Syntax
Reference a variable by wrapping its path in double curly braces:Examples
Accessing Node Output
If you have a node namedai_generate that outputs text:
Accessing Trigger Data
For webhook triggers with JSON payload:Nested Objects
Access nested properties with dot notation:Variable Picker
The editor includes a variable picker that shows available variables from previous nodes. Click the{ } button in any text field to open it.
Type Coercion
Variables are automatically converted to strings when used in text fields. For nodes expecting specific types (numbers, arrays), the value is passed as-is.Best Practices
- Use descriptive node names - Makes variables easier to understand
- Check for existence - Some outputs may be undefined
- Keep paths simple - Extract nested data in intermediate nodes if needed