Library / Monitoring, Ops & Incidents
Monitoring, Ops & Incidents
Triage failing n8n workflows with OpenAI, Bright Data and Slack
Runs whenever another n8n workflow errors, classifies the failure and re-checks any external URL from a clean IP to tell a vendor outage from a bug in your own setup.
What it does
## When a workflow breaks, find out whose fault it is first Half of all workflow failures are the vendor, not you - and you cannot tell from the error message. This runs the moment any of your workflows fails and answers the only question that matters at 3am: do I need to fix something, or do I need to wait? ### How it works n8n hands this workflow the failure. It reads the real payload - the failing node, the HTTP code and the exact URL that was called - and classifies it. If an external service was involved, Bright Data fetches that same URL from a clean external IP. That is the part your own server cannot do for you: if the site answers fine from outside but not from your n8n, that is a network or credential problem, not an outage. It also reads the vendor's own Statuspage for a declared incident. GPT-5.6 turns all of it into two sentences, and a Switch sends the verdict to the right place: a vendor outage goes to the incident channel, your own bug goes to the dev channel, a rate limit goes to ops. A Code node failure never triggers any of the lookups - no external call means nobody to blame. ### Setup 1. Import this, add a Bright Data Header Auth credential, an OpenAI credential and a Slack credential. 2. Activate this workflow. An inactive error workflow is silently skipped. 3. On each workflow you want covered: Settings → Error Workflow → pick this one. 4. In Settings here, set the three Slack channels and list your own domains.
The steps
- When A Workflow Fails
- Settings
- Read The Failure
- Is There A Service To Check?
- Check It From Outside
- Read What Outside Saw
- Read Their Status Page
- Read The Incident
- Nothing External To Check
- Combine What We Know
- Decide Whose Fault
- Explain It
- Ops Analyst
- Attach The Explanation
18 steps in total.
Similar automations
Monitoring, Ops & IncidentsDiagnose failed n8n workflows with Ollama and post triage to Discord16 stepsMonitoring, Ops & IncidentsMonitor n8n workflow errors and LLM spend with Slack, Gmail, OpenAI and Sheets28 stepsMonitoring, Ops & IncidentsMonitor scheduled n8n workflows via n8n API and email missed or failing runs9 stepsCode, Git & Developer ToolsClone n8n Workflows Between Instances via the n8n API33 steps