{
  "name": "Detect procurement fraud and monitor supplier compliance with GPT-4o and Slack",
  "nodes": [
    {
      "id": "752a202d-bffb-4c07-9e38-324f9f783007",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1936,
        508
      ]
    },
    {
      "id": "0a741961-8286-49f5-aa7d-8e7b361734ed",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        -1712,
        508
      ]
    },
    {
      "id": "efd381fb-b497-445c-8887-3c6f4d2f8cc4",
      "name": "Generate Sample Events",
      "type": "n8n-nodes-base.code",
      "position": [
        -1488,
        508
      ]
    },
    {
      "id": "3de724c0-a62f-4f8c-9da4-309f5081b870",
      "name": "OpenAI Model - Prioritization Agent",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1360,
        752
      ]
    },
    {
      "id": "f52b8d9f-324f-4aa3-b27c-aad714fc50f3",
      "name": "Structured Output - Prioritization",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -1136,
        732
      ]
    },
    {
      "id": "95480795-d8f5-4b97-ab65-dd508e70db07",
      "name": "Signal Prioritization Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1208,
        508
      ]
    },
    {
      "id": "47348986-8c0c-4727-99a5-744743ce4c7c",
      "name": "OpenAI Model - Enrichment Agent",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1104,
        960
      ]
    },
    {
      "id": "4e965551-3bb1-4492-a733-8838d792c197",
      "name": "Structured Output - Enrichment",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -840,
        940
      ]
    },
    {
      "id": "45e05022-2f58-4bf4-af5c-70726916d9e9",
      "name": "Enrichment Agent Tool",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -1008,
        732
      ]
    },
    {
      "id": "559108e8-680a-4227-a4fd-a22d301b0d02",
      "name": "OpenAI Model - Delivery Agent",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -592,
        732
      ]
    },
    {
      "id": "68c681f0-4598-4011-afa1-51edeebda220",
      "name": "Structured Output - Delivery",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -464,
        732
      ]
    },
    {
      "id": "1280d523-52a2-4928-b467-5006b16d2492",
      "name": "Slack Tool",
      "type": "n8n-nodes-base.slackTool",
      "position": [
        -336,
        732
      ]
    },
    {
      "id": "5d25ad79-6b61-4137-8917-b766900901a5",
      "name": "Email Tool",
      "type": "@n8n/n8n-nodes-langchain.toolCode",
      "position": [
        -208,
        732
      ]
    },
    {
      "id": "bff1b9d9-1f2b-4dbd-8b73-fa559c4158cf",
      "name": "Delivery Orchestration Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -472,
        508
      ]
    },
    {
      "id": "f91ac73a-d3c7-4c83-aedb-3504a0077989",
      "name": "Route by Priority",
      "type": "n8n-nodes-base.switch",
      "position": [
        112,
        656
      ]
    },
    {
      "id": "8824f18b-d686-40de-b7b0-3098542bc1c7",
      "name": "Store Critical Events",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        352,
        416
      ]
    },
    {
      "id": "0b8851d5-fc8f-47ef-b541-8e51ae766150",
      "name": "Store High Priority Events",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        640,
        608
      ]
    },
    {
      "id": "a1ac83df-2755-4ff7-b7ce-b80f089a2e41",
      "name": "Store Medium Priority Events",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        864,
        800
      ]
    },
    {
      "id": "5f7acebd-9be2-4baa-9f5b-14ed4745c0f6",
      "name": "Store Low Priority Events",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        864,
        992
      ]
    },
    {
      "id": "8bfef42b-2f34-4867-ad19-a5949fe9510f",
      "name": "Notify Critical - Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        640,
        416
      ]
    },
    {
      "id": "04f25208-cc97-4aff-bb12-ade2805d46e3",
      "name": "Notify Critical - Email",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        864,
        416
      ]
    },
    {
      "id": "b46af0d8-29a1-49b3-ba12-53e3668616f4",
      "name": "Notify High - Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        864,
        608
      ]
    },
    {
      "id": "320990d1-15e7-49a4-a27b-f5ed13ea2969",
      "name": "Merge All Notifications",
      "type": "n8n-nodes-base.merge",
      "position": [
        1088,
        672
      ]
    },
    {
      "id": "214bb8f2-248c-4241-9161-6bcd6c58c797",
      "name": "Audit Log",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        1312,
        704
      ]
    },
    {
      "id": "3413b680-356f-4f1a-ad44-34a94545b04e",
      "name": "Check Escalation Required",
      "type": "n8n-nodes-base.if",
      "position": [
        144,
        1168
      ]
    },
    {
      "id": "a5e5b4a5-15f8-47b5-8db1-5ce25c88a964",
      "name": "OpenAI Model - Escalation Agent",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        384,
        1392
      ]
    },
    {
      "id": "61746131-27b2-439c-a95c-4a5ed53b61c7",
      "name": "Structured Output - Escalation",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        512,
        1392
      ]
    },
    {
      "id": "5c12a734-4e95-4953-a5d7-3aff4c9edc75",
      "name": "Escalation Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        368,
        1168
      ]
    },
    {
      "id": "904d68e6-e75e-43c2-845f-42ddb9195206",
      "name": "Escalation Email",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        720,
        1168
      ]
    },
    {
      "id": "751dcadc-8388-4568-b29e-7d1c598672a6",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1888,
        -160
      ],
      "parameters": {
        "width": 624,
        "height": 368,
        "content": "## How It Works\nThis workflow automates procurement fraud detection and supplier compliance monitoring for organizations managing complex purchasing operations. Designed for procurement teams, audit d"
      }
    },
    {
      "id": "5d5874f9-1b46-4c3b-8672-a0193c4e0a24",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1232,
        -64
      ],
      "parameters": {
        "width": 448,
        "height": 272,
        "content": "## Setup Steps\n1. Connect **Schedule Trigger** for monitoring frequency\n2. Configure **procurement systems** with API credentials\n3. Add **AI model API keys** to Price Reasonableness, Delivery, and Or"
      }
    },
    {
      "id": "d1461779-3b74-4ec9-94f8-f982a9609c30",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -752,
        -176
      ],
      "parameters": {
        "width": 384,
        "height": 368,
        "content": "## Prerequisites\nProcurement system API access, AI service accounts, market pricing databases for benchmarking\n## Use Cases\nInvoice fraud detection, bid rigging identification, duplicate payment preve"
      }
    },
    {
      "id": "a01826f3-fedd-4b8c-8313-dbb3e0311ee2",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -640,
        304
      ],
      "parameters": {
        "width": 656,
        "height": 736,
        "content": "## Orchestrated Risk Evaluation\n**What**: Orchestration Agent synthesizes findings, applies risk scoring, generates prioritized recommendations  \n**Why**: Unified assessment enables clear fraud/compli"
      }
    },
    {
      "id": "d27285c0-54a9-455d-9eca-de7f0d35f66b",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        48,
        288
      ],
      "parameters": {
        "width": 1552,
        "height": 1376,
        "content": "\n## Priority-Based Response\n**What**: Routes by severity—critical triggers immediate alerts and audit logs, lower priorities enable planned reviews  \n**Why**: Risk-stratified workflows ensure urgent f"
      }
    },
    {
      "id": "eb8f8dca-ebab-402d-9104-71300100d057",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2048,
        320
      ],
      "parameters": {
        "width": 1392,
        "height": 864,
        "content": "## Automated Transaction Monitoring & Dual-Agent Risk Assessment\n**What**: Price Reasonableness Agent validates pricing; Delivery Agent evaluates supplier performance metrics  \n**Why**: Parallel exper"
      }
    }
  ],
  "connections": {
    "Email Tool": {
      "ai_tool": [
        [
          {
            "node": "Delivery Orchestration Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Slack Tool": {
      "ai_tool": [
        [
          {
            "node": "Delivery Orchestration Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Escalation Agent": {
      "main": [
        [
          {
            "node": "Escalation Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by Priority": {
      "main": [
        [
          {
            "node": "Store Critical Events",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Store High Priority Events",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Store Medium Priority Events",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Store Low Priority Events",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notify High - Slack": {
      "main": [
        [
          {
            "node": "Merge All Notifications",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Enrichment Agent Tool": {
      "ai_tool": [
        [
          {
            "node": "Signal Prioritization Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Store Critical Events": {
      "main": [
        [
          {
            "node": "Notify Critical - Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Sample Events": {
      "main": [
        [
          {
            "node": "Signal Prioritization Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "Generate Sample Events",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge All Notifications": {
      "main": [
        [
          {
            "node": "Audit Log",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notify Critical - Email": {
      "main": [
        [
          {
            "node": "Merge All Notifications",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notify Critical - Slack": {
      "main": [
        [
          {
            "node": "Notify Critical - Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Escalation Required": {
      "main": [
        [
          {
            "node": "Escalation Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Store Low Priority Events": {
      "main": [
        [
          {
            "node": "Merge All Notifications",
            "type": "main",
            "index": 3
          }
        ]
      ]
    },
    "Store High Priority Events": {
      "main": [
        [
          {
            "node": "Notify High - Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Signal Prioritization Agent": {
      "main": [
        [
          {
            "node": "Delivery Orchestration Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Delivery Orchestration Agent": {
      "main": [
        [
          {
            "node": "Route by Priority",
            "type": "main",
            "index": 0
          },
          {
            "node": "Check Escalation Required",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Store Medium Priority Events": {
      "main": [
        [
          {
            "node": "Merge All Notifications",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Structured Output - Delivery": {
      "ai_outputParser": [
        [
          {
            "node": "Delivery Orchestration Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model - Delivery Agent": {
      "ai_languageModel": [
        [
          {
            "node": "Delivery Orchestration Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output - Enrichment": {
      "ai_outputParser": [
        [
          {
            "node": "Enrichment Agent Tool",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output - Escalation": {
      "ai_outputParser": [
        [
          {
            "node": "Escalation Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model - Enrichment Agent": {
      "ai_languageModel": [
        [
          {
            "node": "Enrichment Agent Tool",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model - Escalation Agent": {
      "ai_languageModel": [
        [
          {
            "node": "Escalation Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output - Prioritization": {
      "ai_outputParser": [
        [
          {
            "node": "Signal Prioritization Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model - Prioritization Agent": {
      "ai_languageModel": [
        [
          {
            "node": "Signal Prioritization Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}