Aggregate
core.aggregate · version 1 · Transform
Collect field values from all items into lists on a single item.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
aggregate | options | "aggregateIndividualFields" | One of aggregateIndividualFields, aggregateAllItemData. | ||
fieldsToAggregate | fixed_collection | aggregate = aggregateIndividualFields | Fields. | ||
fieldsToAggregate.fieldToAggregate | string | yes | Input Field. | ||
fieldsToAggregate.renameField | boolean | false | Rename Output. | ||
fieldsToAggregate.outputFieldName | string | renameField = true | Output Field. | ||
destinationFieldName | string | "data" | aggregate = aggregateAllItemData | Put Items In Field. | |
include | options | "allFields" | aggregate = aggregateAllItemData | One of allFields, specifiedFields, allFieldsExcept. | |
fieldsToInclude | string | include = specifiedFields | Fields to Include. | ||
fieldsToExclude | string | include = allFieldsExcept | Fields to Exclude. | ||
options | collection | ||||
options.disableDotNotation | boolean | false | Disable Dot Notation. Treat field names containing dots as plain keys instead of nested paths. | ||
options.mergeLists | boolean | false | Flatten Lists. When a value is itself a list, add its elements instead of the list. | ||
options.keepMissing | boolean | false | Keep Missing Values. Add null for items that lack the field. | ||
options.includeBinaries | boolean | false | Include Binaries. | ||
options.keepOnlyUnique | boolean | false | includeBinaries = true | Unique 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 type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.aggregate | 1 | unverified |