Triage and escalate ethics disclosures with GPT-4o, policy API and Slack
Ready for 3.0What this workflow does
This AI workflow has 24 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model, Data table, HTTP Request and Slack.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Governance Agent (AI Agent): runs an AI agent, with model: Governance Model; 7 tools (Reporting Agent Tool, Escalation Agent Tool, Slack Notification Tool, Audit Trail Storage Tool…); memory: Governance Memory; output parser: Governance Output Parser
- Risk Level Router (Switch): routes items into 4 branches
- Prepare Critical Case Data (Edit Fields (Set)): sets 9 fields: caseId, timestamp, riskLevel…
- Prepare Standard Case Data (Edit Fields (Set)): sets 7 fields: caseId, timestamp, riskLevel…
- Store Critical Cases (Data table): uses Data table
- Store Standard Cases (Data table): uses Data table
- Alert Oversight Team (Slack): uses Slack
- Merge: merges the data from its input branches
- Send Response (Respond to Webhook): sends the response back to the webhook caller
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (15)
- Webhook
n8n-nodes-base.webhook - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent Tool
@n8n/n8n-nodes-langchain.agentTool - Data Table Tool
n8n-nodes-base.dataTableTool - Http Request Tool
n8n-nodes-base.httpRequestTool - Slack Tool
n8n-nodes-base.slackTool - Switch
n8n-nodes-base.switch - Edit Fields (Set)
n8n-nodes-base.set - Data table
n8n-nodes-base.dataTable - Slack
n8n-nodes-base.slack - Merge
n8n-nodes-base.merge - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
How It Works This workflow automates ethics disclosure intake, investigation, risk routing, and escalation for compliance officers, legal teams, and ethics oversight boards. Disclosures arrive via webhook and are processed by a central Governance Agent with…