Automated Email Analysis and Jira Ticketing
detail.loadingPreview
Automates the analysis of incoming emails from Gmail and Outlook, classifies them for phishing risk using AI, and creates Jira tickets with relevant attachments.
About This Workflow
This workflow automates the process of monitoring, analyzing, and ticketing emails from both Gmail and Microsoft Outlook. It leverages AI (ChatGPT) to determine if an email is potentially malicious (phishing) or benign. Based on the analysis, it creates corresponding tickets in Jira, attaching relevant email content like screenshots and plain text bodies for detailed investigation.
Key Features
- Multi-Platform Email Integration: Connects to both Gmail and Microsoft Outlook to capture incoming emails.
- Real-time Monitoring: Triggers checks for new emails at regular intervals (every minute).
- AI-Powered Phishing Detection: Utilizes ChatGPT to analyze email content and headers for malicious intent.
- Structured JSON Output: Ensures AI analysis is in a parseable JSON format.
- Jira Ticket Creation: Automatically generates Jira tickets for both malicious and benign emails.
- Rich Ticket Content: Includes email subject, recipient, AI summary, and screenshots in Jira tickets.
- Visual Email Representation: Captures screenshots of email HTML using hcti.io for visual analysis.
- Text Body Attachment: Attaches the plain text version of the email body to Jira tickets.
- Configurable Credentials: Supports secure credential management for email and Jira services.
How To Use
- Configure Email Triggers: Set up credentials for your Gmail (
Gmail Trigger) and Microsoft Outlook (Microsoft Outlook Trigger). Ensure the Outlook trigger is enabled if needed. - Set Variables: The
Set Gmail VariablesandSet Outlook Variablesnodes extract key email data. TheSet Email Variablesnode acts as a central point for this data, especially for the email body. - Generate Email Screenshot: The
Convert Email Body to Filenode converts the email body to text, andScreenshot HTMLsends this tohcti.ioto generate a visual screenshot of the email's HTML.Retrieve Screenshotfetches this image. - AI Analysis: The
Analyze Email with ChatGPTnode processes the email body and headers, classifying it as malicious or benign. - Conditional Jira Ticketing: The
Check if Maliciousnode branches the workflow based on the AI's output.- If malicious,
Create Potentially Malicious Ticketis executed. - If benign,
Create Potentially Benign Ticketis executed.
- If malicious,
- Jira Attachments: The workflow attaches the email screenshot (
Upload Screenshot of Email to Jira) and the plain text email body (Upload Email Body to Jira) to the created Jira ticket. - Credential Management: Ensure all necessary credentials for Gmail, Outlook, OpenAI, and Jira are correctly configured in n8n.
Apps Used
Workflow JSON
{
"id": "cfff672c-54af-4726-908e-97c6c4c0df89",
"name": "Automated Email Analysis and Jira Ticketing",
"nodes": 28,
"category": "Security",
"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: cfff672c-54af...
About the Author
Crypto_Watcher
Web3 Developer
Automated trading bots and blockchain monitoring workflows.
Statistics
Related Workflows
Discover more workflows you might like
Email Analysis with Sublime Security
Automate email ingestion, attachment analysis via Sublime Security, and report findings to Slack.
Automated Phishing Email Analysis and Jira Ticketing
Automates the process of detecting, analyzing, and reporting phishing emails from Gmail and Outlook to Jira.
Email Analysis with Sublime Security
Automate email ingestion, analyze attachments with Sublime Security, and report findings to Slack.