Templates / Error monitor: AI-powered resolution [Context7, Supabase]

Error monitor: AI-powered resolution [Context7, Supabase]

Ready for 3.0

by Kelsey Brown · 86 views · created 2025-11-25 · Support

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 18 nodes and runs when another workflow fails (error workflow). Along the way it connects Supabase, OpenRouter Chat Model and MCP Client.

How it runs

Trigger: When another workflow fails (error workflow).

  1. Get Workflow (n8n): get
  2. Get Execution (n8n): get (execution)
  3. Structure Error Data (Code): runs custom JavaScript code
  4. Find Workflow (Supabase): get many
  5. Workflow Exists? (If): checks a condition and branches into true / false
  6. Insert Error (Supabase): uses Supabase
  7. Create Workflow (Supabase): uses Supabase
  8. Update Statistics (Supabase): update
  9. Workflow Creation (Loop Over Items (Split in Batches)): loops over the items in batches
  10. AI Agent: runs an AI agent, with model: OpenRouter; 1 tool (Context)

…plus 5 more steps. See the full node list below.

Services it uses

SupabaseOpenRouter Chat ModelMCP Client

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 (10)

From the author

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…

Excerpt from Kelsey Brown'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.