Receive an alert when new breaches are added to haveibeenpwned.com
Configured with Convert To File, Extract From File, HTTP Request, Read Write File, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Trigger
- Transform
- Web / API
- Files / media
- Routing
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| When clicking ‘Test workflow’ | Trigger | Manual Trigger | See node parameters |
| Convert to File | Transform | Convert To File | toJson |
| Split Out | Transform | Split Out | See node parameters |
| Schedule Trigger | Trigger | Schedule Trigger | See node parameters |
| Request breaches | Web / API | HTTP Request | See node parameters |
| Read last breach | Files / media | Read Write File | See node parameters |
| Get JSON from file | Transform | Extract From File | fromJson |
| Check for content | Routing | If | See node parameters |
| Set to none | Transform | Edit Fields | See node parameters |
| If - check for new | Routing | If | See node parameters |
| Set breach name | Transform | Edit Fields | See node parameters |
| Write breach name to file | Files / media | Read Write File | write |
| New breach | Routing | No Op | See node parameters |
| Old breach | Routing | No Op | See node parameters |
| Set empty json | Transform | Edit Fields | See node parameters |
| Write cache.json | Files / media | Read Write File | write |
| Convert json to file | Transform | Convert To File | toJson |
| Add information about the last breach we alerted | Transform | Merge | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
None declared. HTTP requests and Code nodes may still need configuration.
Workflow notes
Receive an alert when new breaches are added to haveibeenpwned.com
Receive an alert when new breaches are added to haveibeenpwned.com
This workflow demonstrates how we can receive alerts when new breaches are added to haveibeenpwned.com. It also demonstrates a simple method for caching data between executions.
Read last breach
we alerted about.
Set to none
File was empty.
New breach
Send alert
Old breach
already alerted.
Save the name of the breach
Save the name of the breach
We will check it the next time the workflow runs to see if we have a new breach.
This breach has been seen before
This breach has been seen before
If we end up here it means that the latest breach has been seen before.
This is a new breach - send alert
This is a new breach - send alert
If we end up here it means that the latest breach is new. Time to send some alerts to Slack, or Discord or something.
Clean up the cache
Clean up the cache
Delete the ./cache.json file. This will make sure the alert is triggered on the next run.
Support My Work! ❤️
Support My Work! ❤️
👋 Hello! I'm Audun / xqus 🔗 My work: xqus.com 💸 n8n shop: xqus.gumroad.com
If you find this workflow helpful, consider downloading or purchasing it on Gumroad.
Your support helps me create more useful n8n workflows and resources for the community. -Thanks a lot! 🙌
Receive an alert when new breaches are added to haveibeenpwned.com
Receive an alert when new breaches are added to haveibeenpwned.com
Purpose and structure
This folder contains the Receive an alert when new breaches are added to haveibeenpwned.com workflow. Its executable nodes use convertToFile, extractFromFile, httpRequest, if, manualTrigger, merge, noOp, readWriteFile, scheduleTrigger, set, splitOut. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
When clicking ‘Test workflow’, Schedule Trigger
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Splitout/0790_Splitout_Schedule_Create_Webhook.json MIT; preserve source notices.