The Collect block

Collect block

The Collect block takes data from each iteration of a loop and aggregates the data into a list. For example, if your Flow has a loop that fetches one page of API data per iteration, the Collect block can create a single list from the returned data.

Input

Item - Accepts a single item from a for or repeat loop.

Outputs

List - Creates a list of all the items sent to this block from the for or repeat loop.

Finish - Sends an event when the for or repeat sequence is complete and the Collect block has aggregated the data into a list.

Example

To see the Collect block in an example Flow, check out Flow Snippets: Collect.

Last modified: 2024/08/23