Audit AI decisions and route risks with GPT-4.1-mini, Slack, and email reports
Ready for 3.0What this workflow does
This AI workflow has 22 nodes and runs on a schedule (every hour). Along the way it connects OpenAI Chat Model and Slack.
How it runs
Trigger: On a schedule (every hour).
- Workflow Configuration (Edit Fields (Set)): sets 4 fields: slackChannelId, governanceEmail, riskThresholdHigh…
- Simulate Decision Request (Edit Fields (Set)): sets 7 fields: decisionId, decisionType, requestedAmount…
- Decision Trace Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Decision Trace; output parser: Decision Metadata Parser
- Governance Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Governance; 2 tools (Risk Assessment Agent Tool, Compliance Checker Agent Tool); output parser: Governance Decision Parser
- Route by Risk Level (Switch): routes items into 2 branches
- Store Decision Audit Trail (Data table): uses Data table
- Store High Risk Decisions (Data table): uses Data table
- Notify High Risk Alert (Slack): uses Slack
- Send Governance Report (Send Email): sends an email over SMTP
- Merge: merges the data from its input branches
…plus 1 more step. 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 (11)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - 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 - Switch
n8n-nodes-base.switch - Data table
n8n-nodes-base.dataTable - Slack
n8n-nodes-base.slack - Send Email
n8n-nodes-base.emailSend - Merge
n8n-nodes-base.merge
From the author
How It Works This workflow automates AI decision governance by tracing, assessing, and auditing automated decisions for risk and compliance. Designed for AI governance officers, compliance teams, and regulated industries, it addresses the critical need for…