Is it possible to direct users to a mobile version of a workshop module if accessing from mobile device?

I have a workflow where an email notification is sent to users, who need to click on a link to open a workshop application to take an action.

Users wanted to be able to do this rapidly on the go, so we introduced a separate mobile version of the workshop module, with more limited content than the desktop version, but same capability to take actions.

However, this means we need to include links for 2 separate workshop modules, one marked “Desktop” and one marked “Mobile” in the same notification for essentially the same behavior.

Is there any way to detect the device type a user is accessing a link from, and redirect to the correct module accordingly? Or any suggested best practice for this situation?

We have demand for more mobile views of existing workshop applications, which need to be accessible via links included in notifications. If we need to include 2 links for each, it leads to quite cluttered notifications.