Automated Phishing Email Detection and Jira Ticket Creation
detail.loadingPreview
This workflow automatically detects phishing emails via Gmail, analyzes them with ChatGPT, and creates detailed Jira tickets with screenshots for investigation.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This n8n workflow is designed to automate the process of identifying and handling potential phishing emails received in a Gmail inbox. It leverages the Gmail Trigger node to monitor for new emails. Upon detection, it extracts crucial email details like subject, recipient, and body using the Set Gmail Variables node. The workflow then proceeds to capture an HTML screenshot of the email using the Screenshot HTML node and analyzes its content and headers with ChatGPT Analysis to determine if it exhibits phishing characteristics. Finally, if a phishing attempt is suspected, it creates a detailed ticket in Jira via the Create Jira Ticket node, including the ChatGPT analysis and attaches the email screenshot using the Upload Screenshot of Email to Jira node.
Key Features
- Real-time email monitoring with Gmail Trigger.
- Automatic extraction of email components (subject, recipient, body, headers).
- HTML email to image screenshot generation.
- AI-powered phishing detection and analysis via ChatGPT.
- Automated Jira ticket creation with comprehensive details.
- Attachment of email screenshots to Jira tickets.
How To Use
- Configure Gmail Trigger: Set up the Gmail Trigger node with your Gmail account credentials to monitor for incoming emails.
- Configure Outlook Trigger (Optional/Disabled): The workflow includes a disabled Microsoft Outlook Trigger node; if needed, enable and configure it for Outlook email monitoring.
- Set Email Variables: Ensure the Set Gmail Variables (or Set Outlook Variables if using Outlook) node correctly maps the extracted email data to the required variables.
- Configure Screenshot HTML: Set up the Screenshot HTML node with your hcti.io credentials to capture email body as an image. Ensure the
htmlparameter is correctly referencing the email's HTML body. - Configure Retrieve Screenshot: This node is used to get the generated image from hcti.io.
- Configure ChatGPT Analysis: Connect your OpenAI account and input the prompt for ChatGPT Analysis, ensuring it receives the email headers and text body for analysis. Adjust the prompt as needed for your phishing detection criteria.
- Configure Jira Nodes: Set up your Jira credentials and configure the Create Jira Ticket node with your Jira project, issue type, and desired ticket summary and description fields, referencing the variables set earlier.
- Configure Upload Screenshot: Set up the Upload Screenshot of Email to Jira node to link the captured screenshot to the newly created Jira ticket.
Apps Used
Workflow JSON
{
"id": "9c40f0d4-0cfa-4f11-875d-8abe30923b8d",
"name": "Automated Phishing Email Detection and Jira Ticket Creation",
"nodes": 0,
"category": "Email Automation",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 9c40f0d4-0cfa...
About the Author
DevOps_Master_X
Infrastructure Expert
Specializing in CI/CD pipelines, Docker, and Kubernetes automations.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Automated Email Phishing Detection and Jira Ticketing
Detect potential phishing emails using Gmail or Outlook triggers and OpenAI analysis, then automatically create Jira tickets with detailed findings. This workflow enhances security by streamlining the reporting and investigation of suspicious emails.
Microsoft Outlook AI Email Assistant for Automated Categorization
Automate the categorization of your Outlook emails using AI. This workflow fetches unread, uncategorized emails, uses OpenAI to analyze and assign categories, and updates the email, streamlining inbox management.
Automate Gmail PDF Attachments to Google Drive with OpenAI
Automatically send specific PDF attachments from Gmail to Google Drive, leveraging OpenAI for content filtering. This workflow uses the 'On email received' node to trigger, 'OpenAI' to analyze PDF content, and 'Google Drive' to store matched files.