Get Started
Screenshot of n8n workflow
FREE TEMPLATE
Automate SaaS Alerts Security Report Emailing
12
Views
0
Downloads
14
Nodes
Download Template
Free
Preview Template
Utility Rating
6 / 10
Business Function
IT
Automation Orchestrator
n8n
Integrations
SMTP2GO
SaaS Alerts
Trigger Type
Webhook
Approx setup time ≈ 35 min
Need help setting up this template?
Ask in our free Futurise community
About
Community
Courses
Events
Members
Templates

How to Automate SaaS Alerts Security Report Emailing?

Leon Petrou
FREE TEMPLATE
Automate SaaS Alerts Security Report Emailing
12
Views
0
Downloads
14
Nodes
Download Template
Free
Preview Template
Utility Rating
6 / 10
Business Function
IT
Automation Orchestrator
n8n
Integrations
SMTP2GO
SaaS Alerts
Trigger Type
Webhook
Approximate setup time ≈ 35 minutes
Need help setting up this template?
Ask in our free Futurise community

Description

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.

Copy link

Tools Required

SMTP2GO
Sign up
Free plan: $0 / mo, 1,000 emails / mo (200/day limit)
SaaS Alerts
Sign up
n8n
Sign up
$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

What this workflow does?

  • Form based trigger collects requester email and date window.
  • Three API calls to SaaS Alerts gather login success, OAuth, and Office 365 shell events.
  • Merge step combines all events into one data stream.
  • Field filter keeps only user, customer, IP, and location details for clarity.
  • Duplicate removal ensures one row per IP address.
  • CSV conversion creates a structured file with headers.
  • Base64 encoding prepares the file for email attachment.
  • SMTP2GO sends a final email with the CSV to the address from the form.

What are the benefits?

  • Reduce manual log pulls from hours to minutes
  • Unify three authentication event sources into one report
  • Eliminate duplicate IP rows for cleaner analysis
  • Handle up to ten thousand events per fetch
  • Deliver a standard CSV that any team can read

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 SaaS Alerts and SMTP2GO. See the Tools Required section above for links to create accounts with these services.
  3. Open the Authentication Request Form node. Add an Email field and, if needed, a Date Range field. Copy the test URL and submit a sample to generate initial data.
  4. Open Set Date and Form Variables. Confirm it maps the Email field and sets the Last 24 Hours value used by the API calls.
  5. For each SaaS Alerts HTTP Request node, confirm the URL includes eventType and start parameters, and that the header includes api_key mapped to your secret value.
  6. In the n8n credentials manager, double click the SMTP2GO email node, then on the 'Credential to connect with' dropdown, click 'Create new credential', then follow the on screen instructions to integrate that service.
  7. Open Filter IP Information. Review the selected fields such as customer name, user name, IP, and location. Keep only fields you need for reporting.
  8. Check Remove Duplicate IPs and ensure it compares by the ip field to prevent repeated rows.
  9. Open Convert to CSV and verify header row is enabled so columns are labeled.
  10. Open Convert CSV to Base64 and confirm encoding is set to base64.
  11. Open the SMTP2GO HTTP Request node. Confirm recipient uses the Email from the Set Date and Form Variables node and the attachment pulls the generated file.
  12. Run a test by submitting the form. Check your inbox for the CSV. If no email arrives, review SMTP2GO activity logs, verify your API key, and confirm the sender address is allowed.

Need help or want to customize this?

Similar Templates

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.