Route IAM events with GPT-4o-mini, forgeLLM, Slack, email, and audit logs
Ready for 3.0What this workflow does
This AI workflow has 21 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model, HTTP Request, Slack and Gmail and 1 more. It also calls api.runpod.ai over HTTP.
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; 6 tools (Audit Log Tool, forgeLLM API Tool, Access Signal Agent, Compliance Query Tool…); memory: Conversation Memory; output parser: Governance Output Parser
- Route by Decision (Switch): routes items into 4 branches
- Prepare Approved Data (Edit Fields (Set)): sets 9 fields: event_id, user_id, resource…
- Store Revoked Events (Data table): uses Data table
- Prepare Revoked Data (Edit Fields (Set)): sets 9 fields: event_id, user_id, resource…
- Store Escalated Events (Data table): uses Data table
- Prepare Escalated Data (Edit Fields (Set)): sets 10 fields: event_id, user_id, resource…
- Store Approved Events (Data table): uses Data table
- Return Response (Respond to Webhook): sends the response back to the webhook caller
Services it uses
HTTP calls to: api.runpod.ai
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 (14)
- 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 - AI Agent Tool
@n8n/n8n-nodes-langchain.agentTool - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Http Request Tool
n8n-nodes-base.httpRequestTool - Slack Tool
n8n-nodes-base.slackTool - Gmail Tool
n8n-nodes-base.gmailTool - Data Table Tool
n8n-nodes-base.dataTableTool - Switch
n8n-nodes-base.switch - Data table
n8n-nodes-base.dataTable - Respond to Webhook
n8n-nodes-base.respondToWebhook - Edit Fields (Set)
n8n-nodes-base.set
From the author
How It Works This workflow automates Identity and Access Management (IAM) event governance using an AI agent, targeting security operations teams, compliance officers, and IT governance teams managing cloud or enterprise IAM systems. The core problem it…