Description
Automated error diagnostics and HTML reporting for n8n β powered by AI
π Stop manually debugging failed executions β this workflow turns error metadata into expert-level insights using GPT-4o
π§ What Problem Does It Solve?
Manually troubleshooting failed n8n workflows is tedious, inconsistent, and slow to scale. This workflow automates the error analysis process and delivers GPT-powered diagnostics for:
πΉ Node-level failures
πΉ Execution metadata
πΉ Root cause explanations
πΉ Step-by-step resolutions
βοΈ How It Works
π Listens to all workflow errors via the Error Trigger node
π¦ Captures detailed failure metadata: execution ID, workflow name, node details
π§ Sends error context to GPT-4o for root cause diagnosis
π Parses the AI response into a structured JSON
π¨ Generates a styled HTML email report with analysis + resolution
π§ Sends the report to your support/dev inbox via Gmail
β¨ Key Features
π§² Works across all workflows or specific ones of your choice
π¬ Uses GPT-4o to provide expert-level suggestions and fixes
π¨ Sends professional HTML reports to your inbox
π§± Built-in filtering for manual runs, test mode, and noisy nodes
π Scales to teams β notify multiple recipients via To/CC/BCC
π§ Easily customizable for branding, prompts, and formats
π§° What You Need
β
Self-hosted or cloud n8n with Error Trigger node
β
OpenAI API Key with GPT-4o access
β
Gmail (OAuth) credentials
β
Admin/support email address
π οΈ Setup Instructions
π Connect the Error Trigger to this diagnostic chain
π Add your OpenAI and Gmail credentials
π§ Set your preferred recipients in the Set Email node
π§ͺ Customize prompt & styling in "Error Solver Agent" or "Generate Email" nodes
β
Test with a failed workflow to see the full email output
π§© Integrations
π¬ Google Gmail
π§ OpenAI GPT-4o
βοΈ n8n Workflows













