Gather iteration results into an array
The Collect step closes a For Each loop by waiting for all iterations to complete, then aggregating results into a single list array with a list_count and fail_count. The output shape matches import step output, making it directly compatible with CSV Export and Google Sheets Export steps.
Collect acts as a barrier. It waits until every iteration of the paired For Each loop has completed. It then aggregates the results using field mappings to build each collected item, writing a list array, list_count, and fail_count to its output. The output field set is locked. The input slot mirrors the output of the last body step in the loop. When used after a loop, place export steps (CSV Export, Google Sheets Export) after Collect to output the aggregated data.