The Duplicate Action Trap: Why Retried Webhooks Double-Bill and Double-Notify Client Accounts

Symptom: Clients report two identical welcome emails, invoices, or Slack alerts for a single purchase or signup. Root cause: The receiving handler is not idempotent, so every redelivery of the same event is treated as a new business action.

How do you recognize it?

  • Clients report two identical welcome emails, invoices, or Slack alerts for a single purchase or signup.
  • CRM records show the same contact created or updated twice within seconds of each other.
  • Payment or fulfillment dashboards list one order as two line items after a provider timeout.
  • Agency support queues fill with questions about messages that arrived out of order or repeated overnight.
  • Retry counts in the webhook log climb while the downstream system's own logs show successful completions for each copy.

Why does it happen?

  • The receiving handler is not idempotent, so every redelivery of the same event is treated as a new business action.
  • Providers retry on any non-2xx or timed-out response, and a handler that completes its work but responds slowly triggers a retry that repeats the work.
  • Deduplication keys are missing or built from fields that change between deliveries, such as timestamps or generated IDs, so duplicates pass as distinct events.
  • Routing layers that fan one event out to several destinations retry each leg independently, so a single failed leg can replay actions already completed on the other legs.

How do you fix it?

  • Store each provider event ID in a table with a unique constraint and return 200 only after the write succeeds, so repeats hit the constraint instead of the billing or email step.
  • Pull the last 7 days of webhook logs for one active client, group deliveries by event ID, and count how many events produced more than one downstream action to size the exposure.
  • Place a short idempotency check ahead of any customer-facing send, such as email, SMS, or invoice generation, and log the skip so the agency can confirm it fires.
  • Route high-impact events such as payments and account changes through a relay with dedupe and retry logging, such as EventSend's unique-key deduplication or a self-hosted proxy like HookArmor that persists events before replying.

Services for this topic: Webhook Automation in the catalog.