Item Lists (legacy)
core.item_lists · version 3.1 · Transform
Older all-in-one list node: split, aggregate, deduplicate, sort, limit or summarize.
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 |
|---|---|---|---|---|---|
operation | options | "splitOutItems" | One of splitOutItems, aggregateItems, removeDuplicates, sort, limit, summarize. | ||
fieldToSplitOut | string | yes | operation = splitOutItems | Field to Split Out. List field to split; separate several with commas to split them side by side. | |
include | options | "noOtherFields" | operation = splitOutItems | One of noOtherFields, allOtherFields, selectedOtherFields. | |
fieldsToInclude | string | include = selectedOtherFields; operation = splitOutItems | Fields to Include. Comma-separated fields copied onto every new item. | ||
options | collection | operation = splitOutItems | |||
options.disableDotNotation | boolean | false | Disable Dot Notation. Treat field names containing dots as plain keys instead of nested paths. | ||
options.destinationFieldName | string | Destination Field Name. Where each element is written; one name per split field. | |||
options.includeBinary | boolean | false | Include Binary. Copy the item’s binary data onto every new item. | ||
aggregate | options | "aggregateIndividualFields" | operation = aggregateItems | One of aggregateIndividualFields, aggregateAllItemData. | |
fieldsToAggregate | fixed_collection | aggregate = aggregateIndividualFields; operation = aggregateItems | 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; operation = aggregateItems | Put Items In Field. | |
include | options | "allFields" | aggregate = aggregateAllItemData; operation = aggregateItems | One of allFields, specifiedFields, allFieldsExcept. | |
fieldsToInclude | string | include = specifiedFields; operation = aggregateItems | Fields to Include. | ||
fieldsToExclude | string | include = allFieldsExcept; operation = aggregateItems | Fields to Exclude. | ||
options | collection | operation = aggregateItems | |||
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. | |
compare | options | "allFields" | operation = removeDuplicates | One of allFields, allFieldsExcept, selectedFields. | |
fieldsToExclude | string | compare = allFieldsExcept; operation = removeDuplicates | Fields to Ignore. | ||
fieldsToCompare | string | compare = selectedFields; operation = removeDuplicates | Fields to Compare. | ||
options | collection | operation = removeDuplicates | |||
options.disableDotNotation | boolean | false | Disable Dot Notation. Treat field names containing dots as plain keys instead of nested paths. | ||
options.removeOtherFields | boolean | false | compare = selectedFields | Keep Only Compared Fields. | |
type | options | "simple" | operation = sort | One of simple, random, code. | |
sortFieldsUi | fixed_collection | operation = sort; type = simple | Sort Fields. | ||
sortFieldsUi.fieldName | string | yes | Field. | ||
sortFieldsUi.order | options | "ascending" | One of ascending, descending. | ||
code | code | operation = sort; type = code | Comparison Code. JavaScript body comparing items a and b; return a negative number to put a first. | ||
options | collection | operation = sort | |||
options.disableDotNotation | boolean | false | Disable Dot Notation. Treat field names containing dots as plain keys instead of nested paths. | ||
maxItems | number | 1 | operation = limit | Max Items. Items beyond this count are dropped. | |
keep | options | "firstItems" | operation = limit | One of firstItems, lastItems. | |
fieldsToSummarize | fixed_collection | operation = summarize | Summaries. | ||
fieldsToSummarize.aggregation | options | "count" | Function. One of count, countUnique, sum, average, min, max, concatenate, append. | ||
fieldsToSummarize.field | string | yes | |||
fieldsToSummarize.includeEmpty | boolean | false | Include Empty Values. | ||
fieldsToSummarize.separateBy | options | "," | aggregation = concatenate | Separator. One of ,, , , , ``, , other. | |
fieldsToSummarize.customSeparator | string | separateBy = other | Custom Separator. | ||
fieldsToSplitBy | string | operation = summarize | Group By. Comma-separated fields; one result per distinct combination. | ||
options | collection | operation = summarize | |||
options.continueIfFieldNotFound | boolean | false | Ignore Missing Fields. | ||
options.disableDotNotation | boolean | false | Disable Dot Notation. Treat field names containing dots as plain keys instead of nested paths. | ||
options.outputFormat | options | "separateItems" | Output. One of separateItems, singleItem. | ||
options.skipEmptySplitFields | boolean | false | Skip Empty Group Values. |
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.itemLists | 1 | unverified | |
n8n-nodes-base.itemLists | 2 | unverified | |
n8n-nodes-base.itemLists | >=3 <4 | unverified |