Templates / Review security architecture risks and route alerts with OpenAI GPT-4.1

Review security architecture risks and route alerts with OpenAI GPT-4.1

Needs changes

by Oneclick AI Squad ✓ · 3 views · created 2026-08-17 · SecOps, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 17 nodes and runs on a schedule (cron 0 7 * * 1) (plus 1 other trigger). Along the way it connects OpenAI Chat Model.

How it runs

Trigger: On a schedule (cron 0 7 * * 1) (plus 1 other trigger).

  1. Set Configuration Parameters (Edit Fields (Set)): sets 5 fields: reviewFrameworks, criticalCategories, criticalRiskScoreThreshold…
  2. Extract & Normalize Architecture Inputs (Code): runs custom JavaScript code
  3. Security Architecture Review Agent (AI Agent): runs an AI agent, with model: OpenAI GPT-4.1 Review Model
  4. Parse AI Findings & Compute Risk Score (Code): runs custom JavaScript code
  5. Findings Critic & Validator Agent (AI Agent): runs an AI agent, with model: OpenAI GPT-4.1 Critic Model
  6. Parse Critic Output & Reconcile Findings (Code): runs custom JavaScript code
  7. If: checks a condition and branches into true / false
  8. Build Security Review Summary Report (Code): runs custom JavaScript code
  9. No Findings - Architecture Passes Review (Edit Fields (Set)): sets 1 field: note
  10. If: checks a condition and branches into true / false

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

Services it uses

OpenAI Chat Model

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Security Architecture Review Agent (v1.6), Findings Critic & Validator Agent (v1.6): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Security Architecture Review Agent (v1.6), Findings Critic & Validator Agent (v1.6)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (8)

From the author

Quick Overview This workflow runs on a weekly schedule or manual trigger, consolidates architecture inputs into a single context, and uses OpenAI GPT-4.1 to produce a structured security architecture review with a risk score and findings, then routes the…

Excerpt from Oneclick AI Squad'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.