In-Run Event Stream Deduplication and Cumulative Routing
Read the execution path horizontally, with supporting AI nodes below. Layout changes affect this preview only; the download stays unchanged.
Loading workflow…
Workflow Description
A self-contained automation workflow that deduplicates in-flight event records without external databases. Using an in-memory Code algorithm, it tracks key occurrences, attaches batch metrics, and splits items through an If node. Unique records are routed to production and compiled into a consolidated reconciliation report, while redundant duplicates are quarantined into an audit path.
How it works
- 1.Trigger workflow manually using Manual Trigger.
- 2.Emit sample batch with known duplicate event IDs via Code node.
- 3.Process stream using Map-based deduplication and attach occurrence metrics.
- 4.Branch items using If node based on boolean is_unique flag.
- 5.Tag unique items for production and aggregate into final reconciliation report.
- 6.Tag duplicate items for audit archive and route to NoOp sink.
Use cases
- Preventing duplicate webhook processing from systems with aggressive retry policies.
- Cleaning transaction streams prior to ERP ledger insertion.
- Deduplicating batched IoT sensor telemetry payloads in memory.
Requirements
- n8n version 1.0.0 or higher.
- No third-party credentials or API integrations required.
Setup and testing in n8n
- Import the workflow and click 'Test Step' on the Manual Trigger node.
- Inspect 'Generate Event Batch' to verify 7 sample records are emitted.
- Verify 4 records take the true branch and 3 duplicate records take the false branch.
- Check 'Build Reconciliation Report' for the single summary object with matching figures.
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 (9)
Manual Trigger
Manual Trigger
Generate Event Batch
Code
Deduplicate & Tag Stream
Code
Is Unique Record?
If
Route Unique Records
Set
Route Duplicate Records
Set
Audit Archive Drain
No Op
Build Reconciliation Report
Code
Note - Test Generation
Sticky Note
Note - Deduplication and Routing
Sticky Note
Note - Reconciliation and Quarantine
Sticky Note
Join Unique and Duplicate Routes
Merge
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