Is it possible to use the opening of a specific URL as a trigger?

hi

When I open a Slack link, it is a bit cumbersome that it opens in the browser, then I need to click to go to the app. I would like to automate this process. For this purpose I would like to use the open of a Slack message link in the browser as a trigger.

TIA!