vellum.workflows.nodes.MapNode
Used to map over a list of items and execute a Subworkflow for each item. This enables parallel processing of multiple items through the same workflow logic.
The list of items to map over. Each item will be processed by the subworkflow.
The Subworkflow class to execute for each item
The maximum number of concurrent subworkflow executions.
The outputs are determined by the subworkflowâs outputs, with each output field becoming a list containing results from all iterations.