DEVELOPERS · IDEMPOTENCY & RETRIES

Repeats never become duplicate runs

Every run carries an idempotency key; failed nodes retry by policy and then enter a dead-letter queue. Replay from the failing node instead of rerunning the whole flow.

Idempotency key dedupe Exponential backoff Node-level replay
How it works

One key decides one execution

01

Caller supplies a key

Use an order number or event ID as the key, ideally the business-unique identifier.

02

Platform matches an existing run

A repeated key within the window returns the original run with no new side effects.

03

Failed nodes retry by policy

Timeouts and 5xx use exponential backoff; 4xx skips retry and goes to dead-letter.

04

Replay from the failed node

After fixing the external condition, replay only the failed node and its downstream.

Request example

Put the key in the header

The caller generates a stable key and reuses it when retrying after network uncertainty.

curl -X POST https://hooks.tovois.com/v1/hooks/order-sync \ -H "Authorization: Bearer fp_live_9f3x…" \ -H "Idempotency-Key: ord-20261117-001" \ -d '{"orderId":"SO-88231"}'
✓ Repeats return the original executionId
Retry policy

Match the action to the error type

Error typeRetry?Fallback
Timeout / 5xxYes, exponential backoffDead-letter after cap
4xx client errorNoAlert and stop the node
AI call failureLimited retryUse preconfigured fallback copy
External system busyYes, jittered backoffLog every attempt and result

Turn failures into handleable events

Free plan · 74 ready-to-run templates · change plans anytime