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 itmode |
one of: onceForAllItems, eachItem, batches |
Default: onceForAllItems. |
Batch sizebatchSize |
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 1value1 |
JSON | The value to check, usually an expression such as {{ $json.total }}. Supports expressions. |
Operationoperation |
one of: isEqual, notEqual, contains, notContains, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual, isEmpty, isNotEmpty, isTrue, isFalse |
Default: isEqual. |
Value 2value2 |
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 1value1 |
JSON | The value to check, usually an expression such as {{ $json.total }}. Supports expressions. |
Operationoperation |
one of: isEqual, notEqual, contains, notContains, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual, isEmpty, isNotEmpty, isTrue, isFalse |
Default: isEqual. |
Value 2value2 |
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 |
|---|---|---|
Modemode |
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 |
|---|---|---|
Valuevalue |
JSON | Value to compare, usually an expression. Supports expressions. |
Casescases |
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 foramount |
number | Default: 5. |
Unitunit |
one of: seconds, minutes, hours |
Default: seconds. |