Schema Integrity Auditor and Dead-Letter Quarantine Router
Loading workflow…
Workflow Description
A fully self-contained workflow that audits data payloads against explicit schema rules (basic email pattern, numeric ranges, enum roles, date formatting). Valid records proceed unharmed, while malformed records are tagged and isolated into an in-workflow dead-letter quarantine alongside actionable validation error diagnostics. Quarantine means tagging records and grouping them in the deadLetterQueue output array for this execution only. It is not a durable queue, persistent audit store, or external delivery service. Inspect the output or add suitable storage for production use.
How it works
- 1.Initiate manual execution via Manual Execution Trigger.
- 2.Generate realistic normal and corrupted payloads via Emit Fictional Payloads.
- 3.Inspect types, required fields, and regular expressions in Validate Schema Rules.
- 4.Branch the records using Evaluate Audit Validity based on boolean audit status.
- 5.Forward healthy payloads through Pass-Through Valid Records.
- 6.Enrich and tag invalid records with quarantine metadata in Tag Dead-Letter Quarantine.
- 7.Synthesize telemetry, operational counts, and quarantine diagnostics in Generate Execution Telemetry.
Use cases
- Validating incoming API payloads before database insertion or CRM updates.
- Isolating corrupt webhook events to prevent downstream task failure.
- Creating an auditable dead-letter routing mechanism within native n8n workflows.
Requirements
- Test target: n8n 2.44.6 with Merge 3.2, If 2.2 and Set 3.4.
- No third-party credentials required; runs completely offline using native n8n nodes.
- Optional _auditAt sets the audit time; otherwise current time is used. Demo inputs use a fixed time for repeatable testing.
- Quarantine means tagging records and grouping them in the deadLetterQueue output array for this execution only. It is not a durable queue, persistent audit store, or external delivery service. Inspect the output or add suitable storage for production use.
Setup and testing in n8n
- Import the JSON workflow into your n8n workspace.
- Click Test Workflow on the canvas to trigger execution.
- Inspect the final node Generate Execution Telemetry output.
- Verify that two records are marked valid and two records are captured in the deadLetterQueue array with explicit reasons.
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 (8)
Manual Execution Trigger
Manual Trigger
Emit Fictional Payloads
Code
Validate Schema Rules
Code
Evaluate Audit Validity
If
Pass-Through Valid Records
No Op
Tag Dead-Letter Quarantine
Set
Generate Execution Telemetry
Code
Architecture Overview Note
Sticky Note
Routing Logic Note
Sticky Note
Join Valid and Quarantined Records
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