{
  "id": "qSjQg6wFKPI4bKjV",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Automated Website Monitoring with Real-Time Alerts Using Uptime Robot",
  "tags": [],
  "nodes": [
    {
      "id": "b409e4e0-b864-4c15-b942-220661fca85a",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -144,
        752
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "55c062be-0146-497b-8d70-d0253a33b275",
      "name": "Filter Down Monitors",
      "type": "n8n-nodes-base.code",
      "position": [
        400,
        672
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "28469dd8-a239-4146-a437-509de5f92c48",
      "name": "Loop Over Monitors",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        400,
        432
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "e9428537-03d4-48cb-8f30-0521c2e47bee",
      "name": "Append or update row in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        752,
        400
      ],
      "parameters": {},
      "typeVersion": 4.7
    },
    {
      "id": "1b7024b4-a114-4983-abe8-cc086f84e91a",
      "name": "Filter Status",
      "type": "n8n-nodes-base.filter",
      "position": [
        608,
        448
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "6748c460-5c59-42f5-b6ec-13d2985d2ca1",
      "name": "LLM Message Format",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        912,
        656
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "8b3e5e52-2266-4043-b2d3-e2143b846f81",
      "name": "PageSpeed Test",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        128,
        1072
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "8d9a78d3-1ada-405e-a1a0-fbd503a16abb",
      "name": "Anthropic Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        912,
        784
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "8fcf7e34-4d90-49ae-9e40-252a349e0baa",
      "name": "Filter Down Monitors1",
      "type": "n8n-nodes-base.code",
      "position": [
        400,
        1072
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "a0f12e36-a725-4927-b862-564dbc51616c",
      "name": "Uptime Robot (Get Monitors)",
      "type": "n8n-nodes-base.uptimeRobot",
      "position": [
        128,
        576
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "35833b29-2d98-44b0-9091-d922e34b2359",
      "name": "LLM Message Format1",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        896,
        1056
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "b707a083-5381-4b72-bd3f-735567acb90b",
      "name": "No Operation (You can add your alerts media)",
      "type": "n8n-nodes-base.noOp",
      "position": [
        1328,
        1056
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "5320ff8a-8f1b-4b48-93b8-e600e13dcf42",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -656,
        368
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e8c6c1d9-b748-4fac-ab8d-2e0de1ab78e6",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        976
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "33e29b8e-3bd0-4501-8caa-5b6ee9376aea",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        16,
        368
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "71e21d63-0459-4560-bbdc-b79ab2be3158",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        880,
        560
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "378a91c1-8098-44e3-bfe6-1e9b61834970",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1568,
        448
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "9d69630e-8ff5-439e-bb88-773e08ccf39a",
      "name": "If (check down status)",
      "type": "n8n-nodes-base.if",
      "position": [
        608,
        672
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "ed909d6b-57a4-43e8-9c3c-9319bf7f2d6e",
      "name": "Telegram (Send a text message)",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1616,
        816
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "9e15e868-5d23-4da4-9889-75b2d629bfb5",
      "name": "Rapiwa (Send WhatsApp Message)",
      "type": "n8n-nodes-rapiwa.rapiwa",
      "position": [
        1616,
        656
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "7b7f5845-d316-4507-9acf-167715280378",
      "name": "Gmail (Send a message)",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1616,
        496
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "31faa386-12d4-40e9-a0c3-51057fd229f6",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1568,
        1040
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "69b33a56-0178-4b29-9a6e-d1cf7ab20939",
      "name": "Telegram (Send a text message)1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1616,
        1392
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "7574b679-9ac1-4f68-ba4b-30fed154d8d5",
      "name": "Rapiwa (Send WhatsApp Message)1",
      "type": "n8n-nodes-rapiwa.rapiwa",
      "position": [
        1616,
        1232
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "7a35dd55-75e8-41a9-b41c-adb5b73cb9be",
      "name": "Gmail (Send a message)1",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1616,
        1088
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "dfeff307-cd8c-42a9-a2a3-c29cb5e2a8aa",
      "name": "If (check down status)1",
      "type": "n8n-nodes-base.if",
      "position": [
        608,
        1072
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "a225029d-ae9e-4067-94d9-1925611ca74a",
      "name": "Code (Escape Newlines)",
      "type": "n8n-nodes-base.code",
      "position": [
        1200,
        656
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "064343c4-5335-4b54-8b89-da31727683d2",
      "name": "Code (Escape Newlines)1",
      "type": "n8n-nodes-base.code",
      "position": [
        1168,
        1056
      ],
      "parameters": {},
      "typeVersion": 2
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "9c0b4473-c88d-402b-88f5-385827745278",
  "connections": {
    "Filter Status": {
      "main": [
        [
          {
            "node": "Loop Over Monitors",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "PageSpeed Test": {
      "main": [
        [
          {
            "node": "Filter Down Monitors1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "PageSpeed Test",
            "type": "main",
            "index": 0
          },
          {
            "node": "Uptime Robot (Get Monitors)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "LLM Message Format": {
      "main": [
        [
          {
            "node": "Code (Escape Newlines)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Monitors": {
      "main": [
        [
          {
            "node": "Append or update row in sheet",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Filter Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "LLM Message Format1": {
      "main": [
        [
          {
            "node": "Code (Escape Newlines)1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Anthropic Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "LLM Message Format",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "LLM Message Format1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Filter Down Monitors": {
      "main": [
        [
          {
            "node": "If (check down status)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Down Monitors1": {
      "main": [
        [
          {
            "node": "If (check down status)1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code (Escape Newlines)": {
      "main": [
        [
          {
            "node": "Rapiwa (Send WhatsApp Message)",
            "type": "main",
            "index": 0
          },
          {
            "node": "Gmail (Send a message)",
            "type": "main",
            "index": 0
          },
          {
            "node": "Telegram (Send a text message)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If (check down status)": {
      "main": [
        [
          {
            "node": "LLM Message Format",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Gmail (Send a message)1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Rapiwa (Send WhatsApp Message)1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Telegram (Send a text message)1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code (Escape Newlines)1": {
      "main": [
        [
          {
            "node": "No Operation (You can add your alerts media)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If (check down status)1": {
      "main": [
        [
          {
            "node": "LLM Message Format1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Gmail (Send a message)1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Rapiwa (Send WhatsApp Message)1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Telegram (Send a text message)1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Uptime Robot (Get Monitors)": {
      "main": [
        [
          {
            "node": "Loop Over Monitors",
            "type": "main",
            "index": 0
          },
          {
            "node": "Filter Down Monitors",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "No Operation (You can add your alerts media)": {
      "main": [
        [
          {
            "node": "Gmail (Send a message)",
            "type": "main",
            "index": 0
          },
          {
            "node": "Rapiwa (Send WhatsApp Message)",
            "type": "main",
            "index": 0
          },
          {
            "node": "Telegram (Send a text message)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}