{
  "name": "Validate policy compliance and orchestrate approvals with GPT-4o and Slack",
  "nodes": [
    {
      "id": "0ed591a0-35a1-4ea8-ac57-f046aa63d10e",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        0,
        192
      ]
    },
    {
      "id": "de918e2e-cd99-4f33-aa8c-93824e9e3376",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        224,
        192
      ]
    },
    {
      "id": "c6b5dc73-f1c2-4395-adaf-e19920350a13",
      "name": "Fetch Policy Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        448,
        96
      ]
    },
    {
      "id": "a27456be-810b-49b5-af2c-388a4e422855",
      "name": "Fetch Program Performance Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        448,
        288
      ]
    },
    {
      "id": "a24fc8f7-0d7e-4fa5-b651-b17f1a206470",
      "name": "Merge Data Sources",
      "type": "n8n-nodes-base.merge",
      "position": [
        672,
        192
      ]
    },
    {
      "id": "bc532a4c-f04f-40e2-bf47-31ef40f6822b",
      "name": "OpenAI Model - Policy Validation",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        904,
        416
      ]
    },
    {
      "id": "3602fe37-6b12-4819-a8c6-0ba6c3c49d80",
      "name": "Structured Output - Policy Validation",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1088,
        416
      ]
    },
    {
      "id": "c2f838e7-234c-4825-ae4d-137438e285f3",
      "name": "Policy Validation Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        896,
        192
      ]
    },
    {
      "id": "defc9f6a-67e1-480e-b319-2182d2785019",
      "name": "Route by Compliance Status",
      "type": "n8n-nodes-base.switch",
      "position": [
        1248,
        176
      ]
    },
    {
      "id": "523343db-1365-4287-a7ac-fed012a13dd0",
      "name": "OpenAI Model - Orchestration",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1480,
        540
      ]
    },
    {
      "id": "49dc34cb-e583-45bc-8b02-635345bbd184",
      "name": "Structured Output - Orchestration",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1696,
        544
      ]
    },
    {
      "id": "4dcf5309-cbc7-4b51-9364-9dbbfeb1d942",
      "name": "Execution Orchestration Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1472,
        316
      ]
    },
    {
      "id": "fb565c24-474a-4546-a633-856a1c8c1d73",
      "name": "Wait for Human Approval",
      "type": "n8n-nodes-base.wait",
      "position": [
        1824,
        316
      ]
    },
    {
      "id": "1ddeec9b-4193-45da-8b36-9bb0e90bc569",
      "name": "Store Audit Trail",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        2048,
        316
      ]
    },
    {
      "id": "838d2e52-5b90-4bba-9c8b-9c18106d2f61",
      "name": "Send Compliance Report",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        2272,
        220
      ]
    },
    {
      "id": "b23e0d72-0916-4381-abd7-6b105f19fa38",
      "name": "Notify Stakeholders - Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        2272,
        412
      ]
    },
    {
      "id": "0ca4ac76-7792-4c4d-b857-b1b9f35beee3",
      "name": "Escalate Critical Issues",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        2272,
        64
      ]
    },
    {
      "id": "500b0d27-305f-43ec-ad1e-6b5c84151be3",
      "name": "Log Decision Traceability",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        2720,
        220
      ]
    },
    {
      "id": "2bcdc993-686e-443d-b3ae-d0249a0cf0f2",
      "name": "Merge Notification Paths",
      "type": "n8n-nodes-base.merge",
      "position": [
        2496,
        204
      ]
    },
    {
      "id": "b7eff7b4-a672-4553-b3e8-a451d729b581",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1424,
        -432
      ],
      "parameters": {
        "width": 528,
        "height": 336,
        "content": "## Prerequisites\nOpenAI/Claude API credentials for AI validation agents, policy management system API access\n## Use Cases\nFinancial institutions validating AML policy compliance, healthcare organizati"
      }
    },
    {
      "id": "bdd8cd22-5e50-462c-87ac-5f1e2bdf0cbb",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        816,
        -384
      ],
      "parameters": {
        "width": 544,
        "height": 272,
        "content": "\n## Setup Steps\n1. Configure Schedule Trigger with policy review frequency\n2. Connect Workflow Configuration node with compliance parameters\n3. Set up Fetch Policy Data and Fetch Audit Program Perform"
      }
    },
    {
      "id": "2a06a961-a217-4295-93f0-c0dc49e04fc6",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -32,
        -368
      ],
      "parameters": {
        "width": 800,
        "height": 272,
        "content": "## How It Works\nThis workflow automates policy compliance validation and approval orchestration through intelligent AI-driven assessment. Designed for compliance departments, legal teams, and governan"
      }
    },
    {
      "id": "dd96ab5b-a873-42bf-ac23-f1a62914f453",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1440,
        -64
      ],
      "parameters": {
        "width": 1456,
        "height": 816,
        "content": "## Human-Gated Approval Routing\n**What:** Routes compliance findings through status-based workflows requiring human approval for critical violations with multi-channel stakeholder notifications\n**Why:"
      }
    },
    {
      "id": "2606bbcf-c32f-417e-a7e4-fb2255af89a4",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        848,
        -48
      ],
      "parameters": {
        "width": 576,
        "height": 704,
        "content": "## Dual-Agent Compliance Framework\n**What:** Processes merged data through AI agents for policy validation and execution orchestration with specialized output parsing\n**Why:** Separates violation dete"
      }
    },
    {
      "id": "22067192-3873-4c09-a964-2bebadde4977",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -48,
        -48
      ],
      "parameters": {
        "width": 880,
        "height": 688,
        "content": "\n## Multi-Source Policy Analysis\n**What:** Fetches and merges policy data with audit performance metrics on scheduled intervals for unified compliance monitoring\n**Why:** Ensures comprehensive oversig"
      }
    }
  ],
  "connections": {
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Policy Data": {
      "main": [
        [
          {
            "node": "Merge Data Sources",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Store Audit Trail": {
      "main": [
        [
          {
            "node": "Send Compliance Report",
            "type": "main",
            "index": 0
          },
          {
            "node": "Notify Stakeholders - Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Data Sources": {
      "main": [
        [
          {
            "node": "Policy Validation Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Compliance Report": {
      "main": [
        [
          {
            "node": "Merge Notification Paths",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "Fetch Policy Data",
            "type": "main",
            "index": 0
          },
          {
            "node": "Fetch Program Performance Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Policy Validation Agent": {
      "main": [
        [
          {
            "node": "Route by Compliance Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait for Human Approval": {
      "main": [
        [
          {
            "node": "Store Audit Trail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Escalate Critical Issues": {
      "main": [
        [
          {
            "node": "Merge Notification Paths",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Merge Notification Paths": {
      "main": [
        [
          {
            "node": "Log Decision Traceability",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by Compliance Status": {
      "main": [
        [
          {
            "node": "Execution Orchestration Agent",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Escalate Critical Issues",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notify Stakeholders - Slack": {
      "main": [
        [
          {
            "node": "Merge Notification Paths",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "OpenAI Model - Orchestration": {
      "ai_languageModel": [
        [
          {
            "node": "Execution Orchestration Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Execution Orchestration Agent": {
      "main": [
        [
          {
            "node": "Wait for Human Approval",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Program Performance Data": {
      "main": [
        [
          {
            "node": "Merge Data Sources",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "OpenAI Model - Policy Validation": {
      "ai_languageModel": [
        [
          {
            "node": "Policy Validation Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output - Orchestration": {
      "ai_outputParser": [
        [
          {
            "node": "Execution Orchestration Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output - Policy Validation": {
      "ai_outputParser": [
        [
          {
            "node": "Policy Validation Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}