Get Started
Screenshot of n8n workflow
PRO TEMPLATE
Automate Email Phishing Tickets in Jira
5
Views
0
Downloads
25
Nodes
Download Template
Pro required
Preview Template
Utility Rating
8 / 10
Business Function
IT
Automation Orchestrator
n8n
Integrations
OpenAI
Microsoft Outlook
Jira Software Cloud
HTML/CSS to Image
Gmail
Trigger Type
Approx setup time ≈ 65 min
Need help setting up this template?
Ask in our Futurise Pro community
About
Community
Courses
Events
Members
Templates

How to Automate Email Phishing Tickets in Jira?

Leon Petrou
PRO TEMPLATE
Automate Email Phishing Tickets in Jira
5
Views
0
Downloads
25
Nodes
Download Template
Pro required
Preview Template
Utility Rating
8 / 10
Business Function
IT
Automation Orchestrator
n8n
Integrations
OpenAI
Microsoft Outlook
Jira Software Cloud
HTML/CSS to Image
Gmail
Trigger Type
Approximate setup time ≈ 65 minutes
Need help setting up this template?
Ask in our Futurise Pro community

Description

Protect your inbox and speed up phishing review with an email triage flow that watches Gmail and Outlook, uses AI to judge risk, and opens Jira tickets with proof. It fits IT and security teams that need fast, consistent handling of suspicious messages.

New emails arrive through two triggers that check Gmail and Outlook every minute. Outlook headers are pulled from Microsoft Graph, then a code step formats them for clear reading. The email body is turned into a text file and also rendered as an image using an HTML to image service. Both the HTML body and the headers go to OpenAI for analysis. A decision step routes results into two Jira paths. Malicious and benign reports are logged as separate issue types, and the workflow uploads the screenshot and the body file to the ticket. The Jira issue ID is tracked to keep all uploads linked.

Setup needs accounts for Gmail, Microsoft Outlook, Jira, OpenAI, and the HTML to image service. Expect review time per email to drop from many minutes to just a few, with cleaner evidence for your records. Use it for a phishing mailbox, for employee reports, or for a managed service team that supports multiple domains.

Copy link

Tools Required

What this workflow does?

  • Real time email capture from Gmail and Microsoft Outlook every minute
  • Retrieves and formats Outlook internet message headers for clear analysis
  • Builds a plain text file of the email body for easy reading and search
  • Creates a visual screenshot of the HTML email using an HTML to image service
  • Uses OpenAI to analyze HTML and headers for phishing risk with JSON output
  • Routes results into malicious or benign paths using a decision step
  • Creates Jira issues in the right project and issue type with rich descriptions
  • Uploads both the screenshot and the text body file to the Jira ticket and tracks the issue ID

What are the benefits?

  • Reduce manual review from 15 minutes to 2 minutes per email
  • Automate up to 80 percent of phishing triage steps
  • Improve evidence quality by attaching clear text and images
  • Connect Gmail and Outlook to Jira in one flow
  • Handle up to 10 times more reports without extra staff

How to set this up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Gmail, Microsoft Outlook, Jira Software Cloud, OpenAI and HTML/CSS to Image. See the Tools Required section above for links to create accounts with these services.
  3. Open the Gmail Trigger node, choose Credential to connect with, click Create new credential, and follow the on screen steps to sign in with Gmail OAuth2.
  4. Open the Microsoft Outlook Trigger node, choose Credential to connect with, click Create new credential, and complete the Outlook OAuth2 sign in. Ensure your account has permission to read messages.
  5. Open the Analyze Email with ChatGPT node, create a new OpenAI credential, and paste your API key from your OpenAI account API page. Name the credential clearly.
  6. Open the Jira ticket nodes, create a new Jira Software Cloud credential, and enter your site domain, email, and API token from your Atlassian account. Test the connection.
  7. Open the Screenshot HTML and Retrieve Screenshot nodes. Create a new Basic Auth credential for HTML/CSS to Image using your hcti.io username and API key from the dashboard.
  8. In the Gmail Trigger and Outlook Trigger nodes, keep polling every minute or adjust to your needs. Optionally add filters to limit messages you want to scan.
  9. Confirm the Retrieve Headers step returns internet message headers. If empty, check Outlook permissions and that the Prefer header is set to text.
  10. In the Jira nodes, pick the correct project and issue type. Update summary and description fields if your team needs different wording.
  11. Review the prompt in the Analyze Email with ChatGPT node. Adjust risk rules or output fields if your team uses a specific format.
  12. Send a test email to Gmail and another to Outlook. Run the workflow and check that the screenshot, text file, and Jira issue are created. Confirm the branch matches the AI decision.
  13. If the screenshot step fails, verify the HTML body variable and your HTML/CSS to Image credentials. If Jira uploads fail, check project permissions and attachment size limits. If AI calls fail, confirm your OpenAI key and model settings.

