Synthetic Workflow Sample · Importable n8n JSON

Agency Quote Intake — Retries, Idempotency & Dead-Letter Routing

Example of a production-style n8n workflow built for agencies: validates incoming quote requests, holds mismatched totals for human review, retries transient CRM failures with explicit backoff, and emits an audit log.

Synthetic Data Notice: This simulator and downloadable workflow JSON use mock endpoints and synthetic quote payloads strictly to demonstrate error-handling architecture—not live customer traffic.

Direct address:

Send two anonymized sample inputs or target API names to scope a fixed-price build.

Node Topology & Error Paths

Six-node n8n agency intake workflow diagram Webhook leads to validation and a router. Clean items retry CRM upsert up to three times before draft quote output or dead-letter error alert. Mismatched or incomplete items hold for human review. 01_Webhook Inbound JSON 02_Validate Sum & req_id check 02b_IF Clean? 03_CRM_Upsert maxTries=3 · IdempKey 04_Draft_Quote Status: ready 05_Hold_Review Operator quarantine 06_Dead_Letter Error output + replay

Interactive Execution Simulator

Click a failure or happy-path scenario to inspect node retries, idempotency, and audit output.

Scenario 1: Valid quote request — 4 nodes executed, idempotent CRM upsert succeeded on attempt 1/3.

Execution trace · Synthetic run
Node Outcome Attempt / Rule Detail
01_Webhook_Inbound_Request PASS Event received req_id: Q-2026-104 · 2 line items
02_Validate_Required_Fields PASS Exact match Computed $900.00 == Declared $900.00 · quote:Q-2026-104
03_CRM_Upsert_With_Retry PASS Attempt 1 / 3 Idempotency-Key: quote:Q-2026-104 · HTTP 200
04_Draft_Quote_Output DONE Terminal node Quote draft queued cleanly (`status: draft_ready`)

Structured Audit Output (JSON)

{
  "status": "draft_ready",
  "req_id": "Q-2026-104",
  "idempotency_key": "quote:Q-2026-104",
  "computed_cents": 90000,
  "attempts": 1,
  "audit_note": "Committed deterministically after validation and idempotent CRM upsert"
}

White-Label Engineering Standards

Retry & Dead-Letter External HTTP/CRM nodes use retryOnFail: true (3 attempts, 2 s backoff) paired with onError: "continueErrorOutput" so failures route to a named dead-letter alert node with replay context instead of vanishing.
Validation Before Write Missing required fields or line-item vs. total variances route to 05_Hold_For_Human_Review before touching CRM records or generating outgoing drafts.
Idempotent Retries Every upstream request carries a deterministic Idempotency-Key derived from req_id so retries and manual dead-letter replays never create duplicate deals.
Handoff & Naming Numbered node names (01_..06_), zero hardcoded secrets or PII, and standalone importable JSON (compatible with self-hosted n8n v1 execution order).

Need white-label n8n builds?

Send a workflow outline or two anonymized input/output examples to scope a fixed-price build with retries, tests, and clean node documentation.

Direct address:

Already in touch? Reply with your target tools and failure cases.