Templates / Monitor Have I Been Pwned breaches with Google Sheets, Gmail, and Slack

Monitor Have I Been Pwned breaches with Google Sheets, Gmail, and Slack

Ready for 3.0

by Niranjan G ✓ · 88 views · created 2026-08-20 · SecOps, AI Summarization

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 19 nodes and runs on a schedule (every day at 08:00) (plus 1 other trigger). Along the way it connects Google Sheets and Gmail. It also calls haveibeenpwned.com and slack.com over HTTP.

How it runs

Trigger: On a schedule (every day at 08:00) (plus 1 other trigger).

  1. Set Workflow Variables (Edit Fields (Set)): sets 10 fields: sheetId, sheetTabName, alertRecipient…
  2. Check for Header Row (HTTP Request): calls an HTTP API
  3. Header Row Missing? (If): checks a condition and branches into true / false
  4. Create Header Row (HTTP Request): calls an HTTP API (PUT)
  5. Fetch Latest Breach from Have I Been Pwned API (HTTP Request): calls haveibeenpwned.com
  6. Read Breach History from Google Sheet (Google Sheets): uses Google Sheets
  7. Check if Breach is New or Updated (Code): runs custom JavaScript code
  8. Score Breach Severity (Code): runs custom JavaScript code
  9. Save Scored Breach to Google Sheet (Google Sheets): append or update
  10. Above Alert Threshold? (If): checks a condition and branches into true / false

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

Services it uses

Google SheetsGmail

HTTP calls to: haveibeenpwned.com, slack.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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (10)

From the author

Quick overview Checks Have I Been Pwned daily for new breaches, scores each one against your own risk criteria and watchlist, logs every result to Google Sheets, and sends Gmail and Slack alerts only when a breach clears your configured threshold. How it…

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