Skip to content
AI Agents

Fingerprint Dedupe and Conflict Classification Layer Around Merge Append

11 nodes 72 8 Manual trigger
Download

Loading workflow…

Workflow Description

A self-contained flow: one config node defines fingerprint fields (orderId|sku) and fictional samples; two branch Code nodes compute composite fingerprints, Merge appends both branches, then records are grouped by fingerprint — exact duplicates collapse into one clean record with a repeat counter, same-key records with differing values route to a review path with metadata-only top-level fields and all copies in variants, and rows missing identity fields are flagged invalid. A Set node enriches the clean route and one summary balances counts. The flow classifies conflicts that may indicate double execution; it does not itself test Merge's execution behavior.

How it works

  1. 1.Config node defines FP fields and demo samples, fanned out to two fingerprint Code nodes with type checks before trim/toLowerCase
  2. 2.Merge in append mode combines both branches
  3. 3.Dedupe and Classify groups by fingerprint; canonical numeric comparison separates benign duplicates from value conflicts and invalid rows
  4. 4.IF routes clean records through a Set node (includeOtherFields=true) to a NoOp and suspicious/invalid to a review NoOp; the summary is fed directly from Dedupe
  5. 5.Build Balance Summary emits a single item with before/after counts and a balance check

Use cases

  • Purifying reports assembled from multiple tool branches
  • Distinguishing benign duplicates from same-key value conflicts that may indicate double execution
  • Unifying records arriving from two processing branches

Requirements

  • n8n 2.44.4 or newer
  • Edit the FP list only in the config node for production identity fields; for real input connect your branches directly to the fingerprint nodes
  • No credentials or external calls required

Setup and testing in n8n

  1. Import the workflow and run it manually from Manual Trigger
  2. Inspect Dedupe: ORD-1001 benign duplicate repeatCount=2, ORD-1002 conflicting on qty and status with a metadata-only record, one invalid row
  3. Verify the summary shows totalInput=7 and isBalanced=true
  4. Known edge case: emptying both branchA/branchB arrays means the fingerprint nodes emit zero items, so Merge and all downstream nodes never execute and no summary is produced under executionOrder v1; the code itself never fabricates placeholder rows on empty input

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Manual Trigger Code Merge If Set No Op

Details

Trigger Manual trigger
Nodes 11
Apps 6
Views 72
Downloads 8

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (11)

/

Manual Trigger

Manual Trigger

#1

Load Samples and Fingerprint Config

Code

#2

Branch A Fingerprint

Code

#3

Branch B Fingerprint

Code

#4

Merge Branches (Append)

Merge

#5

Dedupe and Classify

Code

#6

Is Record Clean?

If

#7

Tag Clean Route

Set

#8

Clean Records

No Op

#9

Review Duplicates and Invalid

No Op

#10

Build Balance Summary

Code

#11

Stage 1 Note

Sticky Note

#12

Stage 2 Note

Sticky Note

#13

Stage 3 Note

Sticky Note

#14
Stay in the loop

Fresh workflows, straight to your inbox

Get newly published DROPIDEA workflows, a clear overview of what they do, and a link to explore them.

  • New workflows
  • Clear overviews
  • Setup guides

Be first to discover what is new

Your name, your email, and one confirmation.

Email confirmation · Unsubscribe anytime