Filter
Filter, map, and reduce operations on data collections
Actions
Steps this node can perform. Add one from Add a step, then pick the action.
Filter
Filter data based on specified conditions
Settings
| Field | Type | Required | Description |
|---|---|---|---|
| Input Data | List | Yes | The array of items to filter (supports arrays of objects or arrays of strings/primitives) |
| Filter Conditions | List | Yes | The conditions to filter by (OR groups with AND conditions) |
| Continue on Empty Results | Yes / No | Whether to continue the workflow if no items match the filter Default: false |
Output
Later steps use this data by picking this step in the $ picker. For example, filtered[0] is $.<step ID>.output.filtered[0].
json
{
"filtered": [
"string"
],
"stopSignal": false
}Example values show the shape of the data, not real values. See Using data from earlier steps.
Field descriptions
| Field | Type | Description |
|---|---|---|
filtered[] | List | The filtered array of items that match the conditions |
stopSignal | Yes / No | Signal to stop workflow execution. True when no items match conditions and continueOnEmpty is false |