Templates / Monitor compliance with GPT-4 analysis of system logs and generate audit reports

Monitor compliance with GPT-4 analysis of system logs and generate audit reports

Ready for 3.0

by Cheng Siong Chin ✓ · 186 views · created 2025-12-14 · SecOps, AI Summarization

Ready 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 02:00). Along the way it connects OpenAI Chat Model and Gmail.

How it runs

Trigger: On a schedule (every day at 02:00).

  1. Workflow Configuration (Edit Fields (Set)): sets 8 fields: serverLogsUrl, apiGatewayLogsUrl, hrSystemUrl…
  2. Pull Server Logs (HTTP Request): calls an HTTP API
  3. Pull API Gateway Logs (HTTP Request): calls an HTTP API
  4. Pull HR System Data (HTTP Request): calls an HTTP API
  5. Pull Finance System Data (HTTP Request): calls an HTTP API
  6. Combine All Logs (Aggregate): combines items into one
  7. Normalize Log Data (Edit Fields (Set)): sets 4 fields: timestamp, source, logData…
  8. AI Compliance Classifier (AI Agent): runs an AI agent, with model: OpenAI GPT-; output parser: Structured Violation Output
  9. Check for Violations (If): checks a condition and branches into true / false
  10. Archive Evidence to Storage (HTTP Request): calls an HTTP API (POST)

…plus 4 more steps. See the full node list below.

Services it uses

OpenAI Chat ModelGmail

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)

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…

Excerpt from Cheng Siong Chin's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.