Aggregate Node

Aggregate multiple items into a single item with combined values.

Written By pvdyck

Last updated 16 minutes ago

Aggregate Node

The Aggregate node combines multiple input items into a single output item. Useful for collecting all results before passing them downstream.

Operations

OperationDescription
Individual FieldsCollect values of specific fields across all items into arrays. You choose which fields to aggregate and what to name the output arrays
All Item DataCombine all item data into a single list under one field

Parameters (Individual Fields)

ParameterDescription
Input Field NameThe field to collect values from across all items
Output Field NameThe name of the output array field (renamed from input)

You can add multiple field aggregations in a single node.

Parameters (All Item Data)

ParameterDescription
Put Output in FieldThe field name that will contain the array of all items
IncludeChoose to include All Fields or Specified Fields

Options

OptionDescription
Merge ListsWhen aggregating fields that are already arrays, merge them into a flat list instead of nested arrays
Keep Missing And Null ValuesInclude null or missing values in the aggregated output instead of skipping them
Include BinaryPreserve binary data from the input items
Disable Dot NotationTreat dots in field names as literal characters

Example

Three input items with {name: "A"}, {name: "B"}, {name: "C"} become one item: {names: ["A", "B", "C"]}.

Limitations

  • None. Full support.

Related