Operations

Stop automation retries from sending duplicate emails, SMS, and CRM rows

“When a webhook times out or an API rate-limits, n8n or Make retries the run and sends the customer two or three identical emails, texts, or invoices.”

The short answer

Enforce idempotency keys at the entry point and gate every external side effect behind a deduplication check. Store a unique event ID (message_sid, invoice_id, or hash of payload + 5-minute bucket) in Redis, Postgres, or a fast lookup table before sending SMS, email, or creating a CRM record. If the key already exists, return HTTP 200 immediately and exit the branch.

  • ~2 hours/week back (estimated)
  • 45 minutes to set up
  • Medium difficulty

How we estimated that: Eliminating manual cleanup of duplicate CRM records, refunding double-charged orders, and apologizing to customers for double-texts. This is a model, not a measurement — check it against your own numbers, because if the assumption does not match your business the figure will not either.

What you'll need

  • n8n (Self-Hosted) free leanest paid option

    Free until: Unlimited workflows and executions on your own Docker/VPS host.
    Watch the pricing: $0 software cost (self-hosted Community Edition).
    Pricing checked 2026-11-24 — source.
● Official Implementation Blueprint · Public Engineering Release

Download Step-by-Step Application Instructions (PDF)

Printable engineering runbook with wholesale utility configurations, step-by-step setup walkthrough, and our 5-point quality verification protocol.

  • ✓ Complete step-by-step setup instructions
  • ✓ Zero agency markups · wholesale utilities
  • ✓ 5-point quality verification protocol
  • ✓ Self-hostable · client ownership guaranteed
Download Application Blueprint (PDF) ↓ Instant Direct Download · Zero Form Walls

We are not paid by any tool listed here. If a cheaper or better option exists, that's what you'll see.

Pricing above was checked on 2026-11-24. Vendors change their terms without notice, and free tiers do get withdrawn. We take no money from any vendor listed here. If something on this page is out of date, tell us and we will correct it.

How to set it up

  1. Acknowledge incoming webhooks immediately

    Return HTTP 200 right away before running slow downstream AI or CRM calls so the sender does not time out and retry.

  2. Compute a deterministic idempotency key

    Derive the key from the upstream event ID or normalized phone plus a short timestamp window, never a random UUID.

  3. Check and set the key atomically

    Store the key in Redis or Postgres (SET NX EX 86400 or a unique constraint) before any SMS, email, or CRM write node.

  4. Route duplicate hits to an audit log

    Exit the action branch cleanly and log the duplicate event ID instead of firing external side effects.

Common questions

Why do n8n or Make workflows send duplicate emails on retry?
When a downstream API times out or returns a transient 5xx after a partial write, the runner retries the whole execution from the trigger unless an idempotency key blocks repeat side effects.
Where should I store idempotency keys?
Use a store with atomic uniqueness such as Redis (SET NX) or a Postgres table with a unique constraint on the event key, rather than a non-atomic read-then-write check.

Last reviewed 2026-11-24. Tools change — if something here is out of date, tell us and we'll fix it.

Got a different problem?

If we already have your fix, it's on its way to your inbox. If we don't, you'll get a personal reply within one business day. Your address is used to send the fix and our reply — it is not added to any marketing list.

Free Deliverable Packages & 15-Minute Q&A

Pick a free first-implemented deliverable package, or book a free 15-minute Q&A. We answer your questions about whatever you want to talk about — no sales, no overall work done. Tell us what you need and we send you a markdown deliverable to complete it.