Monitor compliance with GPT-4 analysis of system logs and generate audit reports
Ready for 3.0What this workflow does
This AI workflow has 17 nodes and runs on a schedule (every day at 02:00). Along the way it connects OpenAI Chat Model and Gmail.
How it runs
Trigger: On a schedule (every day at 02:00).
- Workflow Configuration (Edit Fields (Set)): sets 8 fields: serverLogsUrl, apiGatewayLogsUrl, hrSystemUrl…
- Pull Server Logs (HTTP Request): calls an HTTP API
- Pull API Gateway Logs (HTTP Request): calls an HTTP API
- Pull HR System Data (HTTP Request): calls an HTTP API
- Pull Finance System Data (HTTP Request): calls an HTTP API
- Combine All Logs (Aggregate): combines items into one
- Normalize Log Data (Edit Fields (Set)): sets 4 fields: timestamp, source, logData…
- AI Compliance Classifier (AI Agent): runs an AI agent, with model: OpenAI GPT-; output parser: Structured Violation Output
- Check for Violations (If): checks a condition and branches into true / false
- Archive Evidence to Storage (HTTP Request): calls an HTTP API (POST)
…plus 4 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 (10)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Aggregate
n8n-nodes-base.aggregate - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Gmail
n8n-nodes-base.gmail
From the author
How It Works This solution centralizes communication data from Slack, Microsoft Teams, Gmail, and GitHub into a unified AI-powered analysis and documentation workflow for teams managing distributed knowledge. Manual aggregation across multiple tools is…