Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Aggregate

core.aggregate · version 1 · Transform

Collect field values from all items into lists on a single item.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
aggregateoptions"aggregateIndividualFields"One of aggregateIndividualFields, aggregateAllItemData.
fieldsToAggregatefixed_collectionaggregate = aggregateIndividualFieldsFields.
fieldsToAggregate.fieldToAggregatestringyesInput Field.
fieldsToAggregate.renameFieldbooleanfalseRename Output.
fieldsToAggregate.outputFieldNamestringrenameField = trueOutput Field.
destinationFieldNamestring"data"aggregate = aggregateAllItemDataPut Items In Field.
includeoptions"allFields"aggregate = aggregateAllItemDataOne of allFields, specifiedFields, allFieldsExcept.
fieldsToIncludestringinclude = specifiedFieldsFields to Include.
fieldsToExcludestringinclude = allFieldsExceptFields to Exclude.
optionscollection
options.disableDotNotationbooleanfalseDisable Dot Notation. Treat field names containing dots as plain keys instead of nested paths.
options.mergeListsbooleanfalseFlatten Lists. When a value is itself a list, add its elements instead of the list.
options.keepMissingbooleanfalseKeep Missing Values. Add null for items that lack the field.
options.includeBinariesbooleanfalseInclude Binaries.
options.keepOnlyUniquebooleanfalseincludeBinaries = trueUnique Binaries Only.

Import

Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.

Source typeVersion rangeStatusFixtures
n8n-nodes-base.aggregate1unverified