Appearance
Unique
The Unique node removes duplicate rows based on a field value. Only the first occurrence of each unique value is kept.
Configuration
| Property | Type | Default | Description |
|---|---|---|---|
field | string | -- | 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:
- Read the
fieldvalue (cast to string). - If this value has been seen before, skip the row.
- 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.