Monitor employee policy compliance with GPT-4, Slack, and email alerts
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This AI workflow has 17 nodes and runs on a schedule (every day at 09:00). Along the way it connects OpenAI Chat Model, Slack and Send Email.
How it runs
Trigger: On a schedule (every day at 09:00).
- Workflow Configuration (Edit Fields (Set)): sets 7 fields: policyTableName, complianceTableName, auditTableName…
- Fetch Policy Records (Data table): get
- Policy Monitoring Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Policy Agent; output parser: Policy Validation Output Parser
- Route by Compliance Status (Switch): routes items into 2 branches
- Compliance Orchestration Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Compliance Agent; 3 tools (Escalation Logic Tool, Email Notification Tool, Slack Notification Tool)
- Prepare Compliant Records (Edit Fields (Set)): sets 3 fields: auditStatus, auditDate, auditType
- Log Compliance Actions (Data table): create or update
- Store Audit Report (Data table): create or update
- Merge: merges the data from its input branches
- Final Execution Log (Data table): create or update
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 (11)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Data table
n8n-nodes-base.dataTable - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Switch
n8n-nodes-base.switch - Slack Tool
n8n-nodes-base.slackTool - Email Send Tool
n8n-nodes-base.emailSendTool - Code Tool
@n8n/n8n-nodes-langchain.toolCode - Merge
n8n-nodes-base.merge
From the author
How It Works This workflow automates enterprise policy compliance monitoring using AI agents to ensure organizational adherence to regulatory and internal policies. Designed for compliance officers, legal teams, and risk managers, it solves the challenge of…