Detect and route gameplay security anomalies with GPT-4o, Slack and Sheets
Ready for 3.0What this workflow does
This AI workflow has 26 nodes and runs on a schedule (every 15 minutes). Along the way it connects OpenAI Chat Model, Slack and Google Sheets.
How it runs
Trigger: On a schedule (every 15 minutes).
- Workflow Configuration (Edit Fields (Set)): sets 7 fields: criticalSeverityThreshold, highSeverityThreshold, mediumSeverityThreshold…
- Generate Gameplay Anomaly Data (Code): runs custom JavaScript code
- Behavior Validation Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Behavior Validation; output parser: Structured Output Parser
- Route by Severity (Switch): routes items into 3 branches
- Governance Agent (AI Agent): runs an AI agent, with model: OpenAI Model - Governance; 3 tools (Slack Tool, Google Sheets Tool, Historical Pattern Analysis Tool); output parser: Structured Output Parser
- Prepare Low Severity Data (Edit Fields (Set)): sets 3 fields: actionStatus, loggedAt, requiresAction
- Route by Action Type (Switch): routes items into 3 branches
- Log Low Severity to Sheets (Google Sheets): append or update
- Prepare Human Review Data (Edit Fields (Set)): sets 3 fields: reviewStatus, reviewRequestedAt, reviewType
- Prepare Auto-Action Data (Edit Fields (Set)): sets 3 fields: actionStatus, executedAt, actionType
…plus 8 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 (15)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent - Switch
n8n-nodes-base.switch - Slack Tool
n8n-nodes-base.slackTool - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - Code Tool
@n8n/n8n-nodes-langchain.toolCode - Wait
n8n-nodes-base.wait - Slack
n8n-nodes-base.slack - Send Email
n8n-nodes-base.emailSend - Merge
n8n-nodes-base.merge - Google Sheets
n8n-nodes-base.googleSheets
From the author
How It Works This workflow automates cybersecurity incident detection and response for security operations centers (SOCs) managing constant threat landscapes. Designed for security analysts, IT operations teams, and CISOs, it solves the challenge of manually…