Automated Error Notifications with Optional GPT-4o Diagnostics via Email
++Who’s it for++
This template is ideal for anyone who needs reliable, real-time visibility into failed executions in n8n. Whether you’re a developer, operator, founder, or part of a small team, this workflow helps you detect issues quickly without digging through execution logs. It’s especially useful for users who want the flexibility to enable AI-powered diagnostics when needed.
++What it does++
The workflow sends an automated email alert whenever any workflow in your n8n instance encounters an error. It captures key details such as workflow name, timestamp, node name, and error message. If you enable AI analysis, the alert also includes a Severity Level and a Quick Resolution—giving you an instant, actionable understanding of the problem. If AI is disabled, you receive a clean, minimal error notification.
++How it works++
- Error Trigger activates when any workflow fails.
- Config — Set Fields stores your SMTP settings and the AnalyzeErrorWithAI toggle.
- Use AI Analysis? decides whether to run the AI node.
- If enabled, Analyze Error with AI generates structured recommendations.
- Format Email Body builds the message based on the selected mode.
- Send Email delivers the notification.
++Requirements++
- SMTP credentials
- A valid sender & recipient email
- Optional: OpenAI credentials if using AI analysis
++How to set up++
- Open the Config node and fill in email settings and the AI toggle.
- Add your SMTP and (optional) OpenAI credentials.
- Save, activate, and test the workflow.
Related Templates
Generate Product Ad Copy & CTAs with GPT-4 for Slack and Airtable
⚡ AI Copywriter Pro: Instant Ad Copy & CTA Generator Transform product details into compelling marketing copy in second...
Instagram Full Profile Scraper with Apify and Google Sheets
📸 Instagram Full Profile Scraper with Apify and Google Sheets This n8n workflow automates the process of scraping ful...
Compare Lists and Identify Common Items & Differences Using Custom Keys
This workflow compares two lists of objects (List A and List B) using a user-specified key (e.g. email, id, domain) and ...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments