{
  "name": "Website Uptime Monitor",
  "nodes": [
    {
      "parameters": {
        "content": "## Website Uptime Monitor with Instant Alerts\n\nKnow the moment your website goes down - before your customers tell you - without paying for uptime monitoring SaaS.\n\n**Setup time:** 5 minutes  ·  **Level:** Beginner\n\n**You'll need accounts/credentials for:** Schedule, HTTP Request, IF, Gmail\n\n**Setup steps:**\n1. Open the HTTP Request node and replace the URL with your website address.\n2. Connect Gmail (or swap for Slack/Telegram) in the alert node and set your address.\n3. Optionally change the schedule from 5 minutes to your preferred interval.\n4. Activate the workflow. Test it by temporarily pointing the URL at a page that returns 404.\n\nFree templates and updates: navkhan103.github.io",
        "height": 530,
        "width": 400,
        "color": 4
      },
      "id": "sticky-setup",
      "name": "Setup — read me first",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -440,
        -140
      ]
    },
    {
      "parameters": {
        "content": "### How it runs\n\nStarts from **Every 5 Minutes**.\n\n1. A Schedule Trigger fires every 5 minutes.\n2. An HTTP Request node loads your website and never throws, even on errors.\n3. An IF node checks the status code: anything other than 200 means trouble.\n4. A Gmail node fires an alert with the status code and time, only on failure - no noise.",
        "height": 348,
        "width": 400,
        "color": 7
      },
      "id": "sticky-how",
      "name": "How it runs",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -440,
        430
      ]
    },
    {
      "parameters": {
        "content": "### If something breaks\n\nThe read and AI nodes here **retry 3× automatically** (5s apart), which absorbs rate limits and brief timeouts.\n\nNodes that **send or write deliberately do not retry** — a send that reached the far end but lost its response would otherwise fire twice, so you'd get duplicate messages or duplicate rows.\n\nTo be told when one of those fails, build a workflow starting with an **Error Trigger** node that posts to Slack or email, then set it under **three-dot menu > Settings > Error Workflow**. Do it once and point every workflow at it.",
        "height": 400,
        "width": 400,
        "color": 3
      },
      "id": "sticky-fail",
      "name": "If something breaks",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -440,
        818
      ]
    },
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "minutes",
              "minutesInterval": 5
            }
          ]
        }
      },
      "id": "b2c3d4e5-0001-4000-8000-000000000001",
      "name": "Every 5 Minutes",
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        0,
        0
      ]
    },
    {
      "parameters": {
        "url": "https://example.com",
        "options": {
          "response": {
            "response": {
              "fullResponse": true,
              "neverError": true
            }
          }
        }
      },
      "id": "b2c3d4e5-0002-4000-8000-000000000002",
      "name": "Check Website",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4.2,
      "position": [
        220,
        0
      ],
      "retryOnFail": true,
      "maxTries": 3,
      "waitBetweenTries": 5000
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "typeValidation": "loose"
          },
          "conditions": [
            {
              "id": "c1",
              "leftValue": "={{ $json.statusCode }}",
              "rightValue": 200,
              "operator": {
                "type": "number",
                "operation": "notEquals"
              }
            }
          ],
          "combinator": "and"
        }
      },
      "id": "b2c3d4e5-0003-4000-8000-000000000003",
      "name": "Is It Down?",
      "type": "n8n-nodes-base.if",
      "typeVersion": 2.2,
      "position": [
        440,
        0
      ]
    },
    {
      "parameters": {
        "sendTo": "you@example.com",
        "subject": "=SITE DOWN: status {{ $json.statusCode }}",
        "message": "=Your website returned status {{ $json.statusCode }} at {{ $now.toISO() }}. Check it now.",
        "options": {}
      },
      "id": "b2c3d4e5-0004-4000-8000-000000000004",
      "name": "Send Alert",
      "type": "n8n-nodes-base.gmail",
      "typeVersion": 2.1,
      "position": [
        660,
        -100
      ]
    }
  ],
  "connections": {
    "Every 5 Minutes": {
      "main": [
        [
          {
            "node": "Check Website",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Website": {
      "main": [
        [
          {
            "node": "Is It Down?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is It Down?": {
      "main": [
        [
          {
            "node": "Send Alert",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  }
}