Templates / Analyze suspicious email contents with ChatGPT Vision

Analyze suspicious email contents with ChatGPT Vision

Ready for 3.0

by Angel Menendez ✓ · 4,825 views · created 2024-12-20 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 13 nodes and runs on Gmail events (plus 1 other trigger). Along the way it connects Gmail, Microsoft Outlook, OpenAI and Jira Software. It also calls hcti.io over HTTP.

How it runs

Trigger: On Gmail events (plus 1 other trigger).

  1. Set Gmail Variables (Edit Fields (Set)): sets 5 fields: htmlBody, headers, subject…
  2. Retrieve Headers of Email (HTTP Request): calls an HTTP API
  3. Set Email Variables (Edit Fields (Set)): sets or maps fields
  4. Format Headers (Code): runs custom JavaScript code
  5. Screenshot HTML (HTTP Request): calls hcti.io (POST)
  6. Set Outlook Variables (Edit Fields (Set)): sets 5 fields: htmlBody, headers, subject…
  7. Retrieve Screenshot (HTTP Request): calls an HTTP API
  8. ChatGPT Analysis (OpenAI): analyze (image)
  9. Create Jira Ticket (Jira Software): uses Jira Software
  10. Rename Screenshot (Code): runs custom JavaScript code

…plus 1 more step. See the full node list below.

Services it uses

GmailMicrosoft OutlookOpenAIJira Software

HTTP calls to: hcti.io

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.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Gmail Trigger).

Nodes used (7)

From the author

Phishing Email Detection and Reporting with n8n Who is this for? This workflow is designed for IT teams, security professionals, and managed service providers (MSPs) looking to automate the process of detecting, analyzing, and reporting phishing emails. What…

Excerpt from Angel Menendez'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.