n8n Error Handling Official

•
305
•
Official
API 开发

Implements robust, self-healing error handling strategies for production-grade n8n workflows and webhook APIs.

This skill provides a comprehensive framework for managing failures in n8n, ensuring that unattended workflows and API-triggered processes are resilient and observable. It enforces best practices such as per-node error wiring, precise HTTP status code mapping (distinguishing between 4xx caller errors and 5xx system errors), and self-healing retry logic. By following these patterns, developers can eliminate silent failures and provide structured, actionable feedback to end-users and downstream systems.

主要功能

01Standardized HTTP status code mapping (4xx vs 5xx)
02305 GitHub stars
03Global workflow-level error catching configuration
04Set-based IIFE schema validation patterns
05Self-healing retry configuration for network-calling nodes
06Structured JSON error response templates

使用场景

01Implementing standardized error logging and notifications across large-scale integrations
02Creating self-healing scheduled automation workflows that handle transient blips
03Building production-ready webhook-triggered APIs with reliable responses