Communication

Analyze suspicious emails with ChatGPT and create tracking tickets

18 nodes 332 153 Automatic trigger
Download

Workflow Description

This automation captures incoming emails from Gmail and Outlook, analyzes them through ChatGPT to identify suspicious content and security threats, then creates Jira tickets for tracking detected issues and documenting findings.

How it works

  1. 1.Trigger on new email received in Gmail or Outlook
  2. 2.Send email content to ChatGPT for threat analysis and risk scoring
  3. 3.Evaluate results and determine threat severity level
  4. 4.Create Jira ticket if security issues are detected
  5. 5.Document detailed findings and recommendations in notes

Use cases

  • Automatically screen incoming emails for phishing attempts, malware links, and suspicious domains
  • Reduce security team workload by automating initial threat assessment and triage

Requirements

  • Active Gmail and/or Outlook accounts with API access permissions
  • Valid OpenAI and Jira API keys configured
  • Clear risk classification criteria defined in advance

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Gmail Outlook OpenAI Jira

Details

Trigger Automatic trigger
Nodes 18
Apps 4
Views 332
Downloads 153

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (18)

/

Gmail Trigger

Gmail

#1

Microsoft Outlook Trigger

Microsoft Outlook Trigger

#2

Screenshot HTML

HTTP Request

#3

Retrieve Screenshot

HTTP Request

#4

Set Outlook Variables

Set

#5

Set Gmail Variables

Set

#6

Retrieve Headers of Email

HTTP Request

#7

Format Headers

Code

#8

Set Email Variables

Set

#9

ChatGPT Analysis

OpenAI

#10

Create Jira Ticket

Jira

#11

Rename Screenshot

Code

#12

Upload Screenshot of Email to Jira

Jira

#13

Sticky Note

Sticky Note

#14

Sticky Note1

Sticky Note

#15

Sticky Note2

Sticky Note

#16

Sticky Note3

Sticky Note

#17

Sticky Note4

Sticky Note

#18