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














