Monitor a file for changes and send an alert

Nodes

ba4e53e1-0274-42de-8b1e-74275a271f19

Categories

Created by

RoRon

Last edited 39 days ago

This flow monitors a file for changes of its content. If changed, an alert is sent out and you receive it as push, SMS or voice call on SIGNL4.

User cases:

  • Log-file monitoring
  • Monitoring of production data
  • Integration with third-party systems via file interface
  • Etc.

Sample file "alert-data.json":

{
    "Body": "Alert in building A2.",
    "Done": false,
    "eventId": "2518088743722201372_4ee5617b-2731-4d38-8e16-e4148b8fb8a0"
}

Body: The alert text to be sent. Done: If false this is a new alert. If true this indicated the alert has been closed. eventId: Last SIGNL4 event ID written by SIGNL4.

This flow can be easily adapted for database monitoring as well.

New to n8n?

Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!