{
  "name": "Monitor employee policy compliance with GPT-4, Slack, and email alerts",
  "nodes": [
    {
      "id": "f0df187a-a4f2-42d1-8e39-bb4530089a0b",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1392,
        304
      ]
    },
    {
      "id": "c8ac420f-7ed5-42af-a6de-6c2e3ab2ccd4",
      "name": "Workflow Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        -1168,
        304
      ]
    },
    {
      "id": "28aace8a-2a82-4b78-a9a3-19d9d65c3652",
      "name": "Fetch Policy Records",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        -944,
        304
      ]
    },
    {
      "id": "7de29645-dc4d-4343-b080-b1216dd46250",
      "name": "Policy Monitoring Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -720,
        304
      ]
    },
    {
      "id": "baa01df0-9072-4b95-ac91-43c59fad7c05",
      "name": "OpenAI Model - Policy Agent",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -752,
        528
      ]
    },
    {
      "id": "251cd2a1-6ec0-439d-81eb-e66761827e4e",
      "name": "Policy Validation Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -576,
        528
      ]
    },
    {
      "id": "ac703572-2cd9-4b8a-bf5d-d02d91b01df2",
      "name": "Route by Compliance Status",
      "type": "n8n-nodes-base.switch",
      "position": [
        -368,
        288
      ]
    },
    {
      "id": "1ad6c32d-03c5-4cd7-8448-ab2079feb9c8",
      "name": "Compliance Orchestration Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        0,
        160
      ]
    },
    {
      "id": "18c240cb-6fe0-4b15-ae25-a4a09dd7fe4c",
      "name": "OpenAI Model - Compliance Agent",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -96,
        352
      ]
    },
    {
      "id": "aa62539d-9d9e-481d-8971-eb2e8a9bc069",
      "name": "Slack Notification Tool",
      "type": "n8n-nodes-base.slackTool",
      "position": [
        48,
        384
      ]
    },
    {
      "id": "d64a8c6e-c22d-44ca-92ab-d9b45e608383",
      "name": "Email Notification Tool",
      "type": "n8n-nodes-base.emailSendTool",
      "position": [
        192,
        384
      ]
    },
    {
      "id": "e3288ae8-382b-4008-86ea-eea71e81cb43",
      "name": "Escalation Logic Tool",
      "type": "@n8n/n8n-nodes-langchain.toolCode",
      "position": [
        336,
        432
      ]
    },
    {
      "id": "bd1e100d-8985-4923-9a34-a85189b9fa57",
      "name": "Log Compliance Actions",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        496,
        256
      ]
    },
    {
      "id": "4f4fa2cb-6425-48d8-9476-eb0b50f48456",
      "name": "Prepare Compliant Records",
      "type": "n8n-nodes-base.set",
      "position": [
        48,
        592
      ]
    },
    {
      "id": "1c7b46a8-2c87-4398-9bca-c3e72b835400",
      "name": "Store Audit Report",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        512,
        592
      ]
    },
    {
      "id": "fd381a95-15b1-4a31-b91f-b440edc3d6a1",
      "name": "Merge All Actions",
      "type": "n8n-nodes-base.merge",
      "position": [
        720,
        400
      ]
    },
    {
      "id": "2374286f-5f21-45ff-abc7-2df6d07e8690",
      "name": "Final Execution Log",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        912,
        400
      ]
    },
    {
      "id": "98f589b1-266a-4208-89c0-d41f2dc85c03",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1312,
        -288
      ],
      "parameters": {
        "width": 576,
        "height": 288,
        "content": "## How It Works\nThis workflow automates enterprise policy compliance monitoring using AI agents to ensure organizational adherence to regulatory and internal policies. Designed for compliance officers"
      }
    },
    {
      "id": "5f0df633-d18b-44ca-8c9a-2247f1da29a9",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -720,
        -304
      ],
      "parameters": {
        "width": 400,
        "height": 304,
        "content": "## Setup Steps\n1. Connect **Schedule Trigger** (set monitoring frequency: hourly/daily)\n2. Configure **Fetch Policy Records** node with your policy database/API credentials\n3. Add **OpenAI API key** t"
      }
    },
    {
      "id": "0615c803-149a-4177-b28e-82cb013756fe",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -288,
        -320
      ],
      "parameters": {
        "width": 544,
        "height": 320,
        "content": "## Prerequisites\nOpenAI API account with GPT-4 access, policy database/API access\n## Use Cases\nFinancial services regulatory compliance (KYC/AML), healthcare HIPAA monitoring\n## Customization\nModify A"
      }
    },
    {
      "id": "3522da3d-2c27-4b6f-9383-d56f0227fb8e",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        448,
        64
      ],
      "parameters": {
        "width": 672,
        "height": 784,
        "content": "## Escalation & Notification\n**Why**: Enables rapid stakeholder response and creates immutable compliance trails"
      }
    },
    {
      "id": "9bf40575-92cd-47fe-aafc-0082106e8f16",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        64
      ],
      "parameters": {
        "width": 832,
        "height": 768,
        "content": "## Intelligent Routing\n**Why**: Prioritizes critical issues for immediate action while logging minor infractions"
      }
    },
    {
      "id": "d80e388d-b6e3-445e-bc55-1da2b8c250f7",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1440,
        64
      ],
      "parameters": {
        "width": 1008,
        "height": 720,
        "content": "## Scheduled Monitoring & AI Compliance Assessment\n**Why**: OpenAI agent analyzes policy records against compliance rules to ensure continuous monitoring and scales expert-level policy interpretation "
      }
    }
  ],
  "connections": {
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Workflow Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge All Actions": {
      "main": [
        [
          {
            "node": "Final Execution Log",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Store Audit Report": {
      "main": [
        [
          {
            "node": "Merge All Actions",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Fetch Policy Records": {
      "main": [
        [
          {
            "node": "Policy Monitoring Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Escalation Logic Tool": {
      "ai_tool": [
        [
          {
            "node": "Compliance Orchestration Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Log Compliance Actions": {
      "main": [
        [
          {
            "node": "Merge All Actions",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Configuration": {
      "main": [
        [
          {
            "node": "Fetch Policy Records",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Email Notification Tool": {
      "ai_tool": [
        [
          {
            "node": "Compliance Orchestration Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Policy Monitoring Agent": {
      "main": [
        [
          {
            "node": "Route by Compliance Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Slack Notification Tool": {
      "ai_tool": [
        [
          {
            "node": "Compliance Orchestration Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Compliant Records": {
      "main": [
        [
          {
            "node": "Store Audit Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Route by Compliance Status": {
      "main": [
        [
          {
            "node": "Compliance Orchestration Agent",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Prepare Compliant Records",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model - Policy Agent": {
      "ai_languageModel": [
        [
          {
            "node": "Policy Monitoring Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Compliance Orchestration Agent": {
      "main": [
        [
          {
            "node": "Log Compliance Actions",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Model - Compliance Agent": {
      "ai_languageModel": [
        [
          {
            "node": "Compliance Orchestration Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Policy Validation Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Policy Monitoring Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}