Templates / Prevent phishing emails with GPT-4, VirusTotal, Slack, and Google Sheets

Prevent phishing emails with GPT-4, VirusTotal, Slack, and Google Sheets

Needs changes

by Oneclick AI Squad ✓ · 272 views · created 2025-11-07 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 15 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model and Google Sheets. It also calls virustotal.com and hooks.slack.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Extract IOCs & Normalize (Code): runs custom JavaScript code
  2. VirusTotal URL Scan (HTTP Request): calls virustotal.com (POST)
  3. GPT-4 Phishing Analysis (AI Agent): runs an AI agent, with model: GPT-4o Model
  4. Parse & Score Risk (Code): runs custom JavaScript code
  5. Risk Level Switch (Switch): routes items into branches
  6. Quarantine — HIGH (HTTP Request): calls an HTTP API (POST)
  7. Flag — MEDIUM (HTTP Request): calls an HTTP API (POST)
  8. Allow — LOW (Edit Fields (Set)): sets or maps fields
  9. Merge: merges the data from its input branches
  10. Slack SOC Alert (HTTP Request): calls hooks.slack.com (POST)

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

Services it uses

OpenAI Chat ModelGoogle Sheets

HTTP calls to: virustotal.com, hooks.slack.com

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 GPT-4 Phishing Analysis (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).

Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
GPT-4 Phishing Analysis (v1.6)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (11)

From the author

This n8n workflow automates real-time phishing detection by ingesting incoming emails, extracting indicators, analyzing content with AI (GPT-4), calculating risk scores, and taking immediate action—quarantining malicious emails, flagging suspicious ones,…

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.