Monitor security logs for failed login attempts with Slack alerts
Ready for 3.0Ready 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.
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).
- Fetch Logs (HTTP Request): calls an HTTP API
- Count Failed Logins (Code): runs custom JavaScript code
- Failed Logins > Threshold? (If): checks a condition and branches into true / false
- Send Anomaly Alert (Slack): uses Slack
Services it uses
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)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack
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),…