Library / E-commerce & Payments
E-commerce & Payments
Prevent duplicate webhook processing with Data Tables idempotency guard
When an API call/webhook arrives, it handles orders and payments using Data Table.
What it does
## Required Data Table Create webhook_idempotency with: - ledger_key — String - scope — String - idempotency_key — String - status — String - first_seen_at — DateTime - last_seen_at — DateTime - expires_at — DateTime - duplicate_count — Number Select it in all four Data Table nodes.
The steps
- Receive Webhook Event
- Normalize Event
- Configure Guard
- Find Existing Key
- Evaluate Idempotency
- Route Decision
- Create Ledger Record
- Record Duplicate
- Refresh Expired Record
- Build Guard Result
Similar automations
E-commerce & PaymentsPrevent duplicate payment transactions with webhook, Postgres, and HTTP API10 stepsData Sync & ETLSync Mastodon bookmarks to Wallabag with Data Tables and duplicate checks15 stepsBuilding Blocks & UtilitiesPrevent Concurrent Workflow Runs with Redis Locks31 stepsBuilding Blocks & UtilitiesPrevent Duplicate Webhook Runs with a Redis Lock24 steps