{
  "name": "Monitor supply chain risks and disruptions with GPT-4o and Slack alerts",
  "nodes": [
    {
      "id": "f3820059-1cfd-4702-8b9e-6b263cd09ebc",
      "name": "Schedule Supply Chain Data Collection",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -448,
        64
      ]
    },
    {
      "id": "88d507ca-2a85-4d52-928b-1d065671130a",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        -224,
        64
      ]
    },
    {
      "id": "7cd97218-9c11-4f69-8fc6-d7cfb9a75497",
      "name": "Fetch Procurement Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "0248ddec-f8e0-4588-8ffc-feecf014f5cd",
      "name": "Fetch Warehouse and Transportation Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        0,
        192
      ]
    },
    {
      "id": "6219fd9f-baeb-4e19-95f2-938c278c92f0",
      "name": "Combine Supply Chain Data",
      "type": "n8n-nodes-base.merge",
      "position": [
        224,
        64
      ]
    },
    {
      "id": "4f0d3cd3-936f-44a9-b990-2482fce5e7eb",
      "name": "OpenAI Model for Signal Monitoring Agent",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        456,
        288
      ]
    },
    {
      "id": "0e112d3c-362a-4c72-ab9e-979b444fc007",
      "name": "Signal Analysis Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        640,
        288
      ]
    },
    {
      "id": "19a4d277-34e5-4da5-83eb-3d86156a2391",
      "name": "Signal Monitoring Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        448,
        64
      ]
    },
    {
      "id": "94635036-a4fa-440b-a9b1-64da9c2a0640",
      "name": "Route by Risk Level",
      "type": "n8n-nodes-base.switch",
      "position": [
        800,
        32
      ]
    },
    {
      "id": "be6e9fcb-7744-4d98-8b9d-e0521f3e0c06",
      "name": "OpenAI Model for Coordination Agent",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1024,
        288
      ]
    },
    {
      "id": "94010e9d-6f33-484b-b1f2-4fb479a79ffe",
      "name": "Coordination Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1232,
        288
      ]
    },
    {
      "id": "1238aca8-deeb-4f89-8513-67d725f0895d",
      "name": "Slack Alert Tool",
      "type": "n8n-nodes-base.slackTool",
      "position": [
        1360,
        304
      ]
    },
    {
      "id": "481e7a09-c095-461a-b6ff-f53fa860bfdf",
      "name": "Coordination Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1080,
        64
      ]
    },
    {
      "id": "c1f0200e-308e-4357-9042-c9c4187937c9",
      "name": "Route by Action Type",
      "type": "n8n-nodes-base.switch",
      "position": [
        1392,
        48
      ]
    },
    {
      "id": "007d35d7-4dff-48f1-9074-ae3e0a5fc264",
      "name": "Manual Approval Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        1616,
        432
      ]
    },
    {
      "id": "682df36c-c1dd-49d3-89f6-c399f266a838",
      "name": "Respond to Approval",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        2176,
        448
      ]
    },
    {
      "id": "d02f1a4f-dae0-48c8-af7e-3fd4f7b3d221",
      "name": "Process Approval Decision",
      "type": "n8n-nodes-base.code",
      "position": [
        1760,
        432
      ]
    },
    {
      "id": "711540e5-2344-4992-af6f-16bd9bfd15c7",
      "name": "Send Critical Alert to Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        1712,
        48
      ]
    },
    {
      "id": "81d5afd0-14a4-495c-a3c8-6223337a6cf9",
      "name": "Send Escalation Email",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1712,
        240
      ]
    },
    {
      "id": "a54b7e93-d57c-4fb1-a267-b3878e1aaa09",
      "name": "Log Compliance Audit Trail",
      "type": "n8n-nodes-base.code",
      "position": [
        1936,
        240
      ]
    },
    {
      "id": "837b2e6c-660e-48ff-8fa8-06f81756f49e",
      "name": "Prepare Final Report",
      "type": "n8n-nodes-base.set",
      "position": [
        2160,
        240
      ]
    },
    {
      "id": "15a0b28d-58ca-4822-bcea-a1ec616eefbc",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -480,
        -416
      ],
      "parameters": {
        "width": 816,
        "height": 272,
        "content": "## How It Works\nThis workflow automates end-to-end supply chain visibility and logistics coordination for manufacturers, distributors, and retailers managing complex multi-tier supply networks. Design"
      }
    },
    {
      "id": "eb841a65-9905-4cae-9a7d-b0f26535d65b",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        384,
        -448
      ],
      "parameters": {
        "width": 496,
        "height": 304,
        "content": "## Setup Steps\n1. Connect **Schedule Trigger** for monitoring frequency \n2. Configure **procurement system APIs** with order and supplier data access credentials\n3. Link **warehouse management systems"
      }
    },
    {
      "id": "c4af5c74-e144-44fa-9a49-a1c7d7852b37",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        928,
        -464
      ],
      "parameters": {
        "width": 560,
        "height": 320,
        "content": "## Prerequisites\nSupply chain system API access (ERP, WMS, TMS), AI service accounts.\n## Use Cases\nInventory optimization across multi-tier networks, predictive stockout prevention\n## Customization\nMo"
      }
    },
    {
      "id": "225ff2fc-5d36-49a7-867a-dd43e728e763",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        976,
        -112
      ],
      "parameters": {
        "width": 560,
        "height": 592,
        "content": "## Risk-Based Routing\n**What**: Routes findings by severity—critical triggers immediate alerts and approvals, acceptable enables standard processing  \n**Why**: Priority workflows ensure urgent disrupt"
      }
    },
    {
      "id": "84d14d20-43e3-4ffb-a7ed-480258ad9493",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        400,
        -112
      ],
      "parameters": {
        "width": 560,
        "height": 848,
        "content": "## Dual-Agent Intelligence\n**What**: Signal Monitoring Agent detects anomalies and trends; Coordination Agent optimizes routing and inventory decisions  \n**Why**: Parallel analysis identifies both imm"
      }
    },
    {
      "id": "4a2c6bc7-031e-41a3-a1c6-2593b7589d2c",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -496,
        -96
      ],
      "parameters": {
        "width": 864,
        "height": 496,
        "content": "## Automated Data Aggregation\n**What**: Scheduled trigger fetches procurement orders, warehouse inventory, and transportation tracking data  \n**Why**: Unified data collection eliminates siloed visibil"
      }
    },
    {
      "id": "33475f5b-247d-4ed8-9d06-0cb009a30cdc",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1568,
        -112
      ],
      "parameters": {
        "width": 768,
        "height": 736,
        "content": "## Action-Specific Response\n**What**: Executes workflows by action type—critical sends multi-channel alerts with approval gates, routine generates reports  \n**Why**: Context-appropriate responses bala"
      }
    }
  ],
  "connections": {
    "Slack Alert Tool": {
      "ai_tool": [
        [
          {
            "node": "Coordination Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Coordination Agent": {
      "main": [
        [
          {
            "node": "Route by Action Type",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by Risk Level": {
      "main": [
        [
          {
            "node": "Coordination Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by Action Type": {
      "main": [
        [
          {
            "node": "Send Critical Alert to Slack",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send Escalation Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Escalation Email": {
      "main": [
        [
          {
            "node": "Log Compliance Audit Trail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Procurement Data": {
      "main": [
        [
          {
            "node": "Combine Supply Chain Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "Fetch Procurement Data",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch Warehouse and Transportation Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Manual Approval Webhook": {
      "main": [
        [
          {
            "node": "Process Approval Decision",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Signal Monitoring Agent": {
      "main": [
        [
          {
            "node": "Route by Risk Level",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Combine Supply Chain Data": {
      "main": [
        [
          {
            "node": "Signal Monitoring Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Process Approval Decision": {
      "main": [
        [
          {
            "node": "Respond to Approval",
            "type": "main",
            "index": 0
          },
          {
            "node": "Log Compliance Audit Trail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Coordination Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Coordination Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Log Compliance Audit Trail": {
      "main": [
        [
          {
            "node": "Prepare Final Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Critical Alert to Slack": {
      "main": [
        [
          {
            "node": "Log Compliance Audit Trail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Signal Analysis Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Signal Monitoring Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model for Coordination Agent": {
      "ai_languageModel": [
        [
          {
            "node": "Coordination Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Supply Chain Data Collection": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Warehouse and Transportation Data": {
      "main": [
        [
          {
            "node": "Combine Supply Chain Data",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "OpenAI Model for Signal Monitoring Agent": {
      "ai_languageModel": [
        [
          {
            "node": "Signal Monitoring Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}