workflows.fit
Back to n8n workflows
n8n templateFreeBy Ramsey Njire

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

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...

DevelopmentCore NodesCommunicationHITLAILangchainError TriggerHttp Request
Loading interactive preview...

Template notes

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 receive a detailed email notification with a root cause analysis and a step-by-step suggested fix from a Gemini-powered AI agent. This saves you valuable time, helps you resolve issues faster, and ensures your critical automations are always running smoothly.

---

Prerequisites

Before you begin the setup, please make sure you have the following accounts and information ready:

An n8n Instance: This workflow must be hosted on an active n8n instance. n8n API Key: You'll need to generate an API key from your n8n instance (Settings > API). OpenRouter Account: An account with [OpenRouter.ai](https://openrouter.ai/) to access various AI models like Gemini. Google (Gmail) Account: To send and receive the email notifications. n8n Environment Variable: Your n8n instance must have the N8NEDITORBASEURL environment variable configured. This is essential for generating correct links to your workflow executions.

---