Orchestrate multi-agent compliance monitoring and audit logging with GPT-4o and Slack
Ready for 3.0What this workflow does
This AI workflow has 30 nodes and runs on a schedule (every 24 hours) (plus 1 other trigger). Along the way it connects OpenAI Chat Model, HTTP Request, Data table and Slack.
How it runs
Trigger: On a schedule (every 24 hours) (plus 1 other trigger).
- Build Scheduled Check Payload (Edit Fields (Set)): sets 3 fields: checkType, timestamp, scope
- Governance Agent (AI Agent): runs an AI agent, with model: Governance Model; 8 tools (Compliance Data Tool, Compliance Signal Agent, Audit Documentation Agent, Remediation Planning Agent…); memory: Governance Memory; output parser: Structured Output Parser
- Scheduled Governance Agent (AI Agent): runs an AI agent, with model: Scheduled Governance Model; 8 tools (Compliance Data Tool, Compliance Signal Agent, Audit Documentation Agent, Remediation Planning Agent…); memory: Governance Memory; output parser: Structured Output Parser
- Prepare Audit Log (Edit Fields (Set)): sets 8 fields: timestamp, complianceStatus, obligations…
- Prepare Scheduled Audit Log (Edit Fields (Set)): sets 8 fields: timestamp, checkType, complianceStatus…
- Immutable Audit Log (Data table): uses Data table
- Scheduled Audit Log (Data table): uses Data table
- Check Escalation Required (If): checks a condition and branches into true / false
- Merge: merges the data from its input branches
- Send Audit Report (Send Email): sends an email over SMTP
…plus 2 more steps. See the full node list below.
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 (17)
- 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 - Http Request Tool
n8n-nodes-base.httpRequestTool - Code Tool
@n8n/n8n-nodes-langchain.toolCode - Data Table Tool
n8n-nodes-base.dataTableTool - Slack Tool
n8n-nodes-base.slackTool - Edit Fields (Set)
n8n-nodes-base.set - Data table
n8n-nodes-base.dataTable - If
n8n-nodes-base.if - Send Email
n8n-nodes-base.emailSend - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Merge
n8n-nodes-base.merge - Aggregate
n8n-nodes-base.aggregate
From the author
How It Works This workflow automates enterprise compliance governance using a multi-agent AI architecture. It targets compliance officers, legal teams, and risk managers who need continuous, jurisdiction-aware monitoring without manual intervention.The…