← All N8N workflows
Automation & utilitiesConvert To FileExtract From FileHTTP RequestIfManual Trigger

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.

Workflow preview
TriggerWhen clicking ‘Testworkflow’Manual TriggerTransformConvert to FileConvert To FileTransformSplit OutSplit OutTriggerSchedule TriggerSchedule TriggerWeb / APIRequest breachesHTTP RequestFiles / mediaRead last breachRead Write FileTransformGet JSON from fileExtract From FileRoutingCheck for contentIfTransformSet to noneEdit FieldsRoutingIf - check for newIfTransformSet breach nameEdit FieldsFiles / mediaWrite breach name tofileRead Write FileRoutingNew breachNo OpRoutingOld breachNo OpTransformSet empty jsonEdit FieldsFiles / mediaWrite cache.jsonRead Write FileTransformConvert json to fileConvert To FileTransformAdd information aboutthe last breach we…Merge

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.

Workflow node names, types, and operations
NodeCategoryTypeOperation
When clicking ‘Test workflow’TriggerManual TriggerSee node parameters
Convert to FileTransformConvert To FiletoJson
Split OutTransformSplit OutSee node parameters
Schedule TriggerTriggerSchedule TriggerSee node parameters
Request breachesWeb / APIHTTP RequestSee node parameters
Read last breachFiles / mediaRead Write FileSee node parameters
Get JSON from fileTransformExtract From FilefromJson
Check for contentRoutingIfSee node parameters
Set to noneTransformEdit FieldsSee node parameters
If - check for newRoutingIfSee node parameters
Set breach nameTransformEdit FieldsSee node parameters
Write breach name to fileFiles / mediaRead Write Filewrite
New breachRoutingNo OpSee node parameters
Old breachRoutingNo OpSee node parameters
Set empty jsonTransformEdit FieldsSee node parameters
Write cache.jsonFiles / mediaRead Write Filewrite
Convert json to fileTransformConvert To FiletoJson
Add information about the last breach we alertedTransformMergeSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. 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.

More in Automation & utilities