Templates / 🧠 Flowatch 👁️ analyze and diagnose n8n workflow errors via OpenAI and email

🧠 Flowatch 👁️ analyze and diagnose n8n workflow errors via OpenAI and email

Needs changes

by RealSimple Solutions ✓ · 1,209 views · created 2025-04-17 · DevOps, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 11 nodes and runs when another workflow fails (error workflow). Along the way it connects OpenAI Chat Model and Gmail.

How it runs

Trigger: When another workflow fails (error workflow).

  1. SET EMAIL (Edit Fields (Set)): sets 3 fields: TO, CC, BCC
  2. Get Failed Exec (n8n): get (execution)
  3. Remove Manual Exec (If): checks a condition and branches into true / false
  4. Extract Error Details (Code): runs custom JavaScript code
  5. Error Solver Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
  6. Set Diagnosis Fields (Edit Fields (Set)): sets 13 fields: error.diagnosis, error.cause, error.resolution…
  7. Generate Email (Code): runs custom JavaScript code
  8. Send Gmail (Gmail): uses Gmail

Services it uses

OpenAI Chat ModelGmail

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Error Solver Agent (v1.8): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Error Solver Agent (v1.8)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (9)

From the author

🧠 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,…

Excerpt from RealSimple Solutions's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.