Workflow Blocks
Workflow Trigger
Start when another workflow calls this one.
The Workflow Trigger lets another workflow start this one with a Call Workflow block and pass it values. You declare the inputs this workflow expects; the caller fills them in.
When to use it
Use it to split a large process into reusable pieces — for example one "notify finance" workflow that several other workflows call.
Settings
| Setting | What it does |
|---|---|
| Inputs | The values this workflow expects from its caller. Each has a key, a type and a Required switch. |
| Type | Text, Number, Boolean, Date, Array or Object. |
| Item fields | Array inputs: the keys each item contains. Each item becomes one report row. At least one is required. |
| Fields | Object inputs: the fields of the object. Each becomes its own variable. |
Keys use letters, numbers and underscores, start with a letter or underscore, and must be unique. An input can have up to 50 fields.
Variables
| Variable | Type | Notes |
|---|---|---|
trigger.<key> | per input | One per declared input. |
trigger.<key>.<field> | per field | Object inputs: one per field. |
trigger.calledAt | Date | When the caller started this run. |
trigger.callerExecutionId | Text | The calling run's ID. |
trigger.callerWorkflowName | Text | The calling workflow's name. |
Paths
One output. This trigger has no input port — nothing on the canvas can connect into it.
Notes
- Only published workflows that start with a Workflow Trigger appear as targets in Call Workflow.
- Changing the inputs after other workflows call this one may require those callers to update their mappings.