Type/to search
Nodes
Manual Trigger
Schedule Trigger
RSS Feed Trigger
Kline Close Trigger
Discord Trigger
Telegram Trigger
Slack Trigger
AI Agent
Sentiment Analysis
MCP Client
OpenAI Model
Anthropic Chat Model
Code Tool
HTTP Request Tool
MCP Client Tool
Code
HTTP Request
Edit Fields (Set)
Filter
IF
Loop Over Items
Merge
Aggregate
Compare Datasets
Convert to File
Crypto
Database
Extract from File
HTML
Limit
Log
No Operation, do nothing
RSS Read
Read Files from Disk
Remove Duplicates
Rename Keys
S3
Sort
Split Out
Stop And Error
Summarize
Switch
Telegram
Wait
Write Files To Disk
XML
App push
DingTalk Robot
Discord Bot
Email
Feishu Custom Bot
Slack
Account Info
Market Info
Trading Executor
Indicator
Trading Plugin
Credentials


Use the Remove Duplicates node to identify and delete items that are:

  • Identical across all fields or a subset of fields in a single execution
  • Identical to or superseded by items seen in previous executions

This is helpful in situations where you might encounter duplicate data, such as a user creating multiple accounts or a customer submitting the same order multiple times. When working with large datasets, it becomes increasingly difficult to identify and remove these items manually.

By comparing against data from previous executions, the Remove Duplicates node can delete items seen in earlier executions. It can also ensure that new items have a later date or a higher value than previous values.

Operation modes

The Remove Duplicates node operates differently depending on the value of the operation parameter:

Remove Items Repeated Within Current Input

When you set the "Operations" field to Remove Items Repeated Within Current Input, the Remove Duplicates node identifies and removes duplicate items in the current input. It can perform this operation across all fields or within a subset of fields.

Remove Items Repeated Within Current Input parameters

When using the Remove Items Repeated Within Current Input operation, the following parameter is available:

  • Compare: Specifies which fields of the input data to compare for duplication. The following options are available:
    • All Fields: Compares all fields of the input data.
    • All Fields Except: Specifies which input data fields to exclude from the comparison. You can provide multiple values separated by commas.
    • Selected Fields: Specifies which input data fields to include in the comparison. You can provide multiple values separated by commas.
Remove Items Repeated Within Current Input options

If you choose All Fields Except or Selected Fields as your comparison type, you can configure these options:

  • Disable Dot Notation: Determines whether to use dot notation to reference child fields in the format parent.child (when disabled) or not (when enabled).
  • Remove Other Fields: Determines whether to remove fields that aren't used in the comparison (when enabled) or retain them (when disabled).
Remove Items Processed in Previous Executions

When you set the "Operation" field to Remove Items Processed in Previous Executions, the Remove Duplicates node compares items in the current input to items from previous executions.

Remove Items Processed in Previous Executions parameters

When using the Remove Items Processed in Previous Executions operation, the following parameters are available:

  • Keep Items Where: Specifies how the node determines which items to keep. The following options are available:

    • Value Is New: The node removes items if their value matches items from earlier executions.
    • Value Is Higher than Any Previous Value: The node removes items if the current value isn't higher than previous values.
    • Value Is a Date Later than Any Previous Date: The node removes date items if the current date isn't later than previous dates.
  • Value to Dedupe On: The input field or fields to compare. The option you select for the Keep Items Where parameter determines the required format:

    • When using Value Is New, this must be an input field or combination of fields containing a unique ID.
    • When using Value Is Higher than Any Previous Value, this must be an input field or combination of fields containing an incremental value.
    • When using Value Is a Date Later than Any Previous Date, this must be an input field containing a date value in ISO format.
Remove Items Processed in Previous Executions options

When using the Remove Items Processed in Previous Executions operation, the following option is available:

  • Scope: Defines how the system stores and uses the deduplication data for comparisons. The following options are available:
    • Node: (default) Stores the data for this node independently from other Remove Duplicates instances in the workflow. When you use this scope, you can clear the duplication history for this node instance without affecting other nodes.
    • Workflow: Stores the duplication data at the workflow level. This shares duplication data with any other Remove Duplicates nodes set to use "workflow" scope. The system continues to manage the duplication data for other Remove Duplicates nodes set to "node" scope independently.

When you select Value Is New as your Keep Items Where choice, this additional option is available:

  • History Size: The number of items to store for tracking duplicates across executions. The value of the Scope option determines whether this history size is specific to this individual Remove Duplicates node instance or shared with other instances in the workflow. By default, the system stores 10,000 items.
Clear Deduplication History

When you set the "Operation" field to Clear Deduplication History, the Remove Duplicates node manages and clears the stored items from previous executions. This operation doesn't affect any items in the current input. Instead, it manages the database of items that the "Remove Items Processed in Previous Executions" operation uses.

Clear Deduplication History parameters

When using the Clear Deduplication History operation, the following parameter is available:

  • Mode: Specifies how to manage the key/value items stored in the database. The following option is available:
    • Clean Database: Deletes all duplication data stored in the database. This resets the duplication database to its original state.
Clear Deduplication History options

When using the Clear Deduplication History operation, the following option is available:

  • Scope: Defines the scope used when managing the duplication database.
    • Node: (default) Manages the duplication database specific to this Remove Duplicates node instance.
    • Workflow: Manages the duplication database shared by all Remove Duplicates node instances that use workflow scope.

Forums
PINE Language
Get the app
iPhone Download
© 2015 - ∞ INVENTOR PTE LTD (SG)