Skip to content

Flow

Execute Workflow

Runs another workflow with the items and outputs what its last node returned. Call it per item or per batch to loop.

Inputs: main · Outputs: main

Parameter Type Description
Workflow (required)
workflowId
workflow Needs an Execute Workflow Trigger; it doesn't have to be active.
Call it
mode
one of: onceForAllItems, eachItem, batches Default: onceForAllItems.
Batch size
batchSize
integer Items per call in batch mode. Default: 10.

Filter

Keeps only the items that match a condition.

Inputs: main · Outputs: main

Parameter Type Description
Value 1
value1
JSON The value to check, usually an expression such as {{ $json.total }}. Supports expressions.
Operation
operation
one of: isEqual, notEqual, contains, notContains, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual, isEmpty, isNotEmpty, isTrue, isFalse Default: isEqual.
Value 2
value2
JSON The value to compare with; not used by is empty, is not empty, is true and is false. Supports expressions.

If

Routes each item to 'true' or 'false' depending on a condition.

Inputs: main · Outputs: true, false

Parameter Type Description
Value 1
value1
JSON The value to check, usually an expression such as {{ $json.total }}. Supports expressions.
Operation
operation
one of: isEqual, notEqual, contains, notContains, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual, isEmpty, isNotEmpty, isTrue, isFalse Default: isEqual.
Value 2
value2
JSON The value to compare with; not used by is empty, is not empty, is true and is false. Supports expressions.

Merge

Waits for both inputs and merges their items.

Inputs: input1, input2 · Outputs: main

Parameter Type Description
Mode
mode
one of: append, combineByIndex Default: append.

Switch

Routes each item to the output of the first matching case.

Ports: depend on the parameters.

Parameter Type Description
Value
value
JSON Value to compare, usually an expression. Supports expressions.
Cases
cases
list of JSON One output per case; items matching no case go to 'fallback'.

Wait

Pauses the execution, then passes the items on. Waits in memory; a restart of the host ends the execution.

Inputs: main · Outputs: main

Parameter Type Description
Wait for
amount
number Default: 5.
Unit
unit
one of: seconds, minutes, hours Default: seconds.