Automation library · Alerts and monitoring

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

Started by an event in a connected app, and works across Email and Supabase. It hands the judgement calls to OpenRouter. 18 steps, 1 branch, 1 loop or waits: a working afternoon to understand properly.

MediumCalls a model: OpenRouter

18 stepsMedium: a working afternoon
1Branch: places the flow splits
1Loop or waits
2Services it connects to

The flow

Starts it 1Model 3Logic 5Service 9

The steps in the order they run, from what starts it.

  1. 1OpenRouterLm Chat Open RouterModel
  2. 2Context7Mcp Client ToolModel
  3. 3Workflow ErrorError triggerStarts it
  4. 4AI AgentAgentModel
  5. 5Get WorkflowN8nService
  6. 6Save AnalysisSupabaseService
  7. 7Get ExecutionN8nService
  8. 8Format NotificationCodeLogic
  9. 9Structure Error DataCodeLogic
  10. 10Build HTMLCodeLogic
  11. 11Find WorkflowSupabaseService
  12. 12Send Error EmailEmail SendService
  13. 13Workflow Exists?IfLogic
  14. 14Mark NotifiedSupabaseService
  15. 15Insert ErrorSupabaseService
  16. 16Create WorkflowSupabaseService
  17. 17Update StatisticsSupabaseService
  18. 18Workflow CreationSplit In BatchesLogic

How it's built

Starts on
An event in a connected app
Steps
18, with 1 branch, 1 loop or waits
Size
Medium: a working afternoon
Connects to
Email, Supabase
Model
OpenRouter

Questions

What does it need to run?

An n8n account, plus your own Email and Supabase accounts, and a key for OpenRouter. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls OpenRouter. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 18 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 18 steps before you point it at anything that matters.