TemplatesUptime and broken-link monitor
Uptime and broken-link monitor
Every 15 minutes the workflow fetches one homepage. A bad status alerts Slack. A healthy page is scanned for same-site links, up to 20, and each broken link alerts Slack. Healthy links are recorded and not alerted.
Schedule Trigger, Edit Fields, HTTP Request, IF, Code, Limit, Split Out, Slack
Download workflow JSONDown
- Every 15 minutes
- Fetch homepage
- Status ≥ 400 or no response
- Alert site down
Links
- Extract same-site links
- Cap at 20
- Check each link
- Alert only if broken
Setup
- Import the JSON and edit “Site to check”. The default URL is https://example.com.
- On “Fetch homepage” and “Check link”, confirm the response includes the status code and Never Error is on, so a 404 is data rather than a dead execution.
- Attach Slack and set #ops-alerts. These HTTP nodes call a public site, so they do not ship with an API credential.
- The homepage fetch is pinned with a tiny HTML page. Use that pin to test link extraction, then clear it before you rely on live checks.
- An empty link list ends quietly. A network failure on the homepage uses the error output and alerts once.
No real credentials are included. After import, n8n will ask you to attach your own accounts. You can also run the file through the n8n health check.
