{
  "name": "Detect financial risk and orchestrate compliance with GPT‑4o, Slack and email",
  "nodes": [
    {
      "id": "12ad4a65-f0b1-4b8f-8e02-7d42a1cb3426",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -2416,
        432
      ]
    },
    {
      "id": "6e710822-eae9-477a-b8e2-f0c42fcc71d9",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        -2192,
        432
      ]
    },
    {
      "id": "253f058d-f1ac-41b7-8821-0f63ba4fd037",
      "name": "Fetch Risk Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1968,
        336
      ]
    },
    {
      "id": "275d2744-0db4-4b31-980b-48f60eb4d108",
      "name": "Fetch Claims Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1968,
        528
      ]
    },
    {
      "id": "70a98042-01e3-4d93-8300-80c0db6d4e88",
      "name": "Merge Financial Data",
      "type": "n8n-nodes-base.merge",
      "position": [
        -1744,
        432
      ]
    },
    {
      "id": "0b9c93a9-d341-426f-9e5f-0058164d5fbd",
      "name": "Risk Signal Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1296,
        432
      ]
    },
    {
      "id": "d1074860-7e4f-4d4b-b490-ce37cd78a6d4",
      "name": "OpenAI Model - Risk Agent",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1312,
        640
      ]
    },
    {
      "id": "3cc1e4cf-6d99-4cea-9d26-7484c5b3449b",
      "name": "Risk Assessment Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -1120,
        672
      ]
    },
    {
      "id": "6c061e59-afce-4c2c-8e26-1c5c5504b9c3",
      "name": "Route by Risk Level",
      "type": "n8n-nodes-base.switch",
      "position": [
        -720,
        304
      ]
    },
    {
      "id": "50f9512d-519d-4538-a545-c1149142838a",
      "name": "Compliance Orchestration Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        16,
        96
      ]
    },
    {
      "id": "d079ceeb-e17d-4b71-a447-2e0fa2b55e08",
      "name": "OpenAI Model - Compliance Agent",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -80,
        208
      ]
    },
    {
      "id": "12160acb-2fc0-4e8d-95f8-ceead87b5778",
      "name": "Compliance Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        448,
        432
      ]
    },
    {
      "id": "b91c2674-04b4-4ff8-9b9b-a89d91bccef8",
      "name": "Consolidate Results",
      "type": "n8n-nodes-base.merge",
      "position": [
        880,
        288
      ]
    },
    {
      "id": "a206a244-e4e3-4507-9ef0-9b88e18a52fc",
      "name": "Send Compliance Report",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        1104,
        288
      ]
    },
    {
      "id": "aa7a4291-59f0-4515-8e2d-966e5964fa03",
      "name": "Calculate Risk Metrics",
      "type": "n8n-nodes-base.code",
      "position": [
        -1520,
        496
      ]
    },
    {
      "id": "38008399-921b-4890-be8c-ddb9f0346328",
      "name": "Check Critical Risk",
      "type": "n8n-nodes-base.if",
      "position": [
        -944,
        544
      ]
    },
    {
      "id": "a249e947-fc09-4d6f-b753-5c8d688a66b2",
      "name": "Regulatory Analysis Agent Tool",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -128,
        432
      ]
    },
    {
      "id": "6c7b1380-6177-4420-9f6e-012c08be3e05",
      "name": "OpenAI Model - Regulatory Tool",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -112,
        640
      ]
    },
    {
      "id": "c20042aa-5152-470a-9f68-9b7c2c16521f",
      "name": "Regulatory Tool Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        32,
        640
      ]
    },
    {
      "id": "363d2dc7-63b5-44e3-9836-8cba7e5ea089",
      "name": "Exception Handler Agent Tool",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        160,
        432
      ]
    },
    {
      "id": "35ca2d3b-4a0d-4690-ad8e-bbf17ed8861d",
      "name": "OpenAI Model - Exception Tool",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        160,
        640
      ]
    },
    {
      "id": "523ae5b3-8626-4cfa-b4e8-38bf7e2bd9b9",
      "name": "Exception Tool Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        304,
        640
      ]
    },
    {
      "id": "e4d7bed0-6c15-4d08-ab95-e029dc1113e0",
      "name": "Send Critical Alert to Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        -720,
        544
      ]
    },
    {
      "id": "46da6cc6-36c9-4d6c-a2fd-cdf9c10a17ab",
      "name": "Log to Audit Trail Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        880,
        512
      ]
    },
    {
      "id": "7c37aa8a-4229-4f4e-8763-c456475054c6",
      "name": "Generate Audit Metadata",
      "type": "n8n-nodes-base.code",
      "position": [
        656,
        304
      ]
    },
    {
      "id": "bc32edb1-799d-424c-aca1-5cd7d1aa3192",
      "name": "Merge Critical Path",
      "type": "n8n-nodes-base.merge",
      "position": [
        -496,
        544
      ]
    },
    {
      "id": "ef2f1b92-d303-4b52-9625-35476c2f70ed",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1136,
        -448
      ],
      "parameters": {
        "width": 592,
        "height": 352,
        "content": "## Prerequisites\nOpenAI or Nvidia API credentials for AI-powered risk analysis, financial data API access\n## Use Cases\nInsurance companies monitoring claims fraud patterns, financial institutions dete"
      }
    },
    {
      "id": "5910dbd2-4a00-45af-885d-9473b997a99c",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1616,
        -448
      ],
      "parameters": {
        "width": 464,
        "height": 336,
        "content": "## Setup Steps\n1. Configure Schedule Trigger with risk monitoring frequency\n2. Connect Workflow Configuration node with data source parameters\n3. Set up Fetch B2B Data and Fetch Claims Data nodes with"
      }
    },
    {
      "id": "11f55641-2b1f-4d3f-afdb-ffa6fd3f633d",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2304,
        -464
      ],
      "parameters": {
        "width": 656,
        "height": 368,
        "content": "## How It Works\nThis workflow automates comprehensive risk signal detection and regulatory compliance management across financial and claims data sources. Designed for risk management teams, complianc"
      }
    },
    {
      "id": "ff620bea-ae54-435e-90c4-c52fa9da2087",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1360,
        0
      ],
      "parameters": {
        "width": 1168,
        "height": 880,
        "content": "## AI-Powered Risk Detection\n**What:** Processes merged data through risk signal agent with parallel output parsing for regulatory and operational risk identification\n**Why:** Leverages AI to detect c"
      }
    },
    {
      "id": "348c507e-099a-4473-94ee-c5aef73aa26e",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -16
      ],
      "parameters": {
        "width": 1408,
        "height": 1216,
        "content": "## Severity-Based Orchestration\n**What:** Routes risks through severity-specific workflows with parallel processing for compliance documentation, stakeholder alerts, and audit logging\n**Why:** Ensures"
      }
    },
    {
      "id": "97a2808d-0715-4aea-8ead-71c4a8164cc1",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2464,
        16
      ],
      "parameters": {
        "width": 1072,
        "height": 928,
        "content": "## Multi-Source Risk Aggregation\n**What:** Fetches and merges financial metrics and claims data on scheduled intervals for unified risk analysis\n**Why:** Ensures comprehensive risk coverage by correla"
      }
    }
  ],
  "connections": {
    "Fetch Risk Data": {
      "main": [
        [
          {
            "node": "Merge Financial Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Claims Data": {
      "main": [
        [
          {
            "node": "Merge Financial Data",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Risk Signal Agent": {
      "main": [
        [
          {
            "node": "Route by Risk Level",
            "type": "main",
            "index": 0
          },
          {
            "node": "Check Critical Risk",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Critical Risk": {
      "main": [
        [
          {
            "node": "Send Critical Alert to Slack",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Route by Risk Level",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Consolidate Results": {
      "main": [
        [
          {
            "node": "Send Compliance Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Critical Path": {
      "main": [
        [
          {
            "node": "Compliance Orchestration Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by Risk Level": {
      "main": [
        [
          {
            "node": "Compliance Orchestration Agent",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge Critical Path",
            "type": "main",
            "index": 1
          }
        ],
        [
          {
            "node": "Consolidate Results",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Merge Financial Data": {
      "main": [
        [
          {
            "node": "Risk Signal Agent",
            "type": "main",
            "index": 0
          },
          {
            "node": "Calculate Risk Metrics",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Calculate Risk Metrics": {
      "main": [
        [
          {
            "node": "Risk Signal Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "Fetch Risk Data",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch Claims Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Audit Metadata": {
      "main": [
        [
          {
            "node": "Log to Audit Trail Sheet",
            "type": "main",
            "index": 0
          },
          {
            "node": "Consolidate Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Compliance Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Compliance Orchestration Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model - Risk Agent": {
      "ai_languageModel": [
        [
          {
            "node": "Risk Signal Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Exception Handler Agent Tool": {
      "ai_tool": [
        [
          {
            "node": "Compliance Orchestration Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Exception Tool Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Exception Handler Agent Tool",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Send Critical Alert to Slack": {
      "main": [
        [
          {
            "node": "Merge Critical Path",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model - Exception Tool": {
      "ai_languageModel": [
        [
          {
            "node": "Exception Handler Agent Tool",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Regulatory Tool Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Regulatory Analysis Agent Tool",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Risk Assessment Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Risk Signal Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Compliance Orchestration Agent": {
      "main": [
        [
          {
            "node": "Consolidate Results",
            "type": "main",
            "index": 0
          },
          {
            "node": "Generate Audit Metadata",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model - Regulatory Tool": {
      "ai_languageModel": [
        [
          {
            "node": "Regulatory Analysis Agent Tool",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Regulatory Analysis Agent Tool": {
      "ai_tool": [
        [
          {
            "node": "Compliance Orchestration Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model - Compliance Agent": {
      "ai_languageModel": [
        [
          {
            "node": "Compliance Orchestration Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}