Block 1 - Error Trigger
- Type / Role
- n8n-nodes-base.errorTrigger - errorTrigger
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
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. Inst...
n8n-nodes-base.errortrigger, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.markdown, n8n-nodes-base.gmail, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.lmchatopenrouter
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Ramsey Njire.
Original n8n.io sourceStop 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.
Before you begin the setup, please make sure you have the following accounts and information ready:
N8N_EDITOR_BASE_URL environment variable configured. This is essential for generating correct links to your workflow executions.This template is perfect for anyone who wants to proactively monitor their automations. Here are a few examples:
This workflow acts as an automated debugging assistant for your n8n instance 🤖. When any of your other workflows fail during an automatic (production) execution, this template will:
Important Note: As per the n8n documentation, the Error Trigger node only runs for errors that happen in production executions (e.g., from a webhook call or a schedule). It will not run when you test a workflow by clicking "Execute workflow" manually.
(Estimated setup time: 10 minutes)
There are two main parts to the setup: configuring this workflow, and then connecting it to the workflows you want to monitor.
Get Workflow JSON node.OpenRouter Chat Model node.Send Debugging Email node.Send Debugging Email node with your own email address.N8N_EDITOR_BASE_URL environment variable is correctly set for your n8n instance. This is required for building the API and execution links.For every workflow you want this debugger to monitor, you must link it in that workflow's settings.
...) in the top right corner and select Settings. 3. In the Error Workflow dropdown, select this "AI-Powered Workflow Debugger & Notifier" workflow.This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | AI-powered workflow error analysis & fix suggestions with Gemini 2.5 Pro |
|---|---|
| Complexity | intermediate |
| Nodes | 12 |
| Categories | DevOps, AI Chatbot |
| Author | Ramsey Njire |
| Published | 08 Oct 2025 |
Use the JSON export at /data/workflows/9375/9375.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
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. Inst...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your DevOps, AI Chatbot use case.