{
  "name": "Predict construction delays with Claude, OpenWeather and Slack alerts",
  "nodes": [
    {
      "id": "cb1697be-aa10-46e0-b113-a90f004e25eb",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -96,
        -176
      ],
      "parameters": {
        "width": 940,
        "height": 1596,
        "content": "## AI Construction Delay Predictor\n\nThis workflow monitors active construction projects in real time, ingests weather forecasts, supplier delivery statuses, and crew/resource availability, then uses C"
      }
    },
    {
      "id": "af8bcd5e-2496-4ddc-9645-7ca1d5abeb9e",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        966,
        424
      ],
      "parameters": {
        "width": 644,
        "height": 472,
        "content": "## 1. Trigger & Project Loading"
      }
    },
    {
      "id": "7932842b-f76f-4c5e-a839-a9ab4100ee56",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1664,
        272
      ],
      "parameters": {
        "width": 664,
        "height": 720,
        "content": "## 2. Risk Data Enrichment\n### Weather · Suppliers · Resources"
      }
    },
    {
      "id": "b04ec2eb-835a-4a8a-8665-83e143918d59",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2368,
        416
      ],
      "parameters": {
        "width": 700,
        "height": 592,
        "content": "## 3. Claude AI Delay Prediction & Risk Scoring"
      }
    },
    {
      "id": "270a0b77-5814-4f13-8335-4ab6767dc0c0",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3136,
        176
      ],
      "parameters": {
        "width": 1380,
        "height": 880,
        "content": "## 4. Severity Routing · Alerts · Dashboard Update · Ticketing"
      }
    },
    {
      "id": "7c543a52-b9b1-4e95-87a0-4d5e299a36a9",
      "name": "Receive Project Alert Request",
      "type": "n8n-nodes-base.webhook",
      "position": [
        1056,
        528
      ]
    },
    {
      "id": "90daf66a-4a5b-4acc-bce2-dcd45c21e6f1",
      "name": "Morning Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        1056,
        720
      ]
    },
    {
      "id": "290c5e77-ec9c-4631-b0a9-1e9435f049b3",
      "name": "Load Active Projects",
      "type": "n8n-nodes-base.airtable",
      "position": [
        1280,
        624
      ]
    },
    {
      "id": "f2036a94-800c-49c2-af2c-1e19e650594a",
      "name": "Normalize Project Records",
      "type": "n8n-nodes-base.code",
      "position": [
        1504,
        624
      ]
    },
    {
      "id": "27c50738-a988-4f9e-9feb-d6ea709e6657",
      "name": "Fetch 7-Day Site Weather",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1728,
        432
      ]
    },
    {
      "id": "a15fc2dd-adaf-4991-a61a-8f988edb14f9",
      "name": "Fetch Supplier Delivery Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1728,
        624
      ]
    },
    {
      "id": "f6d90c99-7cb5-4d06-aaaa-467cd06f743e",
      "name": "Fetch Crew & Resource Availability",
      "type": "n8n-nodes-base.airtable",
      "position": [
        1728,
        816
      ]
    },
    {
      "id": "4c881d9b-f371-48a8-9dc2-4289513a4966",
      "name": "Merge Risk Data Streams",
      "type": "n8n-nodes-base.merge",
      "position": [
        1952,
        624
      ]
    },
    {
      "id": "d84aac7a-24d4-4213-9ea2-5f80456fece7",
      "name": "Compile Project Risk Profile",
      "type": "n8n-nodes-base.code",
      "position": [
        2176,
        624
      ]
    },
    {
      "id": "bc7186c7-7ee3-4683-94e4-e580851403dd",
      "name": "Predict Delays with Claude AI",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2400,
        624
      ]
    },
    {
      "id": "914d1aa2-65c7-49a3-bf8f-6fb317850c24",
      "name": "Claude AI Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        2472,
        848
      ]
    },
    {
      "id": "0c429c77-338b-40f0-94e9-ef97ce3ab259",
      "name": "Parse AI Delay Prediction",
      "type": "n8n-nodes-base.code",
      "position": [
        2752,
        624
      ]
    },
    {
      "id": "63f013ea-e7d5-4e74-ba3e-37bc90556bd7",
      "name": "Route by Delay Severity",
      "type": "n8n-nodes-base.switch",
      "position": [
        2976,
        592
      ]
    },
    {
      "id": "34509e73-e94c-4767-8ad6-fc08cc547c54",
      "name": "Send Delay Alert to Slack",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3200,
        480
      ]
    },
    {
      "id": "44b3d6e9-e62c-4287-8b1a-1d46270d64db",
      "name": "Open Risk Ticket in Jira",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3424,
        480
      ]
    },
    {
      "id": "77ef4aab-20c9-4c29-b892-1a4462c0c51e",
      "name": "Update Project Risk Dashboard",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3648,
        552
      ]
    },
    {
      "id": "af5d1e93-d10a-4fcd-933b-855480007d6d",
      "name": "Build Daily Risk Briefing",
      "type": "n8n-nodes-base.code",
      "position": [
        3872,
        552
      ]
    },
    {
      "id": "025fb9f1-a762-4558-88a7-cf3e3e3622be",
      "name": "Send Daily Email Briefing",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        4096,
        552
      ]
    },
    {
      "id": "26bb13c8-2f8f-48ff-b2ed-235815f9dc52",
      "name": "Return Prediction to Caller",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        4320,
        552
      ]
    },
    {
      "id": "0d831847-968f-4550-a564-3b80ae5e9859",
      "name": "Log Low Risk — No Escalation",
      "type": "n8n-nodes-base.set",
      "position": [
        3200,
        768
      ]
    }
  ],
  "connections": {
    "Claude AI Model": {
      "ai_languageModel": [
        [
          {
            "node": "Predict Delays with Claude AI",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Load Active Projects": {
      "main": [
        [
          {
            "node": "Normalize Project Records",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Risk Data Streams": {
      "main": [
        [
          {
            "node": "Compile Project Risk Profile",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by Delay Severity": {
      "main": [
        [
          {
            "node": "Send Delay Alert to Slack",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send Delay Alert to Slack",
            "type": "main",
            "index": 0
          }
        ],
        [],
        [
          {
            "node": "Log Low Risk — No Escalation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch 7-Day Site Weather": {
      "main": [
        [
          {
            "node": "Merge Risk Data Streams",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Morning Schedule Trigger": {
      "main": [
        [
          {
            "node": "Load Active Projects",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Open Risk Ticket in Jira": {
      "main": [
        [
          {
            "node": "Update Project Risk Dashboard",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build Daily Risk Briefing": {
      "main": [
        [
          {
            "node": "Send Daily Email Briefing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Normalize Project Records": {
      "main": [
        [
          {
            "node": "Fetch 7-Day Site Weather",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch Supplier Delivery Status",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch Crew & Resource Availability",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse AI Delay Prediction": {
      "main": [
        [
          {
            "node": "Route by Delay Severity",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Daily Email Briefing": {
      "main": [
        [
          {
            "node": "Return Prediction to Caller",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Delay Alert to Slack": {
      "main": [
        [
          {
            "node": "Open Risk Ticket in Jira",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Compile Project Risk Profile": {
      "main": [
        [
          {
            "node": "Predict Delays with Claude AI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Predict Delays with Claude AI": {
      "main": [
        [
          {
            "node": "Parse AI Delay Prediction",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Receive Project Alert Request": {
      "main": [
        [
          {
            "node": "Load Active Projects",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Project Risk Dashboard": {
      "main": [
        [
          {
            "node": "Build Daily Risk Briefing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Supplier Delivery Status": {
      "main": [
        [
          {
            "node": "Merge Risk Data Streams",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Fetch Crew & Resource Availability": {
      "main": [
        [
          {
            "node": "Merge Risk Data Streams",
            "type": "main",
            "index": 1
          }
        ]
      ]
    }
  }
}