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

Remove Duplicates

core.remove_duplicates · version 2 · Transform

Drop items that repeat, in this input or across runs.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0main

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
operationoptions"removeDuplicateInputItems"One of removeDuplicateInputItems, removeItemsSeenInPreviousExecutions, clearDeduplicationHistory.
compareoptions"allFields"One of allFields, allFieldsExcept, selectedFields.
fieldsToExcludestringcompare = allFieldsExceptFields to Ignore.
fieldsToComparestringcompare = selectedFieldsFields to Compare.
optionscollection
options.disableDotNotationbooleanfalseDisable Dot Notation. Treat field names containing dots as plain keys instead of nested paths.
options.removeOtherFieldsbooleanfalsecompare = selectedFieldsKeep Only Compared Fields.
logicoptions"removeItemsWithAlreadySeenKeyValues"operation = removeItemsSeenInPreviousExecutionsKeep Items When. One of removeItemsWithAlreadySeenKeyValues, removeItemsUpToStoredIncrementalKey, removeItemsUpToStoredDate.
dedupeValuestringlogic = removeItemsWithAlreadySeenKeyValuesKey. Usually an expression such as the record id.
incrementalDedupeValuenumberlogic = removeItemsUpToStoredIncrementalKeyNumber.
dateDedupeValuedatetimelogic = removeItemsUpToStoredDateDate.
modeoptions"cleanDatabase"operation = clearDeduplicationHistoryClear. One of cleanDatabase.
optionscollectionoperation = removeItemsSeenInPreviousExecutionsHistory Options.
options.scopeoptions"node"Shared By. One of node, workflow.
options.historySizenumber10000History Size. How many keys to remember.

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.removeDuplicates1unverified
n8n-nodes-base.removeDuplicates2unverified