Skip to main content
Use this node to trigger a workflow from within another workflow. It is typically used when the recipient list or data context changes between workflow steps. A common example is escalation workflows, where if a team member doesn’t take action, the workflow escalates to notify their manager. The payload for the triggered workflow is dynamically computed using data from the current workflow run. All fields support variables in JSONNET format.

Constructing workflow payload

Recipient

Recipient refers to the recipient of the target workflow. It can be:
  • The current workflow’s recipient or actor
  • Any key from the node’s input data, including data added or modified during the workflow run (for example from fetch or webhook nodes).
📘 Please note Data modifications after a batch or digest node will not affect the invoke node’s variables, which means $batched... variables will not be available in this node’s input.
You can refer to input data variables in JSONNET format, prefixed by data key. The same format is followed for adding variable in actor and data field as well. Following data types are available in workflow:

Actor

The actor defines the user who performed the action in the target workflow. It can be:
  • The current workflow’s actor or recipient.
  • Any key from the node’s input data, referred in the same format as in the recipient field.

Data

This defines the data context for the target workflow, which is used to render templates and workflow variables. By default, data from the current workflow run is passed.
  • To exclude the current workflow data, uncheck the Append current workflow execution data option.
  • Additional data can be provided in the data JSON field, using the node’s input data in JSONNET format, referred in the same format as in the recipient field.

Merge strategy

We use a shallow merge strategy to combine extra input data (defined in data JSON field) with the current workflow execution data. If the same key exists in both, the value from data JSON field will override the value in existing workflow data.