Templates / Monitor security logs for failed login attempts with Slack alerts

Monitor security logs for failed login attempts with Slack alerts

Ready for 3.0

by Marth - Business Automation ✓ · 393 views · created 2025-08-03 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 5 nodes and runs on a schedule (every minute). Along the way it connects Slack.

How it runs

Trigger: On a schedule (every minute).

  1. Fetch Logs (HTTP Request): calls an HTTP API
  2. Count Failed Logins (Code): runs custom JavaScript code
  3. Failed Logins > Threshold? (If): checks a condition and branches into true / false
  4. Send Anomaly Alert (Slack): uses Slack

Services it uses

Slack

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 (5)

From the author

How It Works: The 5-Node Anomaly Detection Flow This workflow efficiently processes logs to detect anomalies. 1. Scheduled Check (Cron Node): This is the primary trigger. It schedules the workflow to run at a defined interval (e.g., every 15 minutes),…

Excerpt from Marth - Business Automation'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.