Automate privacy risk detection, approvals, and audit reports with GPT-4o, Slack, Gmail, and Google Sheets
Ready for 3.0What this workflow does
This AI workflow has 23 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects OpenAI Chat Model, HTTP Request, Data table and Slack Hitl and 2 more.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Privacy Governance Agent (AI Agent): runs an AI agent, with model: Governance Agent Model; 5 tools (Audit Log Tool, Approval History Tool, Approval Request Tool, Data Privacy Agent Tool…); output parser: Compliance Output Parser
- Route by Risk Level (Switch): routes items into 4 branches
- Prepare Critical Alert (Edit Fields (Set)): sets 6 fields: alertType, priority, message…
- Prepare High Risk Alert (Edit Fields (Set)): sets 6 fields: alertType, priority, message…
- Prepare Audit Record (Edit Fields (Set)): sets 9 fields: eventId, timestamp, complianceStatus…
- Send Critical Alert (Slack): uses Slack
- Send High Risk Alert (Slack): uses Slack
- Store Compliance Record (Data table): uses Data table
- Prepare Compliance Report (Edit Fields (Set)): sets 8 fields: reportTitle, executiveSummary, detailedFindings…
- Send Compliance Report (Gmail): uses Gmail
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 - Schedule Trigger
n8n-nodes-base.scheduleTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent Tool
@n8n/n8n-nodes-langchain.agentTool - Http Request Tool
n8n-nodes-base.httpRequestTool - Data Table Tool
n8n-nodes-base.dataTableTool - Slack Hitl Tool
n8n-nodes-base.slackHitlTool - Slack Tool
n8n-nodes-base.slackTool - Switch
n8n-nodes-base.switch - Edit Fields (Set)
n8n-nodes-base.set - Slack
n8n-nodes-base.slack - Data table
n8n-nodes-base.dataTable - Gmail
n8n-nodes-base.gmail
From the author
How It Works This workflow automates data privacy compliance governance for privacy officers, legal operations teams, and data protection leads. It eliminates the manual effort of monitoring data usage events, classifying privacy risks, routing approval…