{
  "name": "Smart IoT device health monitor with ScrapeGraphAI and Telegram",
  "nodes": [
    {
      "id": "ed780f44-e2dc-4cf2-876d-8e64b9b5349e",
      "name": "📋 Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -272,
        32
      ],
      "parameters": {
        "width": 300,
        "height": 400,
        "content": "# Simple IoT Monitor 🏭\n\n**What it does:**\n- Monitors IoT dashboard every 30 minutes\n- Extracts device data with AI\n- Sends alerts when issues found\n- Logs all activity\n\n**Setup:**\n1. Change dashboard "
      }
    },
    {
      "id": "bf257863-5d96-412b-8f2e-2b2040aeadd0",
      "name": "⏰ Timer Info",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        32,
        32
      ],
      "parameters": {
        "width": 250,
        "height": 652,
        "content": "# Step 1: Timer ⏰\n\n**Runs every 30 minutes**\n\nChange cron expression:\n- Every 15 min: */15 * * * *\n- Every hour: 0 * * * *\n- Every 5 min: */5 * * * *\n\nTimezone aware and reliable."
      }
    },
    {
      "id": "46b8fdca-2fc6-4dbe-9dbb-af6281ccfb7e",
      "name": "⏰ Timer",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        96,
        464
      ]
    },
    {
      "id": "c0662ec5-597b-437b-b022-ce20cbe47adc",
      "name": "🤖 Scraper Info",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        288,
        48
      ],
      "parameters": {
        "width": 250,
        "height": 636,
        "content": "# Step 2: Get Data 🤖\n\n**AI extracts device info**\n\nReads any IoT dashboard:\n- Device status\n- Battery levels\n- Temperature\n- Connectivity\n\nNo API needed!"
      }
    },
    {
      "id": "ade35d85-0de9-4b07-8e50-c335ba0d140f",
      "name": "🤖 Get Data",
      "type": "n8n-nodes-scrapegraphai.scrapegraphAi",
      "position": [
        352,
        464
      ]
    },
    {
      "id": "fa8f9347-c465-4633-bcb7-c0784ff61e45",
      "name": "📊 Analyzer Info",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        544,
        48
      ],
      "parameters": {
        "width": 250,
        "height": 636,
        "content": "# Step 3: Check Health 📊\n\n**Analyzes device data**\n\nCalculates:\n- Health score (0-100%)\n- Problem devices\n- Battery alerts\n- Temperature warnings\n\nSmart recommendations."
      }
    },
    {
      "id": "9642ecf6-b826-4175-b0f4-ac6eaff243c2",
      "name": "📊 Analyze",
      "type": "n8n-nodes-base.code",
      "position": [
        608,
        480
      ]
    },
    {
      "id": "29ac2b96-7a55-406f-bf53-1f138870c991",
      "name": "🚨 Alert Info",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        800,
        48
      ],
      "parameters": {
        "width": 250,
        "height": 636,
        "content": "# Step 4: Send Alert 🚨\n\n**Smart alerting**\n\nSends alert if:\n- Health score < 80%\n- Devices offline\n- Battery low\n- Temperature high\n\nPrevents spam."
      }
    },
    {
      "id": "2e7280f1-cd14-41ec-b8ff-284a9f200ded",
      "name": "🚨 Need Alert?",
      "type": "n8n-nodes-base.if",
      "position": [
        880,
        432
      ]
    },
    {
      "id": "7e34bdb4-5b9c-4707-8eeb-68c7e55c10f0",
      "name": "📱 Telegram Info",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1056,
        -192
      ],
      "parameters": {
        "width": 250,
        "height": 508,
        "content": "# Step 5: Telegram 📱\n\n**Send notification**\n\nReplace YOUR_CHAT_ID\nwith your actual chat ID.\n\nGet it from @userinfobot\n\nFormats message nicely\nwith emojis and details."
      }
    },
    {
      "id": "ddc4e020-d964-46f1-b70b-503a48da9530",
      "name": "📱 Send Alert",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1120,
        176
      ]
    },
    {
      "id": "9930efb4-ff89-4cd5-9389-6ddbc298c69c",
      "name": "📝 Logger Info",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1056,
        320
      ],
      "parameters": {
        "width": 250,
        "height": 492,
        "content": "# Step 6: Log Data 📝\n\n**Keep records**\n\nLogs every check:\n- Health scores\n- Device counts\n- Problems found\n- Timestamps\n\nFor tracking trends."
      }
    },
    {
      "id": "e973db8d-88b4-4013-94c1-541b8129d198",
      "name": "📝 Log Data",
      "type": "n8n-nodes-base.code",
      "position": [
        1104,
        672
      ]
    }
  ],
  "connections": {
    "⏰ Timer": {
      "main": [
        [
          {
            "node": "🤖 Get Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📊 Analyze": {
      "main": [
        [
          {
            "node": "🚨 Need Alert?",
            "type": "main",
            "index": 0
          },
          {
            "node": "📝 Log Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🤖 Get Data": {
      "main": [
        [
          {
            "node": "📊 Analyze",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🚨 Need Alert?": {
      "main": [
        [
          {
            "node": "📱 Send Alert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}