Template Syntax
Use{{double braces}} to reference workflow inputs and previous step outputs in your step parameters.
Reference Types
Examples
Referencing Inputs
Chaining Steps
Embedding in Strings
Template variables can be embedded within larger strings:Referencing Parallel Branch Outputs
When a parallel step completes, you can reference outputs from its branches using the branch step IDs:Condition Expressions
Choice steps use$ reference syntax (not {{template}} syntax) to evaluate conditions:
Condition expressions use
$.step_id.field syntax, while step parameters use {{step_id.field}} template syntax. These are different reference systems.Resolution
Template variables get resolved at execution time. Here’s what the workflow engine does under the hood:- Evaluates steps in order
- Executes parallel branches concurrently
- Evaluates choice conditions and routes to the matching branch
- Resolves template variables using actual values from inputs and completed steps
- Passes the resolved parameters to the model