π Prevent phishing emails with GPT-4, VirusTotal, Slack, and Google Sheets
β‘ 27 views Β· π SecOps & Security Automation
Description
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, alerting users and SOC, and logging everything for compliance and forensics. It prevents phishing attacks at the point of delivery with zero-touch automation.
How it works
- Webhook receives email
- Extract URLs, domains, keywords
- VirusTotal + GPT-4 analysis
- Risk score routing
- Quarantine / Flag / Allow
- Slack SOC alert + audit log
Risk Levels
π΄ HIGH (75β100) β Quarantine π‘ MEDIUM (40β74) β Flag + warn π’ LOW (0β39) β Allow + log
Credentials
- OpenAI API (GPT-4o)
- VirusTotal API
- Slack Webhook
- Google Sheets
- SMTP Email
Placeholders to Replace
YOUR_OPENAI_CREDENTIAL_IDYOUR_VIRUSTOTAL_API_KEYYOUR_SLACK_WEBHOOK_PATHYOUR_GOOGLE_SHEET_IDYOUR_EMAIL_GATEWAY_TOKEN
Explore More AI-Powered Email Security:
Contact us to deploy zero-trust email gateways, automated BEC response, and insider threat detection using n8n + LLMs.
π Nodes Used
Send Email, Google Sheets, HTTP Request, Webhook, AI Agent, OpenAI Chat Model
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File