{
  "name": "Monitor website changes and send diff alerts via Telegram and email",
  "nodes": [
    {
      "id": "48770788-5b55-45c5-a828-a402fc15ed72",
      "name": "Sticky Note - Main Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        -208
      ],
      "parameters": {
        "width": 740,
        "height": 1080,
        "content": "## Monitor website changes with diff detection and get instant Telegram and email alerts\n\nAutomatically monitor any website for changes, detect exactly what changed with a line-by-line diff, and get i"
      }
    },
    {
      "id": "0270a40a-7dbd-476e-bcb9-498a84723911",
      "name": "Sticky Note - Trigger",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        496,
        592
      ],
      "parameters": {
        "width": 520,
        "height": 260,
        "content": "## ⏰ Trigger + URL Config\nSchedule trigger fires at set interval, URL List defines pages to monitor"
      }
    },
    {
      "id": "b56e9165-9022-46fc-98a0-ed8c0c98cc7b",
      "name": "Sticky Note - Fetch",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1056,
        592
      ],
      "parameters": {
        "width": 520,
        "height": 260,
        "content": "## 🌐 Fetch + Extract\nDownload page HTML and extract clean text content with metadata"
      }
    },
    {
      "id": "aa5786f6-6a62-4ac0-ae94-be4013f95bbb",
      "name": "Sticky Note - Diff",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1616,
        592
      ],
      "parameters": {
        "width": 600,
        "height": 260,
        "content": "## 🔍 Compare + Diff\nLoad previous snapshot from Sheets, compare content, calculate diff and severity"
      }
    },
    {
      "id": "9df49e9f-7f1f-468b-85dd-0891a0ff97ed",
      "name": "Sticky Note - Alerts",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2240,
        496
      ],
      "parameters": {
        "width": 660,
        "height": 596,
        "content": "## 📣 Alert + Save\nSave new snapshot to Sheets, send Telegram and email alerts for detected changes"
      }
    },
    {
      "id": "94bf7b88-d154-4aad-905d-7bb233cd53be",
      "name": "Sticky Note - Warning URLs",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        704,
        912
      ],
      "parameters": {
        "width": 300,
        "height": 140,
        "content": "## ⚠️ Add Your URLs\nEdit the \"📋 URL List\" node to add the websites you want to monitor. Add one item per URL with `name` and `url` fields."
      }
    },
    {
      "id": "b182dead-db8f-4f37-a986-c3a47742a038",
      "name": "Sticky Note - Warning First Run",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1712,
        928
      ],
      "parameters": {
        "width": 300,
        "height": 140,
        "content": "## ⚠️ First Run = Baseline\nThe first run saves snapshots only — no alerts will fire. Changes are detected from the second run onward."
      }
    },
    {
      "id": "d64b65a1-5d3c-48d1-a21e-cba7a78bdb94",
      "name": "⏰ Every 4 Hours",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        544,
        720
      ]
    },
    {
      "id": "4150789f-9e18-4bbe-9e6b-6900fd638b09",
      "name": "📋 URL List",
      "type": "n8n-nodes-base.code",
      "position": [
        784,
        720
      ]
    },
    {
      "id": "dc406a5b-3e63-43e0-b28d-4aff3e14dfd4",
      "name": "🌐 Fetch Page",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1104,
        720
      ]
    },
    {
      "id": "31e3e410-d7ff-4203-b9fa-a892344f4885",
      "name": "📄 Extract Content",
      "type": "n8n-nodes-base.code",
      "position": [
        1344,
        720
      ]
    },
    {
      "id": "23a42e29-2815-4cad-90db-67afcb7cedda",
      "name": "📋 Load Previous Snapshot",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1664,
        720
      ]
    },
    {
      "id": "e94c53d2-d0e0-44c6-bb51-92ec84550ac0",
      "name": "🔍 Diff Engine",
      "type": "n8n-nodes-base.code",
      "position": [
        1840,
        720
      ]
    },
    {
      "id": "f44c17be-0ca7-403a-8292-e58839c7e2cf",
      "name": "🔄 Changed?",
      "type": "n8n-nodes-base.if",
      "position": [
        2080,
        720
      ]
    },
    {
      "id": "e525973e-572e-4ba6-9d9b-206a59f4dc57",
      "name": "💾 Save Snapshot",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2320,
        656
      ]
    },
    {
      "id": "6ab2ff6a-4c6e-41d4-947a-4209a6bd46fe",
      "name": "📲 Telegram Alert",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2576,
        592
      ]
    },
    {
      "id": "09dd047f-76eb-400e-83da-2cddfbf387cd",
      "name": "📧 Email Alert",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        2576,
        752
      ]
    },
    {
      "id": "8c5ef23c-9c33-449b-b90c-2fad25cc69a7",
      "name": "💾 Save (No Change)",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2320,
        832
      ]
    },
    {
      "id": "0e16d10a-b095-411b-a4f7-4552b0de7958",
      "name": "📝 Log Result",
      "type": "n8n-nodes-base.code",
      "position": [
        2576,
        928
      ]
    }
  ],
  "connections": {
    "📋 URL List": {
      "main": [
        [
          {
            "node": "🌐 Fetch Page",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🔄 Changed?": {
      "main": [
        [
          {
            "node": "💾 Save Snapshot",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "💾 Save (No Change)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🌐 Fetch Page": {
      "main": [
        [
          {
            "node": "📄 Extract Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🔍 Diff Engine": {
      "main": [
        [
          {
            "node": "🔄 Changed?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "⏰ Every 4 Hours": {
      "main": [
        [
          {
            "node": "📋 URL List",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "💾 Save Snapshot": {
      "main": [
        [
          {
            "node": "📲 Telegram Alert",
            "type": "main",
            "index": 0
          },
          {
            "node": "📧 Email Alert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📄 Extract Content": {
      "main": [
        [
          {
            "node": "📋 Load Previous Snapshot",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "💾 Save (No Change)": {
      "main": [
        [
          {
            "node": "📝 Log Result",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📋 Load Previous Snapshot": {
      "main": [
        [
          {
            "node": "🔍 Diff Engine",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}