Noom’s desk / Working note
When a workflow fails halfway
Find the last confirmed action before pressing retry.
Zero Foundry

A timeout is an unanswered question
The receiving system may have completed an action even though the sender never received confirmation. Retrying blindly can create a duplicate. Preserve a stable identifier and check the destination before deciding what to repeat.
Stripe documents idempotency keys for requests that create or update objects. Reusing the key lets the service recognize a retry. Its API versions differ in how failed results behave, so implementation needs the rules for the actual endpoint. The general lesson is to make repeat handling explicit.
Separate temporary from permanent failure
A brief network interruption may justify a bounded retry. A revoked permission or missing required field needs a change, not repeated attempts. Cloudflare Workflows documents configurable retry limits, delays and timeouts, plus a way to stop on a non-retryable error.
Choose the policy for each step. Record the attempt and the outcome. When the limit is reached, notify the operating owner with enough context to investigate, without exposing sensitive input in a casual notification.
Recover from the confirmed state
List which steps succeeded and which remain uncertain. Resume only the work that is safe to repeat. If a prior action must be undone, define the compensating action and its own failure path. A refund, cancellation or correction may require approval.
Test failure with prepared examples before relying on the process. Disconnect a harmless test destination, remove a required field and repeat a test event. Check that the owner can find the original item and understand what happened. A silent queue is not a recovery plan.
On the desk / local exercise
Investigate the failed handoff
Record the existing result. Do not create a second item merely because the sender timed out.
Retry only under the step’s defined policy, with the original event identity preserved.
Pause and investigate. Treat uncertainty as uncertainty, not as proof of failure.
This exercise runs only on this page. It sends nothing and does not save your entries. The cases illustrate decisions, not measured client results.
Retry behavior: Cloudflare: Sleeping and retrying.