Templates / Suspicious login detection

Suspicious login detection

Ready for 3.0

by n8n Team ✓ · 7,406 views · created 2023-11-27 · SecOps

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 33 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Postgres, Gmail and Slack. It also calls api.userparser.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).

  1. Extract relevant data (Edit Fields (Set)): sets or maps fields
  2. Example event (Code): runs custom JavaScript code
  3. GreyNoise (HTTP Request): calls an HTTP API
  4. UserParser (HTTP Request): calls api.userparser.com
  5. IP API (HTTP Request): calls an HTTP API
  6. Complete login info (Merge): merges the data from its input branches
  7. noise? (If): checks a condition and branches into true / false
  8. Merge: merges the data from its input branches
  9. Unknown threat? (If): checks a condition and branches into true / false
  10. Check classification (Switch): routes items into 3 branches

…plus 15 more steps. See the full node list below.

Services it uses

PostgresGmailSlack

HTTP calls to: api.userparser.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (13)

From the author

This n8n workflow is designed for security monitoring and incident response when suspicious login events are detected. It can be initiated either manually from within the n8n UI for testing or automatically triggered by a webhook when a new login event…

Excerpt from n8n Team's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.