WTH is there no "script notifier"?

It would be great to have a “script notifier” i.e. a notifier that just pass the notification data to a script.

A useful use case is with Alerts where you can just specify a notifier: the script notifier could implement specific logic to handle the notification. For example, can route the notification just to user that are at home, implement “do not disturb” periods, and so on.