Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

n8n-error-handling

Skill by sickn33

Explains how to design visible, structured and recoverable failures in n8n workflows. It covers per-node error outputs, bounded retries, Error Trigger workflows and HTTP error responses. It is for builders of unattended n8n workflows, such as webhook APIs, cron jobs and queue workers.

  • Score 92
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install n8n-error-handling

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/n8n-error-handling ~/.claude/skills/n8n-error-handling

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install n8n-error-handling in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill is a guide for handling errors in n8n workflows. By default, a failing n8n node halts the whole workflow, which leaves callers with timeouts and operators with no alert. The skill shows how to route a node's failure to a separate error output, add bounded retries to retry-safe nodes, and use a workflow-level error workflow as a catch-all.

It also covers API workflows that respond to a caller. It maps each failure cause to an HTTP status code and a structured error body, and warns against leaking stack traces or credentials in responses. It is aimed at people who build unattended n8n workflows, and it says to verify wiring with n8n_get_workflow because validate_workflow does not catch half-wired error outputs.

Written from the project's SKILL.md and checked against it.

What it can do

  • Per-node error outputsRoutes a node's failure to a second output using onError set to continueErrorOutput.
  • Node retriesSets retryOnFail, maxTries and waitBetweenTries on retry-safe network nodes.
  • Error output wiringConnects main[1] of a fallible node to a handler using addConnection with sourceIndex 1.
  • Wiring verificationChecks the onError value and error output connections with n8n_get_workflow.
  • Status code mappingMaps causes such as missing fields, auth failures and upstream timeouts to HTTP status codes.
  • Input validationRuns a schema check inside one Set node and returns a 400 response with the schema for self-correction.
  • Redacted error responsesReturns a small error envelope and keeps stack traces, SQL and tokens out of caller-facing responses.

What you need

  • An n8n instance
  • Access to n8n workflow tools, such as node and workflow update tools

Try asking

  • Wire the error output of my HTTP Request node to a Handle Error node
  • Add bounded retries to the Gmail node in this n8n workflow
  • Make my webhook return 400 for missing fields and 502 for upstream errors

Good to know

  • Error Trigger does not fire for manual editor executions.
  • An Error Trigger is not a guarantee against process crashes or out-of-memory failures.
  • Retries fire on any error, with maxTries capped at 5 and waitBetweenTries capped at 5000 ms.
  • Retry only operations that are idempotent or protected by deduplication, because timeouts may have committed.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/n8n-error-handling/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md20 KB
  • references/API_WORKFLOWS.md14 KB
  • references/ERROR_WORKFLOWS.md9 KB
  • references/NODE_ERROR_OUTPUTS.md8 KB
  • references/RESPONSE_SHAPES.md10 KB

Alternatives to n8n-error-handling

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

n8n-error-handling: common questions

Does this skill include an MCP server?

No. The source says this tree bundles documents, not an MCP server, and that the user should discover the actual n8n tool schemas and node versions.

Why does an n8n error output need two changes?

The node must set onError to continueErrorOutput to create the second output, and that output must be wired to a handler. Doing only one of these either discards errors or leaves the handler unreachable.

Which status code should an n8n error response use?

The source says to match the status code to the cause, for example 400 for validation errors, 502 for upstream errors and 504 for upstream timeouts. Setting responseCode explicitly matters because it defaults to 200.

How do I install n8n-error-handling?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is n8n-error-handling free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is n8n-error-handling safe to use?

It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to n8n-error-handling?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

n8n-error-handling Install

Add to stack

Loading.