Neatest way to use clickAction to trigger automation?

Hi all,

Long-time lurker but first time posting. I was wondering if anyone has come up with a neat solution to use the clickAction of a notification to trigger an automation in HA?

My current workaround is to specify a deep link to the “HTTP Request Shortcuts” as the clickAction. That app then fires a webhook, which is used as the trigger for my automation.

It works seamlessly and instantly, but it’s not particularly “neat”. Has anyone come up with a simpler method of achieving the same thing?

Is there an issue preventing to specify a webhook url directly?

Using a GET webhook does work fine directly, but the issue is that it opens the browser app in the process which isn’t ideal. Going via an app that uses the webhook, like HTTP Request Shortcuts, is completely “silent” - I was just wondering if there’s an alternative way to achieve this.