Documentation Index
Fetch the complete documentation index at: https://docs.eachlabs.ai/llms.txt
Use this file to discover all available pages before exploring further.
Template Syntax
Use{{double braces}} to reference workflow inputs and previous step outputs in your step parameters.
Reference Types
| Reference | Description | Example |
|---|---|---|
{{inputs.field}} | Workflow input field | {{inputs.prompt}} |
{{step_id.output}} | Full output of a step | {{generate_text.output}} |
{{step_id.primary}} | Primary output of a step | {{step1.primary}} |
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:
| Reference | Description | Example |
|---|---|---|
$.inputs.field | Workflow input | $.inputs.email |
$.step_id.primary | Primary output of a step | $.step1.primary |
$.step_id.output | Full output of a step | $.step1.output |
$.step_id.output.field | Nested field from step output | $.step1.output.filename |
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