Map Flow on List Items
Runs a chosen flow for each item in a list, mapping item data to the flow's inputs, and returns the executions. Use it to process every item in a list through another flow.
What it does
- Iterates over the list and runs the selected flow for each item.
- Maps each flow input to a path in the item, plus any constant values.
- Returns the array of executions and whether any failed.
Inputs
| Name | Type | Description |
|---|---|---|
| List of Items | list | List of items to map over the flow |
| Inputs Map | Object | For each flow input, specify the path in the item to get the value of that input. This is key/value where key is the flow id and value is json path. |
| Constants | Object | Constants object for inputs |
| External ID | optional string | External ID |
| Flow | String | Id of the flow to apply to each item in the list |
| DG Region | String | DG region Possible values: us, eu. |
| API Key | String | DG API key |
| API Secret | String (sensitive) | DG API Secret |
| Conversation Object | Optional Object | Conversation Object |
Outputs
| Name | Type | Description |
|---|---|---|
| Success | Boolean | Whether the flow was executed successfully |
| Failed Launches | Boolean | Whether at least one execution failed |
| Result | List | An array of executions |
Notes
- Needs a DG API key, secret and region to run the flows.