Need help or want to customize this?

Similar Templates

n8n
IT
Monitor SSH Email Server Health Alerts
Keep an eye on your server without logging in all the time. This setup checks CPU, RAM, and Disk every 15 minutes and sends an email if any one of them goes past a safe limit. It suits small IT teams, solo founders, and anyone running a VPS or small cluster. A schedule starts the checks on a timer. Three SSH commands run on the server to read CPU use, memory load, and disk fill. The results are joined into one record with a merge step using a simple SQL query. A check step compares each value to a threshold that you can change. If any metric meets or exceeds the limit, an email gets sent with clean numbers rounded to two decimals. The alert shows CPU, RAM, and Disk in one message, so you know what is wrong in seconds. All you need is SSH access to the server and an SMTP account to send email. Update the email addresses in the send step and set your own limits in the check step. Expect fewer manual checks, faster response to spikes, and less downtime. Good fits include production VPS, staging boxes, and budget servers where early alerts avoid overload.
14 views
view
n8n
IT
Automate SaaS Alerts Security Report Emailing
Get a clean login activity report in your inbox on demand. A simple form collects the requester email, then the system pulls recent authentication events, removes duplicates, and sends a CSV file by email. Ideal for IT teams and MSPs that need quick sign in reviews without digging through logs. Here is how it works. A form trigger captures email and date values. The flow then calls three SaaS Alerts endpoints for login success, OAuth authentication, and Office 365 shell activity. All events are merged, only the useful fields are kept, and duplicate IP addresses are removed. The data is turned into a CSV, encoded, and sent with SMTP2GO as an attachment. This gives a ready to share report in a standard format. Large pulls are supported with a size setting of up to ten thousand events per call. To set this up, you need a SaaS Alerts API key and SMTP2GO access. Map the form email field and confirm the header includes your API key. After a quick test submit, you should receive a CSV with one row per unique IP and key user details. Use it for daily security checks, client summaries, or fast audits during access reviews.
12 views
view
n8n
IT
Automate n8n Backups to Google Drive with Email and Discord Alerts
Protect your automation work by saving every workflow to Google Drive on a set schedule and send status alerts to email and chat. Great for teams that need safe copies, quick restore, and clear change history. Here is how it runs. A scheduler starts daily and a second trigger lets other workflows call it when needed. The flow pulls all workflows from the platform API, then loops through them in batches. It checks a Google Drive folder first. If the folder is empty, it treats the run as the first backup and uploads files. If files already exist, it updates them by name and id. Two small code steps turn each workflow into a JSON file. File names follow a clear pattern using the workflow name and id. After processing, it sends a summary email and a Discord message. A limit node can cap how many items run in one go for safety. Setup is simple. Connect Google Drive, Gmail, Discord, and the platform API as credentials in n8n Cloud. Paste your target Drive folder link into the Parameters node and set your recipient email address. Adjust the schedule to fit your backup window. Expect steady backups, easy audits, and faster recovery. This fits IT teams, operations leads, and anyone who needs nightly snapshots or on demand backups.
15 views
view
See More Templates

These templates were sourced from publicly available materials across the web, including n8n’s official website, YouTube and public GitHub repositories. We have consolidated and categorized them for easy search and filtering, and supplemented them with links to integrations, step-by-step setup instructions, and personalized support in the Futurise community. Content in this library is provided for education, evaluation and internal use. Users are responsible for checking and complying with the license terms with the author of the templates before commercial use or redistribution.Where an original author was identified, attribution has been provided. Some templates did not include author information. If you know who created this template, please let us know so we can add the appropriate credit and reference link. If you are the author and would like this template removed from the library, email us at info@futurise.com and we will remove it promptly.