{
  "name": "Weather alerts via SMS (OpenWeather + Twilio)",
  "nodes": [
    {
      "id": "9ababe8e-1ba5-4255-b97c-1b4e9e79ef99",
      "name": "Setup Instructions",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -224,
        -16
      ],
      "parameters": {
        "width": 712,
        "height": 680,
        "content": "🌤️ **SETUP REQUIRED:**\n\n1. **OpenWeather API:**\n   - Get FREE API key: openweathermap.org\n   - Update city/coordinates below\n   - 1000 calls/day free tier\n\n2. **Twilio Account:**\n   - Sign up at twili"
      }
    },
    {
      "id": "31bcbe91-559b-4ad4-bd3a-d0b470c7eda4",
      "name": "Check Every 6 Hours",
      "type": "n8n-nodes-base.cron",
      "position": [
        144,
        304
      ]
    },
    {
      "id": "fef45e7b-e895-43f6-9101-a8aa879304d5",
      "name": "Get Current Weather",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        352,
        304
      ]
    },
    {
      "id": "3b0b3916-e46d-4bb3-bc43-660e3da9ac98",
      "name": "Get Weather Forecast",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        352,
        448
      ]
    },
    {
      "id": "f1ec579d-ca05-4ab2-bdcb-ba13e43fe32c",
      "name": "Analyze Weather Data",
      "type": "n8n-nodes-base.code",
      "position": [
        544,
        384
      ]
    },
    {
      "id": "5524be11-f80e-4710-85cf-3eb5f6ee8cf8",
      "name": "Alert Needed?",
      "type": "n8n-nodes-base.if",
      "position": [
        752,
        384
      ]
    },
    {
      "id": "e903afab-78c9-424a-aa6a-8a985abc8aae",
      "name": "Format SMS Alert",
      "type": "n8n-nodes-base.code",
      "position": [
        944,
        272
      ]
    },
    {
      "id": "49355489-755c-47b7-ba89-a1a9254dd2ef",
      "name": "Send Weather SMS",
      "type": "n8n-nodes-base.twilio",
      "position": [
        1152,
        272
      ]
    },
    {
      "id": "daa67817-5a38-4865-a686-4d94862eecdc",
      "name": "Log Alert Sent",
      "type": "n8n-nodes-base.code",
      "position": [
        1344,
        272
      ]
    }
  ],
  "connections": {
    "Alert Needed?": {
      "main": [
        [
          {
            "node": "Format SMS Alert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format SMS Alert": {
      "main": [
        [
          {
            "node": "Send Weather SMS",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Weather SMS": {
      "main": [
        [
          {
            "node": "Log Alert Sent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Every 6 Hours": {
      "main": [
        [
          {
            "node": "Get Current Weather",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Weather Forecast",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Current Weather": {
      "main": [
        [
          {
            "node": "Analyze Weather Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze Weather Data": {
      "main": [
        [
          {
            "node": "Alert Needed?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Weather Forecast": {
      "main": [
        [
          {
            "node": "Analyze Weather Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}