Skip to content
Muhammad Mustafa - AI EngineerMuhammad Mustafa - AI Engineer

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 JSON

Down

  1. Every 15 minutes
  2. Fetch homepage
  3. Status ≥ 400 or no response
  4. Alert site down

Links

  1. Extract same-site links
  2. Cap at 20
  3. Check each link
  4. Alert only if broken

Setup

  1. Import the JSON and edit “Site to check”. The default URL is https://example.com.
  2. 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.
  3. Attach Slack and set #ops-alerts. These HTTP nodes call a public site, so they do not ship with an API credential.
  4. 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.
  5. 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.