A practical acceptance condition is that another person can see why processing stopped and what they are allowed to do next. The [Email Operations case study](/projects/mail-pilot/) explores bounded retries and approval boundaries in a mock outbox. The principle is broader than email: retry only when the repeat is justified, bounded and understandable.
Inspect the failed request, not just the red node
Check the operation, destination response and fields supplied to that operation. A node name such as “Create contact” tells you the intention, not the exact request. Was the email absent, the account reference wrong or the destination temporarily unavailable? Use a sanitised example when sharing the problem and keep credentials out of screenshots.
Compare the failed input with one known to work. A changed field name or an unexpected null value can be more informative than the node’s colour. If the workflow transforms the input several times, inspect the last boundary before the external call. That is where the receiving service’s requirements need to be satisfied.
Invalid data needs correction
A response indicating invalid input generally calls for understanding and repairing that input. Sending the same malformed request repeatedly does not improve it. Check the provider’s error detail, required fields and accepted formats. Do not invent missing business information merely to make the request pass validation.
Route the affected item to a review state with the original reference and a useful explanation. Other independent valid items may be able to continue, but that decision depends on the workflow. If the failed item is a prerequisite for later actions, continuing blindly can create an incomplete or misleading result.
| Failure | Avoid | Investigate instead |
|---|---|---|
| Invalid input | Repeating the same payload | Required fields and formats |
| Access denied | Unlimited retries | Account and operation permissions |
| Rate limit | Immediate repeated calls | Provider limits and queue age |
| Write timeout | Blindly creating again | Existing result and request identity |
Access failures need an owner
An authentication or permission problem is different from a temporary network interruption. Check whether the connection uses the intended account, whether its access is still valid and whether the operation is allowed. A person with authority to manage the integration may need to repair it. Avoid switching to a broadly privileged account simply to suppress the error.
Document who receives this kind of alert. A workflow owned by a departed colleague may remain unattended until access changes. Keep a small integration inventory with purpose, owner and recovery steps; it should identify where secrets are managed without copying the secrets into the document.
Rate limits need pacing and a boundary
n8n’s rate-limit guide documents Retry On Fail and approaches using batching and waiting. Select settings using the destination’s rules. A brief wait may help with a temporary request limit; it does not repair exhausted access, a malformed request or a rejected business operation.
Set a maximum number of attempts and decide what happens afterward. Watch for a growing backlog: a workflow can stop producing errors while steadily falling behind its incoming workload. Check completed business items and queue age, not just the number of successful attempts. A rate-limit workaround that never catches up is not a complete operating plan.
Timeouts after writes deserve extra care
A read that times out and a create request that times out have different risks. After a create request, the record may exist even though no confirmation arrived. Before repeating the write, reconcile against a stable request reference or use the destination’s documented idempotency mechanism. The webhook duplicate guide explains the related event-identity problem.
n8n supports an error workflow configured for execution failures, as described in its error-handling documentation. Use it to surface useful incident context. It is not a substitute for deciding how to recover the business action, and error data can differ depending on where execution failed.
Test the policy with deliberate failures
Test one invalid input, one access denial, one rate-limit response and one uncertain write in a controlled environment. Confirm the number of attempts, the final visible state and whether any duplicate work appeared. Use a mock service where necessary, and record which provider behaviour remains unverified.
A practical acceptance condition is that another person can see why processing stopped and what they are allowed to do next. The Email Operations case study explores bounded retries and approval boundaries in a mock outbox. The principle is broader than email: retry only when the repeat is justified, bounded and understandable.
Sources & further reading
Official references, checked on 12 October 2026.
