Kütüphane / İzleme, Operasyon ve Olaylar
İzleme, Operasyon ve Olaylar
OpenAI tanılaması ve Slack uyarılarıyla n8n iş akışlarındaki sessiz hataları tespit et
Saatlik çalışır; aktif n8n iş akışlarının son yürütmelerinde durmuş zamanlamaları ve sessiz çıktı kayıplarını kontrol eder, sorunları OpenAI ile teşhis eder, Google Sheets'e kaydeder ve Slack'e uyarı gönderir.
Ne yapar
## Detect silent n8n workflow failures with OpenAI diagnosis, Google Sheets and Slack Who's it for Automation agencies, freelancers and ops teams running n8n in production. Error workflows only catch executions that crash. This template catches the failures that never throw an error: - a schedule that quietly stopped firing - a workflow that "succeeds" while processing nothing - a workflow whose output suddenly collapses How it works 1. Every hour it lists your active workflows through the n8n API and pulls each one's 10 most recent executions. 2. Score workflow health checks three silent-failure patterns: - Missed schedule: no successful run for 1.5x the interval set in the workflow's own Schedule Trigger. - Zero output: the last 3 successful runs all ended with 0 items. - Volume drop: the latest run produced less than 20% of its usual item count. 3. Results are compared with the open incidents in your Google Sheet, so each problem is raised once and closed once. 4. New incidents go to OpenAI, which reads the workflow's trigger and node types and returns a severity, the likely causes and what to check first. 5. The incident is logged to Google Sheets and posted to Slack. When a workflow recovers, its row is marked resolved with the downtime, and Slack gets a ✅. How to set up 1. Create a Google Sheet tab named Incidents with these headers: incident_id, workflow_id, workflow_name, problem_type, details, severity, likely_causes, check_first, status, opened_at, resolved_at, downtime_hours. 2. Create an n8n API key (Settings → n8n API) and add it as an n8n API credential on both n8n nodes. 3. Fill in Configure settings: Sheet ID, Slack channel and your n8n base URL. 4. Connect Google Sheets, OpenAI and Slack credentials, then activate. Requirements - n8n API access (self-hosted, or a Cloud plan with API access). Successful executions must be saved, which is the default. - OpenAI API key, Google Sheets and Slack. How to customize - Tag a workflow no-monitor to skip it. - Set a maximum silence for webhook-triggered workflows in max_silence_overrides. - Tune the zero-run count and volume-drop percentage in Configure settings.
Adımlar
- Every hour
- Configure settings
- Get active workflows
- Skip excluded workflows
- Get recent executions
- Score workflow health
- Read incident log
- Compare with open incidents
- Route by change
- Diagnose with AI
- OpenAI Chat Model
- Structured Output Parser
- Build incident record
- Log incident
Toplam 17 adım.
Benzer otomasyonlar
İzleme, Operasyon ve Olaylarn8n iş akışı değişikliklerini zaman içinde Google Sheets'te izleme37 adımİzleme, Operasyon ve OlaylarDevre Dışı Bırakılan n8n İş Akışlarını Otomatik Devam Ettirme5 adımİzleme, Operasyon ve OlaylarDevre dışı n8n iş akışlarını otomatik yeniden etkinleştirme6 adımİzleme, Operasyon ve Olaylarn8n Denetimlerini ve Başarısız İş Akışlarını InfluxDB'ye Gönderme24 adım