Templates / AI-powered workflow error analysis & fix suggestions with Gemini 2.5 Pro

AI-powered workflow error analysis & fix suggestions with Gemini 2.5 Pro

Ready for 3.0

by Ramsey Njire · 1,903 views · created 2025-10-08 · DevOps, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

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

How it runs

Trigger: When another workflow fails (error workflow).

  1. Get Workflow JSON (HTTP Request): calls an HTTP API
  2. Debugger Agent (AI Agent): runs an AI agent, with model: Gemini 2.5 Pro
  3. Convert Markdown To HTML (Markdown): converts between Markdown and HTML
  4. Send Debugging Email (Gmail): uses Gmail

Services it uses

GmailOpenRouter Chat Model

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

Overview Stop digging through execution logs to find out why a workflow failed. This template provides a "set-it-and-forget-it" monitoring system that uses AI to automatically debug your n8n workflows. Instead of just getting a simple error message, you'll…

Excerpt from Ramsey Njire'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.