Suspicious_login_detection

Automated workflow: Suspiciouslogindetection. This workflow integrates 15 different services: webhook, stickyNote, httpRequest, code, merge. It contains 56 nodes and follows best practices for error handling and security.

Workflow Structure (33 nodes)
100%
Webhook
New /login event
Set
Extract relevant data
Http Request
GreyNoise
If
noise?
If
riot?
Switch
Check trust level
Switch
Check classification
No Op
Not Riot
Set
πŸ”΄ Priority: HIGH
Set
🟑 Priority: MEDIUM
Set
🟒 Priority: LOW
Slack
Slack
Manual Trigger
When clicking "Execute Workflow"
Code
Example event
Http Request
IP API
Http Request
UserParser
Merge
Merge
Merge
Complete login info
If
Unknown threat?
Postgres
Get last 10 logins from the same user
No Op
Known, Do Nothing
Http Request
Query IP API1
Http Request
Parse User Agent
If
New location?
If
New Device/Browser?
No Op
New Location
No Op
Known Location
No Op
New Device/Browser
No Op
Old Device/Browser
Postgres
Query user by ID
If
User has email?
Html
HTML
Gmail
Inform user
Node Types:
transform
trigger
logic
action
http
default
code
Requires credentials

Prerequisites

Required Credentials (5)

Gmail

Used by: Inform user

Docs

HTTP Header Auth

Used by: GreyNoise

Docs

Http Query Auth

Used by: Parse User Agent, UserParser

Docs

Postgres

Used by: Get last 10 logins from the same user, Query user by ID

Docs

Slack

Used by: Slack

Docs

Multiple services required

This workflow needs 5 different credentials. Make sure you have accounts for all services before importing.

Complexity

Advanced

Expert level. Custom code, complex logic, many integrations.

Setup time: ~1 hour
Score: 90/100
Custom Code
Conditional Logic
8 Integrations

When to Use This Workflow

Team Notifications

Send automated alerts and updates to your team chat when important events occur.

Never miss critical updates - your team stays informed in real-time.

Email Automation

Automate email responses, forwarding, or organization based on rules.

Handle routine email tasks automatically and focus on what matters.

Real-time Response

React instantly when events happen - new orders, form submissions, or API calls.

Zero delay between trigger and action for time-sensitive workflows.

workflow.json
{
  "id": "xQHiKDTkezDY5lFu",
  "meta": {
    "instanceId": "workflow-65a7b221",
    "versionId": "1.0.0",
    "createdAt": "2025-09-29T07:07:51.441235",
    "updatedAt": "2025-09-29T07:07:51.441301",
    "owner": "n8n-user",
    "license": "MIT",
    "category": "automation",
    "status": "active",
    "priority": "high",
    "environment": "production"
  },
  "name": "Suspicious_login_detection",
  "tags": [
    "automation",
    "n8n",
    "production-ready",
    "excellent",
...

Workflow Details

Nodes
43
Trigger
Webhook
Source
community
Added
Sep 29, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

Httprequest Workflow

Automated workflow: Httprequest Workflow. This workflow integrates 14 different services: webhook, itemLists, httpReques...

Http-request
Webhook
Slack
Gmail
29 nodesWebhook

Slack Workflow

Automated workflow: Slack Workflow. This workflow integrates 13 different services: webhook, stickyNote, httpRequest, co...

Slack
Http-request
Webhook
Executeworkflow
34 nodesWebhook

Stickynote Workflow

Automated workflow: Stickynote Workflow. This workflow integrates 12 different services: webhook, stickyNote, httpReques...

Slack
Http-request
Webhook
17 nodesWebhook

Lead Qualification with BatchData

Automated workflow: Lead Qualification with BatchData. This workflow integrates 7 different services: webhook, stickyNot...

Webhook
Http-request
Slack
17 nodesWebhook

AI-Generated Summary Block for WordPress Posts - with OpenAI, WordPress, Google Sheets & Slack

Automated workflow: AI-Generated Summary Block for WordPress Posts - with OpenAI, WordPress, Google Sheets & Slack. This...

Webhook
Schedule
Http-request
Google-sheets
32 nodesWebhook

AI-Generated Summary Block for WordPress Posts - with OpenAI, WordPress, Google Sheets & Slack

Automated workflow: AI-Generated Summary Block for WordPress Posts - with OpenAI, WordPress, Google Sheets & Slack. This...

Webhook
Schedule
Http-request
Google-sheets
32 nodesWebhook