Quick Overview
This workflow runs every 30 minutes to pull delivery, code, CI/CD, security, and production monitoring signals from ClickUp, GitHub, a security scanner API, and an APM/monitoring API, calculates a 0–100 Engineering Health Score, and sends WhatsApp alerts with an acknowledgement and recheck loop.
How it works
- Runs every 30 minutes (or on manual test) to start a health check.
- Fetches open tasks from ClickUp, open pull requests and GitHub Actions runs from GitHub, plus security findings and production metrics from your security scanner and APM/monitoring HTTP endpoints.
- Combines these signals into one dataset and calculates per-pillar scores (Delivery, Code, CI/CD, Security, Production) and an overall Engineering Health Score with a summary message.
- Correlates cross-system risk patterns (for example, overdue work tied to failing CI or critical findings alongside elevated production errors) and counts the correlated issues.
- Routes by overall status to either send a WhatsApp critical alert, send a WhatsApp degraded notice, or just log the run when healthy.
- For critical alerts, waits for an acknowledgement via a resume webhook, reminds until acknowledged, waits a recovery grace period, re-fetches monitoring signals, recomputes the score, and either sends an escalation message if still critical or confirms recovery on WhatsApp.
Setup
- Add credentials for ClickUp API, GitHub API, HTTP Header Auth for your security scanner API, HTTP Header Auth for your APM/monitoring API, and WhatsApp Business Cloud for the WhatsApp nodes.
- Update the configuration values (ClickUp team/list IDs, GitHub repo owner/name, security and monitoring API URLs, WhatsApp phone number ID and recipient, and the critical/degraded thresholds).
- Copy the resume URL from the incident acknowledgement wait step and configure your on-call/incident tool to call it with an
acknowledged=true payload when the alert is acknowledged.