AI-powered workflow error analysis & fix suggestions with Gemini 2.5 Pro
Ready for 3.0Ready 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).
- Get Workflow JSON (HTTP Request): calls an HTTP API
- Debugger Agent (AI Agent): runs an AI agent, with model: Gemini 2.5 Pro
- Convert Markdown To HTML (Markdown): converts between Markdown and HTML
- Send Debugging Email (Gmail): uses Gmail
Services it uses
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)
- Error Trigger
n8n-nodes-base.errorTrigger - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent - Markdown
n8n-nodes-base.markdown - Gmail
n8n-nodes-base.gmail - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter
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…