Skip to main content

Invoke Workflow: Triggers another workflow using data from the current workflow run. Generally used when you have to notify different recipients at different stages of the workflow.

name
string
required

Human-readable name of the node

Example:

"Escalate to the manager"

node_type
string
required
Allowed value: "invokeworkflow"
workflow
string
required

Slug of the workflow to invoke.

Required string length: 1 - 255
Pattern: ^[a-z0-9-_]+$
recipient_selection
enum<string>
required

Where to pick the recipient from for the invoke-workflow payload.

recipient: Use the recipient of the current workflow run.

actor: Use the actor who triggered the current workflow run.

expression: Use a JSONNET expression to derive the recipient at runtime using data from the current workflow run.

Available options:
recipient,
actor,
expression
description
string | null

Description of what this node does

actor_selection
enum<string>

Where to pick the actor from for the invoke-workflow payload.

recipient: Use the recipient of the current workflow run.

actor: Use the actor who triggered the current workflow run.

expression: Use a JSONNET expression to derive the actor at runtime using data from the current workflow run.

Available options:
null,
recipient,
actor,
expression
actor_expression
string

JSONNET expression to derive the actor at runtime for the invoked workflow. Pass when actor_selection is 'expression'. Eg. data["$recipient"].id

Minimum string length: 1
recipient_expression
string

JSONNET expression to derive the recipient at runtime for the invoked workflow. Pass when recipient_selection is 'expression'. Eg. data["$recipient"].manager_id

Minimum string length: 1
data
string

JSONNET expression to derive the data field for the invoke-workflow payload.

append_current_run_data
boolean

Whether the current workflow-run data should be passed as payload of the invoked workflow.