{
  "name": "Triage and escalate ethics disclosures with GPT-4o, policy API and Slack",
  "nodes": [
    {
      "id": "9104e76c-4fab-4034-93bd-04913c10bb88",
      "name": "Ethics Disclosure Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        256,
        400
      ]
    },
    {
      "id": "1db969f6-030b-4c5f-9b31-feb926602fab",
      "name": "Governance Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1464,
        400
      ]
    },
    {
      "id": "0f8e61e8-f770-4a5e-8877-f7b7759aa849",
      "name": "Governance Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        416,
        624
      ]
    },
    {
      "id": "611641c6-636a-467b-93ea-fffe666e124a",
      "name": "Governance Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        608,
        624
      ]
    },
    {
      "id": "273edac3-1cce-47c6-8b1e-2b042fb49273",
      "name": "Governance Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2384,
        624
      ]
    },
    {
      "id": "22dda23c-005e-448c-a60a-f98e2b0ded96",
      "name": "Ethics Monitoring Agent Tool",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        736,
        624
      ]
    },
    {
      "id": "7b804034-f646-40d0-9b8b-16c43c32bf57",
      "name": "Ethics Monitoring Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        816,
        832
      ]
    },
    {
      "id": "786e792b-510c-4032-9643-c1d0fc56d61d",
      "name": "Investigation Agent Tool",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        1024,
        624
      ]
    },
    {
      "id": "78237b88-47b8-4051-9482-0f03ad9b6ede",
      "name": "Investigation Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1104,
        832
      ]
    },
    {
      "id": "7f019cec-58c5-42f9-9224-940825f07661",
      "name": "Reporting Agent Tool",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        1312,
        624
      ]
    },
    {
      "id": "6e07ced0-0958-4e81-8476-6fb07e74bd28",
      "name": "Reporting Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1392,
        832
      ]
    },
    {
      "id": "c7e1a7e1-e5cd-4ad0-bcac-cb5474527ea9",
      "name": "Escalation Agent Tool",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        1600,
        624
      ]
    },
    {
      "id": "9eb85d69-8a5d-4f11-9019-d0bb30c62895",
      "name": "Escalation Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1680,
        832
      ]
    },
    {
      "id": "c4d28358-13bd-4da4-b296-7d4a0dafdcf6",
      "name": "Audit Trail Storage Tool",
      "type": "n8n-nodes-base.dataTableTool",
      "position": [
        1888,
        624
      ]
    },
    {
      "id": "7778af8d-49ac-4b31-a27d-c0ef4f267ee3",
      "name": "Policy Database API Tool",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        2048,
        624
      ]
    },
    {
      "id": "2b0ce6e7-1f8e-444c-b364-22fa3e574f76",
      "name": "Slack Notification Tool",
      "type": "n8n-nodes-base.slackTool",
      "position": [
        2192,
        624
      ]
    },
    {
      "id": "f746df57-7252-4122-8bd5-79f6bc56a126",
      "name": "Risk Level Router",
      "type": "n8n-nodes-base.switch",
      "position": [
        2528,
        368
      ]
    },
    {
      "id": "41d4e07f-dc8e-4ff7-b218-63ef1bd87cec",
      "name": "Prepare Critical Case Data",
      "type": "n8n-nodes-base.set",
      "position": [
        2704,
        304
      ]
    },
    {
      "id": "f64d934e-3b90-4885-acac-30910aa70fec",
      "name": "Prepare Standard Case Data",
      "type": "n8n-nodes-base.set",
      "position": [
        2960,
        496
      ]
    },
    {
      "id": "c3eb16ce-fa4d-4ecd-8f5a-99893f30b274",
      "name": "Store Critical Cases",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        2928,
        304
      ]
    },
    {
      "id": "e5484049-7ef5-49d4-b5a4-3cb58f4d6b95",
      "name": "Store Standard Cases",
      "type": "n8n-nodes-base.dataTable",
      "position": [
        3152,
        496
      ]
    },
    {
      "id": "6580819a-48f3-4f38-bffa-3389896cd65d",
      "name": "Alert Oversight Team",
      "type": "n8n-nodes-base.slack",
      "position": [
        3152,
        304
      ]
    },
    {
      "id": "a76f8aeb-ae6e-4129-9077-c5a7e9e446c1",
      "name": "Merge All Outcomes",
      "type": "n8n-nodes-base.merge",
      "position": [
        3376,
        400
      ]
    },
    {
      "id": "0ec15496-664a-4320-a021-74ab88359d7d",
      "name": "Send Response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        3600,
        400
      ]
    },
    {
      "id": "916410d6-b82d-4128-8639-e92051fb4a2c",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1328,
        -240
      ],
      "parameters": {
        "width": 352,
        "height": 416,
        "content": "## Prerequisites\n- Slack workspace and bot token\n- Ethics policy database or API endpoint\n- Database or Google Sheets for case and audit storage\n## Use Cases\n- Automated triage and escalation of emplo"
      }
    },
    {
      "id": "b5bc9884-7212-4d34-b0db-b482c74f7ce8",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        864,
        -112
      ],
      "parameters": {
        "width": 416,
        "height": 272,
        "content": "## Setup Steps\n1. Configure webhook URL in **Ethics Disclosure Webhook** with secure authentication.\n2. Set AI model credentials (OpenAI/Anthropic) in all agent and model nodes.\n3. Connect Slack crede"
      }
    },
    {
      "id": "41de5e80-12e5-41a2-93b1-8a2f7692877c",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        -128
      ],
      "parameters": {
        "width": 576,
        "height": 336,
        "content": "## How It Works\nThis workflow automates ethics disclosure intake, investigation, risk routing, and escalation for compliance officers, legal teams, and ethics oversight boards. Disclosures arrive via "
      }
    },
    {
      "id": "7d1c31b2-93bf-4e09-be82-1d6c7dd08545",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2496,
        160
      ],
      "parameters": {
        "width": 400,
        "height": 1024,
        "content": "## Risk-Level Routing\n**What** — Governance Output Parser structures results; Risk Level Router splits into critical and standard tracks.\n**Why** — Ensures proportionate response — critical cases rece"
      }
    },
    {
      "id": "6ffec648-e5c7-4920-b4de-8d51186a4adc",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1296,
        256
      ],
      "parameters": {
        "width": 1184,
        "height": 848,
        "content": "## Report & Escalate\n**What** — Reporting Agent drafts case summary; Escalation Agent determines escalation path.\n**Why** — Produces consistent, policy-aligned outputs before risk routing begins."
      }
    },
    {
      "id": "5a170724-b691-43ba-99d1-7bbf082a43cc",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        192,
        272
      ],
      "parameters": {
        "width": 1088,
        "height": 832,
        "content": "## Monitor & Investigate\n**What** — Ethics Monitoring Agent flags violations; Investigation Agent conducts structured inquiry.\n**Why** — Separates detection from investigation to ensure thorough, unbi"
      }
    },
    {
      "id": "b48174fc-d29b-4781-9401-305be6414825",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2912,
        160
      ],
      "parameters": {
        "width": 912,
        "height": 1056,
        "content": "## Store, Alert & Respond\n**What** — Critical cases alert Slack and store separately; all cases merge before final response is sent.\n**Why** — Closes the loop with oversight teams and maintains a unif"
      }
    }
  ],
  "connections": {
    "Reporting Model": {
      "ai_languageModel": [
        [
          {
            "node": "Reporting Agent Tool",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Escalation Model": {
      "ai_languageModel": [
        [
          {
            "node": "Escalation Agent Tool",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Governance Agent": {
      "main": [
        [
          {
            "node": "Risk Level Router",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Governance Model": {
      "ai_languageModel": [
        [
          {
            "node": "Governance Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Governance Memory": {
      "ai_memory": [
        [
          {
            "node": "Governance Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Risk Level Router": {
      "main": [
        [
          {
            "node": "Prepare Critical Case Data",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Prepare Critical Case Data",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Prepare Standard Case Data",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Prepare Standard Case Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge All Outcomes": {
      "main": [
        [
          {
            "node": "Send Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Investigation Model": {
      "ai_languageModel": [
        [
          {
            "node": "Investigation Agent Tool",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Alert Oversight Team": {
      "main": [
        [
          {
            "node": "Merge All Outcomes",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Reporting Agent Tool": {
      "ai_tool": [
        [
          {
            "node": "Governance Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Store Critical Cases": {
      "main": [
        [
          {
            "node": "Alert Oversight Team",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Store Standard Cases": {
      "main": [
        [
          {
            "node": "Merge All Outcomes",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Escalation Agent Tool": {
      "ai_tool": [
        [
          {
            "node": "Governance Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Ethics Monitoring Model": {
      "ai_languageModel": [
        [
          {
            "node": "Ethics Monitoring Agent Tool",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Slack Notification Tool": {
      "ai_tool": [
        [
          {
            "node": "Governance Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Audit Trail Storage Tool": {
      "ai_tool": [
        [
          {
            "node": "Governance Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Governance Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Governance Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Investigation Agent Tool": {
      "ai_tool": [
        [
          {
            "node": "Governance Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Policy Database API Tool": {
      "ai_tool": [
        [
          {
            "node": "Governance Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Ethics Disclosure Webhook": {
      "main": [
        [
          {
            "node": "Governance Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Critical Case Data": {
      "main": [
        [
          {
            "node": "Store Critical Cases",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Standard Case Data": {
      "main": [
        [
          {
            "node": "Store Standard Cases",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Ethics Monitoring Agent Tool": {
      "ai_tool": [
        [
          {
            "node": "Governance Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}