πŸ”’ Monitor authentication IPs from SaaS alerts & email reports via SMTP2Go

⚑ 1,086 views Β· πŸ”’ SecOps & Security Automation

Description

Collect and Email Authentication IP Addresses from SaaS Alerts (Last 24 Hours)

Description

This n8n workflow automates the process of collecting sign-in IP addresses from SaaS Alerts over the past 24 hours and emailing the results using SMTP2Go. Designed for security teams, IT administrators, and compliance officers, this workflow helps monitor user authentication activity, detect unusual sign-ins, and respond to potential security threats in real time.

By automating data collection and email alerts, organizations can proactively track login patterns, ensure compliance with security policies, and mitigate risks associated with unauthorized access.

Use Case

This workflow is ideal for businesses and IT teams that need to:

Pre-Conditions & Requirements

Before using this workflow, ensure you have:

Setup Instructions

  1. Configure SaaS Alerts API

    • Obtain API from the SaaS Alerts Platform under the Settings menu.
  2. Set Up SMTP2Go for Email Alerts

    • Create an SMTP2Go account if you don’t have one.
    • Generate a SMTP2Go API key
    • Verify that your sending email address has been configured and verified.
    • Define recipient email addresses for security alerts.
  3. Customize the Workflow

    • Modify filtering rules to track specific users, IP ranges, or flagged login attempts.
    • Adjust email content to include relevant details for your team.
  4. Test & Deploy

    • Run the workflow manually to verify data retrieval and email notifications.
    • Schedule the workflow to run daily for automated monitoring.

Workflow Steps

  1. Trigger – Starts manually or on a scheduled interval (e.g., every 24 hours).
  2. Fetch Authentication Logs – Retrieves sign-in IPs from SaaS Alerts or a custom API.
  3. Filter & Process Data – Extracts relevant login attempts based on defined criteria.
  4. Format Data for Reporting – Structures the data for readability in an email alert.
  5. Send Email Notification via SMTP2Go – Delivers the security report to designated recipients.

Customization Options

Keywords

n8n security automation, authentication monitoring, login IP tracking, SMTP2Go email alerts, SaaS Alerts workflow, IT security automation, login anomaly detection

πŸ”— Nodes Used

HTTP Request, Convert to/from binary data, n8n Form Trigger, Convert to File

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup