Fingerprint Dedupe and Conflict Classification Layer Around Merge Append
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.Config node defines FP fields and demo samples, fanned out to two fingerprint Code nodes with type checks before trim/toLowerCase
- 2.Merge in append mode combines both branches
- 3.Dedupe and Classify groups by fingerprint; canonical numeric comparison separates benign duplicates from value conflicts and invalid rows
- 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.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
- Import the workflow and run it manually from Manual Trigger
- Inspect Dedupe: ORD-1001 benign duplicate repeatCount=2, ORD-1002 conflicting on qty and status with a metadata-only record, one invalid row
- Verify the summary shows totalInput=7 and isBalanced=true
- 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
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (11)
Manual Trigger
Manual Trigger
Load Samples and Fingerprint Config
Code
Branch A Fingerprint
Code
Branch B Fingerprint
Code
Merge Branches (Append)
Merge
Dedupe and Classify
Code
Is Record Clean?
If
Tag Clean Route
Set
Clean Records
No Op
Review Duplicates and Invalid
No Op
Build Balance Summary
Code
Stage 1 Note
Sticky Note
Stage 2 Note
Sticky Note
Stage 3 Note
Sticky Note
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