Monitor incidents, health, and agent quality with OpenAI, Slack and Telegram
Ready for 3.0What this workflow does
This workflow has 39 nodes and runs when another workflow fails (error workflow) (plus 5 other triggers). Along the way it connects Slack and Telegram. It also calls api.openai.com over HTTP.
How it runs
Trigger: When another workflow fails (error workflow) (plus 5 other triggers).
- Normalize Incident (Code): runs custom JavaScript code
- Generate Demo Incident (Code): runs custom JavaScript code
- Get Recent Executions (n8n): get many (execution)
- Normalize Agent Trace (Code): runs custom JavaScript code
- Create Example Trace (Code): runs custom JavaScript code
- AI Triage Analyst (HTTP Request): calls api.openai.com (POST)
- Execution Metrics (Code): runs custom JavaScript code
- AI Quality Evaluator (HTTP Request): calls api.openai.com (POST)
- AI Recovery Planner (HTTP Request): calls api.openai.com (POST)
- Get All Workflows (n8n): get many (workflow)
…plus 23 more steps. See the full node list below.
Services it uses
Other OpenAI + Slack templates (979) · Other Telegram + OpenAI templates (807) · Other Telegram + Slack templates (130)
HTTP calls to: api.openai.com
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (10)
- Error Trigger
n8n-nodes-base.errorTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Slack
n8n-nodes-base.slack - Telegram
n8n-nodes-base.telegram - Data table
n8n-nodes-base.dataTable - Schedule Trigger
n8n-nodes-base.scheduleTrigger - n8n
n8n-nodes-base.n8n - Webhook
n8n-nodes-base.webhook
From the author
Quick overview Monitor n8n workflow failures, execution health, and AI agent quality from one workflow. OpenAI analyzes incidents and recommends corrective actions, while Slack and Telegram deliver configurable alerts. Includes scheduled health checks, agent…