Error Monitor: AI-Powered Resolution [Context7, Supabase]

Never miss a workflow failure

Automatically capture, analyze, and debug n8n workflow errors using Claude Sonnet 4 with real-time documentation lookup via Context7 MCP server.

Why this works better

Documentation-first AI analysis

Context7 searches official n8n docs before diagnosing. Claude Sonnet 4 only responds after finding relevant documentation—no hallucinations.

Complete error intelligence

Every error stored in Supabase with full context: stack traces, execution data, workflow structure, AI analysis. Track patterns across all workflows.

Production-ready emails

Professional HTML with inline code snippets, proper formatting, and one-click execution links.

What happens

Root cause - Plain English explanation
Specific fix - Exact field names and values
Prevention tip - Avoid future errors
Execution link - One-click debug access
Statistics - Error frequency tracking

How it works

Error → Your workflow fails Capture → Full context retrieved Research → Context7 searches n8n Analysis → AI diagnoses with context Email → Formatted alert delivered Record → Error stored in database

Requirements

Supabase** - Free tier works OpenRouter** - $5 credit Context7** - Free API available SMTP** - For email delivery n8n API** - Must be enabled

Setup: 15 minutes

Overview

Complete instructions with SQL script included in workflow sticky notes.

Activate: Settings → Error Workflow → Select this workflow

Customize

Reduce cost: Remove workflow_json and execution_data from prompt

Change output: Swap email node for Telegram/Slack/Discord—expressions provided in notes

FAQ

Works with community nodes?
Yes. Context7 searches all n8n documentation.

Handles sensitive data?
Remove workflow_json and execution_data from prompt to exclude content.

Customizable design?
Yes. HTML template in "Build HTML" node is fully editable.

0
Downloads
0
Views
8.43
Quality Score
intermediate
Complexity
Author:Kelsey Brown(View Original →)
Created:11/28/2025
Updated:11/29/2025

🔒 Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments