Monitor cron jobs and triage failures with GPT-5, PagerDuty and Slack
Ready for 3.0What this workflow does
This AI workflow has 41 nodes and runs when an HTTP POST request hits its webhook URL (plus 3 other triggers). Along the way it connects OpenAI Chat Model, Data table, HTTP Request and Slack and 1 more. It also calls events.pagerduty.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 3 other triggers).
- Read the Check-in (Edit Fields (Set)): sets 10 fields: job, status, durationSec…
- Load All Jobs (Data table): get (row)
- Set Report Settings (Edit Fields (Set)): sets 2 fields: reportEmail, days
- Alert Slack That Monitoring Broke (Slack): post (message)
- Ignore Calls Without a Job Name (Filter): keeps only the items that match a condition
- Keep Overdue Jobs (Filter): keeps only the items that match a condition
- Read Check-ins (Data table): get (row)
- Find the Job (Data table): get (row)
- Mark Job as Late (Data table): update (row)
- Score Each Run (Edit Fields (Set)): sets 3 fields: job, failed, durationSec
…plus 21 more steps. See the full node list below.
Services it uses
Other OpenAI + Gmail templates (1,623) · Other OpenAI + Slack templates (979) · Other Gmail + Slack templates (957)
HTTP calls to: events.pagerduty.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.
Nodes used (20)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Filter
n8n-nodes-base.filter - Data table
n8n-nodes-base.dataTable - Switch
n8n-nodes-base.switch - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Data Table Tool
n8n-nodes-base.dataTableTool - Http Request Tool
n8n-nodes-base.httpRequestTool - Think Tool
@n8n/n8n-nodes-langchain.toolThink - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Slack
n8n-nodes-base.slack - Gmail
n8n-nodes-base.gmail - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Summarize
n8n-nodes-base.summarize - Aggregate
n8n-nodes-base.aggregate - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Error Trigger
n8n-nodes-base.errorTrigger
From the author
Quick overview This workflow monitors scheduled jobs via heartbeat webhooks, stores job state and check-in history in n8n Data Tables, uses OpenAI and GitHub to triage failures, and notifies via Slack, PagerDuty Events API, and Gmail, plus a weekly…