Small BusinessIndependent InvestorTrade BusinessAccountingFinanceLegalMarketingOperationsSalesReal EstateTemplatesPricingDocs
Get started

Step Guide: Collect

Flow Control

Aggregate loop results into a single list

Overview

The Collect step closes a For Each loop by waiting for all iterations to complete, then aggregating results into a single list with an item count and fail count. The output format matches import steps, making it directly compatible with CSV Export and Google Sheets Export steps.

When to Use

  • Aggregate processed results from a For Each loop into an exportable list
  • Collect AI-generated content from each iteration into a single batch
  • Gather enriched data from per-item lookups into one dataset
  • Build a results list to export as CSV or Google Sheets

How It Works

Collect waits for all iterations to finish, then aggregates the results into a single list with an item count and fail count. It uses field connections to build each collected item from the last step in the loop body. Place export steps (CSV Export, Google Sheets Export) after Collect to output the aggregated data.

Tips
  • The output format (list + item count) matches import step output, so export steps connect naturally
  • Place CSV Export or Google Sheets Export after Collect to export the aggregated results
  • The Collect step waits for ALL iterations before proceeding. Partial results are not available

Frequently Asked Questions

Do I always need a Collect step after For Each?
Yes. Every For Each loop must end with a Collect step to close the loop and aggregate results. The workflow will not validate without it.
What happens if some iterations fail?
Collect tracks both an item count and a fail count. Failed iterations are recorded in the fail count but do not block the rest of the loop from completing.
Can I get partial results before all iterations finish?
No. Collect waits for every iteration to complete before producing its output. If you need streaming results, use a separate workflow per item.