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

NameTypeDescription
List of ItemslistList of items to map over the flow
Inputs MapObjectFor 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.
ConstantsObjectConstants object for inputs
External IDoptional stringExternal ID
FlowStringId of the flow to apply to each item in the list
DG RegionStringDG region Possible values: us, eu.
API KeyStringDG API key
API SecretString (sensitive)DG API Secret
Conversation ObjectOptional ObjectConversation Object

Outputs

NameTypeDescription
SuccessBooleanWhether the flow was executed successfully
Failed LaunchesBooleanWhether at least one execution failed
ResultListAn array of executions

Notes

  • Needs a DG API key, secret and region to run the flows.