Cron Job Failure Watchdog
Monitor cron job heartbeats; on failure, LLM summarizes what failed, when it last ran, and recovery steps — escalate to #batch-jobs.
Overview
**What it does**: Webhook (cron job completion signal: job_id, status, duration) → track execution in n8n state → IF status=failed → LLM diagnoses (timeout, dependency missing, data unavailable, permission denied) + when last succeeded + recovery action → Slack to #batch-jobs. Prevents silent failures in critical batch jobs (backups, reports, ETL). **Setup (4 steps)**: 1. Instrument cron jobs: add POST to n8n webhook on success/failure (wrapper script) 2. Configure Slack channel: #batch-jobs 3. Set job importance tiers: which jobs escalate vs. warn 4. Test: trigger job failure; verify diagnosis in Slack **Apps/nodes**: Webhook, code node (tracking), IF condition, OpenAI (diagnosis), Slack. **Credentials required**: Slack workspace, OpenAI account. **Difficulty**: Medium | **Setup time**: 8 minutes. **Business outcome**: Silent batch failures caught within minutes → data sync failures ↓ 95%, backup integrity ↑, backup verification ↑ confidence.
What's included
Quickstart
- 01
Download the JSON
With an active Library Pass, download the workflow file right from this page or your dashboard.
- 02
Import into n8n
Choose Import from File and select the downloaded JSON. The full agent graph appears, ready to configure.
- 03
Plug in credentials
Each integration node prompts for credentials on first run. The setup guide lists every credential the agent expects.
- 04
Activate and test
Run once with sample input, confirm the expected output, then flip the activate toggle.
Frequently Asked Questions
How do I import this workflow into n8n?
What credentials do I need to provide?
Are the credentials included in the JSON file?
Can I edit or customize the workflow after importing?
What n8n version is required?
What if something breaks after I import it?
Can I use this workflow for my customers or business?
Will the workflow receive updates?
Do I need n8n Pro or a paid plan?
Can I ask for a custom workflow?
Reviews (0)
No reviews yet. Be the first.
Sign in to leave a review.
Included with any pass
This agent — and every other in the library — comes with a Library Pass. One pass, the whole catalog.
Get a Library Pass- Every agent in the library
- All new releases while active
- Unlimited downloads
- Commercial-use license
- Priority email support
- 30-day money-back guarantee
More in Monitoring
Database Backup Verification
Daily: verify latest DB backup exists, completed successfully, and is recent (<24h old) — flag stale or failed backups to #databases.
Error Budget Burn Alert
Hourly check: if error budget burn rate exceeds 50%, escalate to the on-call engineer with burn %, incident rate, and time to exhaustion.
Grafana Dashboard Snapshot on Alert
When a Grafana alert fires, auto-render a dashboard snapshot and post it to Slack — on-call engineers see metrics context instantly, no Grafana login required.