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 shapeError 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 yourselfOptional. 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.


Read the full SKILL.md on GitHub →

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-handling

Codex

npx degit WilkoMarketing/antigravity-n8n-skills/n8n-error-handling#main ~/.codex/skills/n8n-error-handling

Claude.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.

Related software development skills

  1. Code Review

    Review the changes since a fixed point (commit, branch, tag, or merge-base) along two axes: Standards (does the code follow this repo's…

    mattpocock/skills★ 327k
  2. Using Agent Skills

    Discovers and invokes agent skills. Use when starting a session, or when you need to decide which skill or workflow applies to the piece of…

    addyosmani/agent-skills★ 119k
  3. Build

    Fully automate a coding task with make-plan, do, and babysit.

    thedotmack/claude-mem★ 118k
  4. N8n Node Configuration

    Operation-aware node configuration guidance. Use when configuring nodes, understanding property dependencies, determining required fields,…

    WilkoMarketing/antigravity-n8n-skills★ 108
  5. N8n Validation Expert

    Interpret validation errors and guide fixing them. Use when encountering validation errors, validation warnings, false positives, operator…

    WilkoMarketing/antigravity-n8n-skills★ 108
  6. N8n Workflow Patterns

    Proven workflow architectural patterns from real n8n workflows.

    WilkoMarketing/antigravity-n8n-skills★ 108
  7. Image To Code

    Elite website image-to-code skill for Codex. For visually important web tasks, it must first generate the design image(s) itself, deeply…

    Leonxlnx/imagegen-skills★ 86
  8. Character Reference Sheet

    Generates a 3:2 aspect ratio character reference sheet with three columns: detailed portrait, full-body front view, and full-body back…

    ShinChven/nano-banana-skills★ 72
  9. Imax Portrait

    Expands and recomposes images into an IMAX 70mm portrait style (1.43:1 aspect ratio) with high-fidelity Christopher Nolan-esque aesthetics.

    ShinChven/nano-banana-skills★ 72

See all software development skills →

More skills from WilkoMarketing

  1. N8n Expression Syntax

    Validate n8n expression syntax and fix common errors. Use when writing n8n expressions, using {{}} syntax, accessing $json/$node variables,…

    WilkoMarketing/antigravity-n8n-skills★ 108
  2. N8n Mcp Tools Expert

    Expert guide for using n8n-mcp MCP tools effectively. Use when searching for nodes, validating configurations, accessing templates,…

    WilkoMarketing/antigravity-n8n-skills★ 108
  3. N8n Multi Instance

    Use when an n8n-mcp account targets more than one n8n instance — i.e.

    WilkoMarketing/antigravity-n8n-skills★ 108

All skills by WilkoMarketing →

Give your whole team an AI agent with skills

Cody runs managed AI agents your team can message in Slack, Teams, WhatsApp and the web, with 50+ business integrations, scheduled tasks and memory. No terminal required.