N8n Error Handling skill for Claude
Wire n8n error handling so failures are loud, structured, and recoverable.
When Claude uses it
Use when building any webhook/API workflow, a scheduled or unattended workflow, or any path where a silent failure would drop user-visible work — and whenever the user mentions error handling, onError, continueErrorOutput, error branches/outputs, retries, retryOnFail, Respond to Webhook status codes, 4xx/5xx, Error Trigger, or "my workflow fails silently". Covers per-node error outputs and wiring, retry/self-healing, error-trigger workflows, and 4xx/5xx response shapes.
N8n Error Handling SKILL.md
A preview of the skill file from WilkoMarketing/antigravity-n8n-skills.
n8n Error Handling
By default, when an n8n node throws, the whole workflow halts. For an interactive run you're watching, that's fine — you see the red node and fix it. For anything unattended (a webhook API, a cron job, a queue worker, an agent tool), it's the wrong default: the caller gets a timeout or an empty 500, the operator gets no alert, and the symptom is "the integration just stopped working" with no log and no clue.
This skill is about making failures loud, structured, and recoverable — and, best case, self-healing so transient blips never reach a human at all.
The two ideas that prevent most silent failures:
- Per-node error outputs — a node's failure routes down a second output you control, instead of killing the run.
- A workflow-level error workflow — a catch-all that fires for anything that escapes per-node handling (timeouts, crashes between nodes, unwired failures).
When you actually need this
| Workflow shape | Error handling posture |
|---|---|
Webhook / API (anything with Respond to Webhook) | Required. Every fallible node's error output wired; status code matches cause. |
| Scheduled / cron / queue worker / agent tool (unattended) | Required. A workflow-level error workflow, plus retryOnFail on network nodes. |
| Internal one-off you run and watch yourself | Optional. Default onError: "stopWorkflow" is fine — you'll see the red node and re-run. |
The dividing line: if anyone other than you sees the output — a downstream system, an end user, an on-call engineer — the failure has to be handled, not swallowed. If you're the only watcher and the cost of failure is "I notice and re-run", looser is fine.
How to install N8n Error Handling
Claude Code
Copy the skill into your personal skills folder (or into .claude/skills/ inside a project):
npx degit WilkoMarketing/antigravity-n8n-skills/n8n-error-handling#main ~/.claude/skills/n8n-error-handlingCodex
npx degit WilkoMarketing/antigravity-n8n-skills/n8n-error-handling#main ~/.codex/skills/n8n-error-handlingClaude.ai and Claude Desktop
Download the skill folder from GitHub, zip it, and upload it under Settings → Capabilities → Skills.
Frequently asked questions
+What does the N8n Error Handling skill do?
Wire n8n error handling so failures are loud, structured, and recoverable. Use when building any webhook/API workflow, a scheduled or unattended workflow, or any path where a silent failure would drop user-visible work — and whenever the user mentions error handling, onError, continueErrorOutput, error branches/outputs, retries, retryOnFail, Respond to Webhook status codes, 4xx/5xx, Error Trigger, or "my workflow fails silently". Covers per-node error outputs and wiring, retry/self-healing, error-trigger workflows, and 4xx/5xx response shapes.
+How do I install N8n Error Handling in Claude Code?
Copy the skill folder into ~/.claude/skills/n8n-error-handling, for example with "npx degit WilkoMarketing/antigravity-n8n-skills/n8n-error-handling#main ~/.claude/skills/n8n-error-handling". Claude Code loads it automatically and uses it when a task matches.
+Does N8n Error Handling work with ChatGPT or Codex?
Yes. N8n Error Handling uses the open SKILL.md format. In Codex, put the folder in ~/.codex/skills/n8n-error-handling. In Claude.ai, zip the folder and upload it under Settings → Capabilities → Skills.
+Is N8n Error Handling free?
N8n Error Handling is published on GitHub by WilkoMarketing. The repository does not declare a license, so check with the author before reusing it.