Is there a trigger when a script/automation is saved?

Apologies if this has been asked, but I could not find it anywhere.

I have a wiki running (BookStack not on the HA Pi) and I would like HA to fire an API call to the wiki to update the page with the script I have just saved in HA?

For many reasons, but it would be nice to have the wiki take care of the iterations and I can put context around the code in a wiki page etc, just easier for my bad memory etc :slight_smile:

API calls are not the problem and I know this is a long shot, but I thought someone might know if this is possible?



When it’s saved a file is saved with a new last saved date.
This is what I would be looking at.

I know there is file watchers and folder watchers you can add but I haven’t looked at it.