{
  "name": "Automatic monitoring of multiple URLs with downtime alerts",
  "nodes": [
    {
      "id": "2744df51-ca51-4c01-9a49-b29c5b27f7bf",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        0,
        200
      ]
    },
    {
      "id": "cae73f18-028e-4cb5-aee2-a18768c5367e",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        480,
        100
      ]
    },
    {
      "id": "398d41cf-c555-44d7-bf08-2732a47a18e7",
      "name": "URLs",
      "type": "n8n-nodes-base.set",
      "position": [
        260,
        100
      ]
    },
    {
      "id": "876e4ca3-c607-4443-a4ec-cb83fe84e6c3",
      "name": "Success",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1220,
        260
      ]
    },
    {
      "id": "c99e1ec7-0b11-4278-8f97-d6b9cef798cd",
      "name": "Error",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1220,
        460
      ]
    },
    {
      "id": "9aeec8f1-1498-4381-bfab-a76c8e40a862",
      "name": "Total",
      "type": "n8n-nodes-base.summarize",
      "position": [
        960,
        20
      ]
    },
    {
      "id": "01fd1dbc-ca4c-4a94-abbc-e1d67a7dd775",
      "name": "Bucle URLs",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        700,
        100
      ]
    },
    {
      "id": "760cea59-8d84-4abf-b91a-c277ca122420",
      "name": "Run trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "1ec7a4ea-e929-4f50-b4b8-4732b9e439ed",
      "name": "Send a message",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1560,
        20
      ]
    },
    {
      "id": "e6ca120c-21e0-42c5-b3d0-c8e447e09386",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        1160,
        20
      ]
    },
    {
      "id": "d5fb83e9-689f-44f3-a02a-32ff511c9ee0",
      "name": "Split Out2",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1360,
        20
      ]
    },
    {
      "id": "464a16ea-17f0-4757-b491-1b331395cd14",
      "name": "Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        960,
        220
      ]
    },
    {
      "id": "5df0c197-037d-46da-bc4b-fd7ed514bbe5",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        220,
        320
      ],
      "parameters": {
        "width": 260,
        "height": null,
        "content": "## How it works (P1)\nBefore the loop, you enter the URLs to scan in the \"URLs\" stream, then start the trigger either manually or scheduled."
      }
    },
    {
      "id": "8e2d7f73-8731-4b35-8fb0-10d68978a671",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        220,
        500
      ],
      "parameters": {
        "width": 260,
        "height": 180,
        "content": "## Cómo funciona (P1)\n\nAntes del bucle, se introducen las URL que se escanearán en el flujo \"URL\" y, a continuación, se inicia el disparador, ya sea de forma manual o programada."
      }
    },
    {
      "id": "4367f7ee-0b74-476b-84b4-202bc3d909e7",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1440,
        240
      ],
      "parameters": {
        "width": 260,
        "height": 180,
        "content": "## How it works (P2)\nStart a loop for each URL entered, adding the status to a Google Sheet, then collect the status of each URL, filter out the crashes, and send an email with the crashes."
      }
    },
    {
      "id": "466863c5-a256-499c-b457-4651de2bb8fc",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1440,
        460
      ],
      "parameters": {
        "width": 260,
        "height": 180,
        "content": "## Cómo funciona (P2)\nInicia un bucle por cada URL introducida, agregando el estado en google sheet, luego recoge el estado de cada URL, filtra las caídas y envía un email con las caídas."
      }
    },
    {
      "id": "4cb90ac4-9808-413a-8fb0-c7ed0db631bb",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        220,
        40
      ],
      "parameters": {
        "width": 180,
        "height": 220,
        "content": "### Enter URLs to scan here"
      }
    },
    {
      "id": "040739ca-50d8-4d77-bf3a-c7406bd60410",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -40,
        -120
      ],
      "parameters": {
        "width": 180,
        "height": 480,
        "content": "### As a trigger you could also implement webhook or MCP"
      }
    }
  ],
  "connections": {
    "Code": {
      "main": [
        [
          {
            "node": "Split Out2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "URLs": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Error": {
      "main": [
        [
          {
            "node": "Bucle URLs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Total": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Request": {
      "main": [
        [
          {
            "node": "Success",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Success": {
      "main": [
        [
          {
            "node": "Bucle URLs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Bucle URLs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Bucle URLs": {
      "main": [
        [
          {
            "node": "Total",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out2": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Run trigger": {
      "main": [
        [
          {
            "node": "URLs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send a message": {
      "main": [
        []
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "URLs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}