Templates / Monitor data breaches in real-time with Have I Been Pwned

Monitor data breaches in real-time with Have I Been Pwned

Ready for 3.0

by Audun ✓ · 12,505 views · created 2025-03-17 · 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 18 nodes and runs on a schedule (every 15 minutes) (plus 1 other trigger). It uses only n8n's built-in nodes. It also calls haveibeenpwned.com over HTTP.

How it runs

Trigger: On a schedule (every 15 minutes) (plus 1 other trigger).

  1. Request breaches (HTTP Request): calls haveibeenpwned.com
  2. Set empty json (Edit Fields (Set)): sets 1 field: data
  3. Read last breach (Read/Write Files from Disk): reads a file from disk
  4. Add information about the last breach we alerted (Merge): merges the data from its input branches
  5. Convert json to file (Convert to File): converts data to a file (to json)
  6. Get JSON from file (Extract from File): extracts data from a file (from json)
  7. If: checks a condition and branches into true / false
  8. Write cache.json (Read/Write Files from Disk): writes a file to disk
  9. Split Out: splits a list into separate items
  10. Set breach name (Edit Fields (Set)): sets 1 field: lastItem

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

HTTP calls to: haveibeenpwned.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 (11)

From the author

Who is this for? - Security professionals - Developers - Individuals interested in data breach awareness Use Case - Automated monitoring for new breaches - Proactive identity protection - Demonstration of simple cache mechanism What this workflow does -…

Excerpt from Audun'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.