โš™๏ธ ๐Ÿง  Flowatch ๐Ÿ‘๏ธ analyze and diagnose n8n workflow errors via OpenAI and email

โšก 1,146 views ยท โš™๏ธ DevOps & CI/CD

Description

๐Ÿง  Analyze and Diagnose n8n Workflow Errors Automatically via OpenAI and Email

FlowatchLogodark.png FloWatchScreenCap.png

> โš ๏ธ 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:

This helps you or your team resolve issues faster and avoid repeated manual debugging.


โš™๏ธ What this workflow does


๐Ÿ› ๏ธ Setup

  1. Install the OpenAI node in your self-hosted n8n instance.
  2. Add your OpenAI API Key securely in credentials.
  3. Configure the SMTP Email node with your email credentials.
  4. Adjust the Error Trigger to monitor specific workflows or all workflows.
  5. Set your preferred admin or dev email address in the final node.

๐Ÿ”ง How to customize this workflow to your needs


๐Ÿ“Œ 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.

๐Ÿ”— Nodes Used

Gmail, n8n, AI Agent, OpenAI Chat Model, Structured Output Parser

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup