Skip to content

Unique

The Unique node removes duplicate rows based on a field value. Only the first occurrence of each unique value is kept.

Configuration

PropertyTypeDefaultDescription
fieldstring--Required. The field name to check for uniqueness.

Input

Accepts an array of rows.

Output

Returns a deduplicated array of rows where each value of field appears only once. The first row with each unique value is kept; subsequent duplicates are removed.

How It Works

The node iterates through the input, tracking seen values. For each row:

  1. Read the field value (cast to string).
  2. If this value has been seen before, skip the row.
  3. If it is new, include the row and mark the value as seen.

Example Use Cases

Deduplicate by category

field: "category"

From a list of products, keep only one product per category -- useful for building a category showcase.

Remove duplicate emails

field: "email"

Unique tags from a tag list

field: "tag_name"

TIP

The Unique node keeps the first occurrence. If you need the latest or highest-scored item per group, sort the data first (using the Sort node), then deduplicate.