I'm making a website where a user selects a date/time and clicks a button which redirects them to outlook.com with query params that create a calendar event with that date/time. I want to be able to open the Outlook desktop app and do the same thing, instead of the web app. I also want to do the same thing with the mobile apps for Outlook and M365.
To open a desktop or mobile app via Javascript and create a calendar event like this, do those apps have to support deep links? How can I approach figuring out how to do this with Javascript?