N8n Error Handling

by czlonkowski19cd793f4789No license6.3K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 3 weeks ago

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.

Add to a SourceWeft workspace

  1. Open the skill in your dashboard and add it to a workspace.
  2. Enable it for the chats that should use it.

This skill is instructions only: it ships no scripts to execute.

Add to SourceWeft

You will be asked to sign in first, then taken straight to this skill.

Ask your agent to install it

Paste this prompt into Claude Code, Codex, Cursor or another agent that can run commands — or into SourceWeft chat. The agent reads this skill's install guide, shows you its source, license and scripts, and installs it with the SourceWeft CLI once you agree.

Read https://sourceweft.com/skills/gh-czlonkowski-n8n-skills-n8n-error-handling/install.md and install the skill it describes. Before installing, show me its source, license and whether it ships scripts, and wait for my OK. Ask me before changing anything else on my machine.

Read the install guide the agent follows

Install it yourself from a terminal

For Claude Code, Codex, Cursor and other local agents. The SourceWeft CLI fetches the skill from its source repository at the commit scanned here, and verifies every file against the hashes recorded when the skill was scanned. If anything differs, nothing is written.

npx @sourceweft/cli skills install gh-czlonkowski-n8n-skills-n8n-error-handling

Add --agent claude-code, codex, cursor or universal to choose which agent gets it (Claude Code by default).

Upstream installer — not verified by SourceWeft

The open-source skills installer fetches the same pinned commit, but does not check the files against the hashes SourceWeft recorded.

npx skills add https://github.com/czlonkowski/n8n-skills/tree/19cd793f4789e3ef9c657ccf26e097f641a77df0/skills/n8n-error-handling

Source and attribution

Source:czlonkowski/n8n-skillsinskills/n8n-error-handlingat commit19cd793

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal

More from czlonkowski/n8n-skills

Using N8n Mcp Skills

czlonkowski

Routes n8n workflow tasks to specialist skills and documents the n8n-mcp tool surface.

AI & Agents6.3Kupdated 3 weeks ago

N8n Validation Expert

czlonkowski

Guides interpretation and fixing of n8n workflow validation errors, warnings and false positives.

Software Development6.3Kupdated 3 weeks ago

N8n Subworkflows

czlonkowski

Guides building reusable, composable n8n sub-workflows with typed inputs, clear contracts and correct call modes.

AI & Agents6.3Kupdated 3 weeks ago

N8n Multi Instance

czlonkowski

Use when an n8n-mcp account targets more than one n8n instance — i.e. the `n8n_instances` tool is available, the user mentions multiple n8n instances or environments (prod vs staging, several teams or clients), a workflow / datatable / credential / execution call returns an unexpected NOT_FOUND or reads data you don't recognize, or a credential create/update/delete is refused with an `INSTANCE_AMBIGUOUS` error. Covers choosing and switching which instance this MCP session targets, verifying the target before high-stakes work — credential writes above all — and recovering from misroutes and ambiguous-write fail-closes. Always consult this skill before operating on a specific instance, before any credential create/update/delete on a multi-instance account, or when a call hits the wrong/empty data or an `INSTANCE_AMBIGUOUS` error.

Awaiting classification6.3Kupdated 3 weeks ago

N8n Mcp Tools Expert

czlonkowski

Guides an agent in correctly using n8n-mcp MCP tools to search nodes, validate configs, and manage n8n workflows.

AI & Agents6.3Kupdated 3 weeks ago

N8n Expression Syntax

czlonkowski

Guides writing and debugging n8n expressions, including {{}} syntax, $json/$node variables, and $jmespath queries.

Software Development6.3Kupdated 3 weeks ago