๐ง FloWatch ๐๏ธ Analyze and Diagnose n8n Workflow Errors via OpenAI and Email
๐ง Analyze and Diagnose n8n Workflow Errors Automatically via OpenAI and Email
> โ ๏ธ This template is available on โ๏ธ Cloud & ๐ฅ๏ธ self-hosted n8n instances with the OpenAI node enabled.
๐ค Who is this for?
This workflow is designed for n8n developers, automation engineers, and DevOps teams who want to automatically capture and analyze workflow errors, and receive professional HTML-styled diagnostics directly in their inbox.
๐ฅ What problem does this solve?
Manually troubleshooting failed workflows in n8n can be time-consuming. This template streamlines error detection by:
Capturing workflow failures using the Error Trigger node Diagnosing root causes with the help of OpenAI Sending a fully-formatted, human-readable HTML error report via email Including practical resolutions and next-step suggestions
This helps you or your team resolve issues faster and avoid repeated manual debugging.
โ๏ธ What this workflow does
โก Triggers on any n8n workflow error ๐ฆ Extracts relevant error metadata including node, execution ID, and timestamps ๐ง Sends error content to OpenAI for analysis and recommendations ๐ Generates an HTML email report with inline styles and clear formatting ๐ฅ Emails the result to a system administrator or support email
๐ ๏ธ Setup
Install the OpenAI node in your self-hosted n8n instance. Add your OpenAI API Key securely in credentials. Configure the SMTP Email node with your email credentials. Adjust the Error Trigger to monitor specific workflows or all workflows. Set your preferred admin or dev email address in the final node.
๐ง How to customize this workflow to your needs
๐งฉ Use a [Set node] to define your variables, such as: Default admin email Workflow filter (optional) โ๏ธ Customize the prompt sent to OpenAI if you want deeper or more specific analysis ๐จ Modify the email HTML styles to match your brand or internal format ๐พ Add additional logging (e.g., to Airtable, Google Sheets, or Notion) for long-term error tracking
๐ Sticky Note
Title: Automated Error Reporter with AI-Powered Diagnosis
Description: Captures any n8n error, sends it to OpenAI, and emails a beautiful HTML report to the administrator with steps to resolve the issue. Requires OpenAI credentials and SMTP configured.
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...
Technology News Workflow Explanation with Key Services
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Auto-Publish Techn...
Auto-classify Gmail emails with AI and apply labels for inbox organization
Who is this for? Professionals and individuals who receive high volumes of emails, those who want to automatically organ...
๐ Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments