{
  "name": "Real-time stock monitor with smart alerts for Indian & US markets",
  "nodes": [
    {
      "id": "3a5d716d-1bc8-4aef-820c-a93125ee3d99",
      "name": "Market Hours Trigger",
      "type": "n8n-nodes-base.cron",
      "position": [
        -352,
        176
      ]
    },
    {
      "id": "1e0a06c3-a7da-44ca-a47d-4821bf599049",
      "name": "Read Stock Watchlist",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -128,
        176
      ]
    },
    {
      "id": "3fea256c-b34b-4200-8757-903fb7370183",
      "name": "Parse Watchlist Data",
      "type": "n8n-nodes-base.code",
      "position": [
        96,
        176
      ]
    },
    {
      "id": "ac5b2580-30a7-4fe3-934b-be3f075bfe7a",
      "name": "Fetch Live Stock Price",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        320,
        176
      ]
    },
    {
      "id": "1d750f99-a199-4f79-a916-a27d00e31106",
      "name": "Smart Alert Logic",
      "type": "n8n-nodes-base.code",
      "position": [
        544,
        176
      ]
    },
    {
      "id": "3ecf4f65-5761-4aef-95af-2ae934bbe350",
      "name": "Check Alert Conditions",
      "type": "n8n-nodes-base.if",
      "position": [
        768,
        176
      ]
    },
    {
      "id": "f11c4e27-caf8-4db8-891d-08c034696a0b",
      "name": "Send Email Alert",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        992,
        -16
      ]
    },
    {
      "id": "dfbdf149-cec3-4cba-b341-a86a23b44b16",
      "name": "Send Telegram Alert",
      "type": "n8n-nodes-base.telegram",
      "position": [
        992,
        368
      ]
    },
    {
      "id": "6c24ea09-602b-4347-8501-bbaf943332d9",
      "name": "Update Alert History",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        992,
        176
      ]
    },
    {
      "id": "081864e8-cfd4-4fa3-9521-63b0c8940a1e",
      "name": "Alert Status Check",
      "type": "n8n-nodes-base.if",
      "position": [
        1216,
        176
      ]
    },
    {
      "id": "5c24217a-8b4a-4f2a-8f10-6eedfa2e3781",
      "name": "Success Notification",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1440,
        80
      ]
    },
    {
      "id": "5d6a13f3-502f-43e3-a580-8323ee791e2e",
      "name": "Error Notification",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1440,
        272
      ]
    },
    {
      "id": "2cfd4cd7-60f7-4035-b359-cabb05443a41",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        48,
        -544
      ],
      "parameters": {
        "width": 800,
        "height": 480,
        "content": "## 📈 Real-Time Stock Price Monitor & Smart Alerts\n### Monitor Indian (NSE/BSE) and US stock markets with intelligent price alerts, cooldown periods, and multi-channel notifications (Email + Telegram)."
      }
    },
    {
      "id": "781ab2c1-1f5d-4498-ac06-ae7d3f918652",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -736,
        -528
      ],
      "parameters": {
        "width": 640,
        "height": 480,
        "content": "## 🔧 How It Works\n\n**📊 Market Hours Trigger** - Runs every 2 minutes during market hours\n**📋 Read Stock Watchlist** - Fetches your stock list from Google Sheets\n**🔍 Parse Watchlist Data** - Processes "
      }
    }
  ],
  "connections": {
    "Smart Alert Logic": {
      "main": [
        [
          {
            "node": "Check Alert Conditions",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Alert Status Check": {
      "main": [
        [
          {
            "node": "Success Notification",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Error Notification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Market Hours Trigger": {
      "main": [
        [
          {
            "node": "Read Stock Watchlist",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Watchlist Data": {
      "main": [
        [
          {
            "node": "Fetch Live Stock Price",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Read Stock Watchlist": {
      "main": [
        [
          {
            "node": "Parse Watchlist Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Alert History": {
      "main": [
        [
          {
            "node": "Alert Status Check",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Alert Conditions": {
      "main": [
        [
          {
            "node": "Send Email Alert",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send Telegram Alert",
            "type": "main",
            "index": 0
          },
          {
            "node": "Update Alert History",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Live Stock Price": {
      "main": [
        [
          {
            "node": "Smart Alert Logic",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}