Incident runbook
What to do when each alert arrives. Print it, pin it in the alerts channel, or paste it into your client SOP.
π΄/π "n8n failure: <workflow>" (RAK-01)
- Read the Class line.
auth: reconnect or rotate the credential named in the failing node. Retrying won't help. After fixing, retry the failed executions manually from the Executions list (or let RAK-06 skip them; it never retries auth errors).rate_limit/timeout/network/upstream_5xx: transient. If the workflow is on RAK-06's allowlist it will be retried after the backoff. If not, decide whether a manual retry is safe (see "Is it safe to retry?").validation: the data or the workflow is wrong. Open the execution link, inspect the input of the failed node, fix the mapping or add a guard, then retry or replay.- If you expect more of the same, there is nothing else to do. Repeats are stored and muted for the suppression window.
βΈοΈ "Watchdog: silent" (RAK-02)
The workflow has not started within its expected interval.
- Is it still active/published? Someone may have deactivated it.
- Schedule trigger: check the timezone and the cron/interval.
- Webhook trigger: has the provider stopped sending? Look at the provider's webhook delivery log; their side may show failures or a disabled endpoint. Has the n8n URL changed (domain, path, test vs production URL)?
- Polling trigger: the credential may have expired; trigger errors also reach RAK-01.
π "Watchdog: failing"
Several failed runs in the window. Look at RAK-01 alerts for the same workflow, since the root cause is usually there. If RAK-01 is quiet, the workflow probably isn't using it as its Error workflow.
π΄ "API health: DOWN" (RAK-04)
- Check the provider's status page.
- Pause workflows that write to this API if failures would leave partial state (RAK-06 will not retry until the backoff passes anyway).
- RECOVERED arrives automatically.
Is it safe to retry?
A retry re-runs the workflow from the failed node with the same input. It's safe when every side effect before and at that node is idempotent:
- it went through the Idempotency Gate, or
- it's an upsert or PUT keyed by a stable id, or
- the API received an
Idempotency-Keyheader.
It's not safe when an earlier node already sent an email, charged a card or created a record without one of those. Fix that first.
Duplicate side effect happened anyway
SELECT * FROM rak.idempotency WHERE key = '<event id>';- No row: the workflow isn't calling the gate, or the key expression produced something different on each delivery.
- Two different keys for one real-world event: your key isn't stable. Pick the provider's event id.
- Compensate the duplicate (refund, delete, notify), then fix the key.