https://www.home-assistant.io/docs/configuration/events/
In the dev tools > events tab you can subscribe and see what events are sent. There should be an event that is sent when it sends a notification. Create an automation that listens for that event