Перейти к содержанию
НОВОЕПознакомьтесь с Alaaddin — вашим ИИ-джинном с голосом. trig8n запускается 1 января 2027. Что нового

Библиотека / Электронная коммерция и платежи

Электронная коммерция и платежи

Prevent duplicate webhook processing with Data Tables idempotency guard

When an API call/webhook arrives, it handles orders and payments using Data Table.

Что делает

## 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.

Шаги

  1. Receive Webhook Event
  2. Normalize Event
  3. Configure Guard
  4. Find Existing Key
  5. Evaluate Idempotency
  6. Route Decision
  7. Create Ledger Record
  8. Record Duplicate
  9. Refresh Expired Record
  10. Build Guard Result

Похожие автоматизации