Allocate
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

SettingWhat it does
InputsThe values this workflow expects from its caller. Each has a key, a type and a Required switch.
TypeText, Number, Boolean, Date, Array or Object.
Item fieldsArray inputs: the keys each item contains. Each item becomes one report row. At least one is required.
FieldsObject 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

VariableTypeNotes
trigger.<key>per inputOne per declared input.
trigger.<key>.<field>per fieldObject inputs: one per field.
trigger.calledAtDateWhen the caller started this run.
trigger.callerExecutionIdTextThe calling run's ID.
trigger.callerWorkflowNameTextThe 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.