Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / Security & Compliance

Security & Compliance

Monitor Have I Been Pwned breaches and alert via Gmail and Google Sheets

Runs daily, checks the latest breach from the public Have I Been Pwned API, scores it against your risk criteria, logs results to Google Sheets, and emails you when the score passes your threshold.

What it does

## 🔐 Have I Been Pwned breach monitor with risk scoring Checks Have I Been Pwned once a day, scores the newest breach against your own risk criteria, logs every result to Google Sheets, and alerts you only when the score clears your threshold. ### How it works 1. Runs daily at 08:00, or on demand with the manual trigger. 2. Creates the 16 column header row the first time it runs. 3. Pulls the latest breach from the public HIBP API. No API key needed. 4. Skips breaches already in your sheet unless HIBP has updated them. 5. Scores blast radius, data sensitivity, HIBP flags and your watchlist into LOW, MEDIUM, HIGH or CRITICAL. 6. Appends the scored breach to Google Sheets, whether or not it alerts. 7. Sends an HTML email and a Slack card when the score clears your threshold. ### Setup - [ ] Create an empty Google Sheet and copy its ID from the URL - [ ] Connect Google Sheets, Gmail and Slack credentials (Slack needs chat:write) - [ ] In Set Workflow Variables, fill in sheetId, sheetTabName, alertRecipient and slackChannel - [ ] Add your own domains and keywords to the two watchlist fields - [ ] Run Run Now (Manual Test) once, then activate the workflow ### Customization - minimumSeverity sets the alert floor: LOW, MEDIUM, HIGH or CRITICAL - Edit the weights in Score Breach Severity to match your risk appetite - Enable the optional SMTP or webhook nodes to send alerts somewhere else

The steps

  1. Daily Breach Check Schedule
  2. Run Now (Manual Test)
  3. Set Workflow Variables
  4. Check for Header Row
  5. Header Row Missing?
  6. Create Header Row
  7. Fetch Latest Breach from Have I Been Pwned API
  8. Read Breach History from Google Sheet
  9. Check if Breach is New or Updated
  10. Score Breach Severity
  11. Save Scored Breach to Google Sheet
  12. Above Alert Threshold?
  13. Format Breach Alert Email
  14. Send Breach Alert via Gmail

19 steps in total.

Similar automations