{
  "name": "Real-time flight tracking with Aviation API, Slack & SendGrid/Twilio alerts",
  "nodes": [
    {
      "id": "6f8a4ef8-4e58-4500-b546-693430ee840e",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1100,
        100
      ]
    },
    {
      "id": "fdc28d13-a8bc-47bc-a66b-c666272e37cb",
      "name": "Fetch Airline Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -880,
        100
      ]
    },
    {
      "id": "f170d7aa-3158-48e0-8229-f9f8126ddc95",
      "name": "Get Current Schedules",
      "type": "n8n-nodes-base.postgres",
      "position": [
        -660,
        100
      ]
    },
    {
      "id": "b6763438-4675-4127-afaa-8382872251fe",
      "name": "Process Changes",
      "type": "n8n-nodes-base.code",
      "position": [
        -440,
        100
      ]
    },
    {
      "id": "1383587e-cff6-4048-aaf4-e892e48ffcf8",
      "name": "Check for Changes",
      "type": "n8n-nodes-base.if",
      "position": [
        -220,
        100
      ]
    },
    {
      "id": "862d4239-2029-49e3-8772-ab6bce4a905f",
      "name": "Update Database",
      "type": "n8n-nodes-base.postgres",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "e9946c82-6cb0-4ac8-b201-8698e853d828",
      "name": "Notify Slack Channel",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        220,
        0
      ]
    },
    {
      "id": "2d4e1f9f-3b92-4ef4-b45d-93b06e4e759a",
      "name": "Check Urgent Notifications",
      "type": "n8n-nodes-base.if",
      "position": [
        0,
        200
      ]
    },
    {
      "id": "87962dd7-526b-4dc4-8f2e-b41e1fb607b7",
      "name": "Get Affected Passengers",
      "type": "n8n-nodes-base.postgres",
      "position": [
        220,
        300
      ]
    },
    {
      "id": "0a4ed5f3-7456-46b6-b54e-9b8afdc8d436",
      "name": "Send Email Notifications",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        440,
        300
      ]
    },
    {
      "id": "d91cfbf5-0281-4566-b8bd-3f97ee7e7036",
      "name": "Send SMS (Critical Only)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        660,
        300
      ]
    },
    {
      "id": "caf2c18a-4ae5-4cba-8b09-2ffce1fe0d98",
      "name": "Update Internal Systems",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        440,
        0
      ]
    },
    {
      "id": "b81033e9-6098-49d3-8bf9-921d9a934ee3",
      "name": "Log Sync Activity",
      "type": "n8n-nodes-base.postgres",
      "position": [
        660,
        0
      ]
    },
    {
      "id": "e70dfc0b-2c01-4ef0-80d1-5374d21f1670",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1060,
        -480
      ],
      "parameters": {
        "width": 760,
        "height": 400,
        "content": "## **How It Works**\n\n1. **Schedule Trigger** - Automatically runs every 30 minutes to check for flight schedule updates\n2. **Fetch Airline Data** - Retrieves current flight information from aviation A"
      }
    },
    {
      "id": "2a9a267e-44f4-4a44-889f-63d544d38b8f",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        -560
      ],
      "parameters": {
        "width": 520,
        "height": 180,
        "content": "**Introduction:**\n\nThis automated n8n workflow continuously monitors airline schedule changes by fetching real-time flight data, comparing it with stored schedules, and instantly notifying both intern"
      }
    }
  ],
  "connections": {
    "Process Changes": {
      "main": [
        [
          {
            "node": "Check for Changes",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Database": {
      "main": [
        [
          {
            "node": "Notify Slack Channel",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Fetch Airline Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check for Changes": {
      "main": [
        [
          {
            "node": "Update Database",
            "type": "main",
            "index": 0
          },
          {
            "node": "Check Urgent Notifications",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get Current Schedules",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Airline Data": {
      "main": [
        [
          {
            "node": "Get Current Schedules",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notify Slack Channel": {
      "main": [
        [
          {
            "node": "Update Internal Systems",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Current Schedules": {
      "main": [
        [
          {
            "node": "Process Changes",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Affected Passengers": {
      "main": [
        [
          {
            "node": "Send Email Notifications",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Internal Systems": {
      "main": [
        [
          {
            "node": "Log Sync Activity",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Email Notifications": {
      "main": [
        [
          {
            "node": "Send SMS (Critical Only)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Urgent Notifications": {
      "main": [
        [
          {
            "node": "Get Affected Passengers",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get Current Schedules",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}