Analyze suspicious emails with ChatGPT and create tracking tickets
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.Trigger on new email received in Gmail or Outlook
- 2.Send email content to ChatGPT for threat analysis and risk scoring
- 3.Evaluate results and determine threat severity level
- 4.Create Jira ticket if security issues are detected
- 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
Details
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (18)
Gmail Trigger
Gmail
Microsoft Outlook Trigger
Microsoft Outlook Trigger
Screenshot HTML
HTTP Request
Retrieve Screenshot
HTTP Request
Set Outlook Variables
Set
Set Gmail Variables
Set
Retrieve Headers of Email
HTTP Request
Format Headers
Code
Set Email Variables
Set
ChatGPT Analysis
OpenAI
Create Jira Ticket
Jira
Rename Screenshot
Code
Upload Screenshot of Email to Jira
Jira
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note