Kütüphane / İzleme, Operasyon ve Olaylar
İzleme, Operasyon ve Olaylar
n8n API üzerinden zamanlanmış n8n iş akışlarını izleyin ve kaçırılan veya başarısız çalışmaları e-postayla bildirin
Her gün çalışır, etkin her iş akışının zamanlamasını okur ve zamanlanmış iş akışları gecikmiş, yakın zamanda başarılı olmamış veya hata vermişse SMTP ile e-posta gönderir.
Ne yapar
## Monitor scheduled n8n workflows and email missed or failing runs Daily check that your scheduled workflows actually ran. A failing workflow triggers your error workflow. A workflow that silently stops running triggers nothing - this one catches it. ### How it works 1. Loads all active workflows and reads the rhythm from each Schedule Trigger (interval, weekdays or cron). The largest gap between two runs becomes the threshold, so Mon-Fri schedules don't alarm on weekends. 2. Loads the last 50 executions of each watched workflow. Manual runs never count. 3. Reports OVERDUE, NO_SUCCESS, ERROR_RATE (more than 20% of at least 5 runs failed in 7 days, one of them in the last 24h) and SLOW (latest run more than 3x the median and over 60s). 4. Sends one email, only when there is something to report. Workflows that could not be assessed are listed in that email. ### Setup 1. Create an n8n API key (Settings > n8n API) and add it as an n8n API credential in *Fetch Active Workflows* and *Fetch Last 50 Executions*. 2. Add an SMTP credential to *Dispatch Report Email*. 3. Fill in notifyTo and notifyFrom in *Set Configuration Values*. 4. Set your error workflow in the workflow settings. 5. Run once manually, then activate. ### Customization - overrides (JSON): watch webhook or sub-workflows too, or tune one workflow, for example {"Order webhook": {"maxGapHours": 48}}. - ignoreNamePattern: skip workflows by name. - executionRetentionDays: set it to your instance value. Longer rhythms are listed as not assessed. Limits: workflows that don't save successful executions can't be assessed, and the watchdog can't report its own absence.
Adımlar
- Daily Trigger 09:30
- Set Configuration Values
- Manual Start Trigger
- Fetch Active Workflows
- Build Watch List from Schedules
- Fetch Last 50 Executions
- Check Liveness and Build Report
- Check for Findings
- Dispatch Report Email
Benzer otomasyonlar
Formlar ve AnketlerDraft template docs and assets with OpenAI, Notion, and SMTP email46 adımİzleme, Operasyon ve OlaylarSend grouped failed execution digests via Data Tables, email, and webhooks18 adımİzleme, Operasyon ve OlaylarGoogle Sheets'ten Süresi Dolan SSL Sertifikaları İçin E-posta Uyarıları6 adımİzleme, Operasyon ve OlaylarTriRank ve SMTP e-posta uyarılarıyla haftalık AI atıf değişikliklerini izleyin6 adım