One of my favorite things to do is add links in my email signature for people to DM me in Slack & Teams. I only use it for internal communications, but it tends to surprise people and is just an overall useful little trick.
I've also found these links useful in documentation. Maybe you have a list of contacts who someone needs to contact in a particular circumstance. You could include Teams links to ensure people message the right people and not someone with a similar name.
Follow along if you are interested in doing the same. Keep in mind that there may be some instances where the methods I show do not work for your organization. This could be due to some organization settings. I will provide a list of resources that might provide alternatives you can try. The ones I list are just the ones that worked for me most frequently.
Links to Direct Message someone in Teams
Teams has proven to be the easiest one for me. With this you just use https://teams.microsoft.com/l/chat/0/0?users=[your email address]
. Want to make it a group chat? Add additional email addresses separated by commas.(https://teams.microsoft.com/l/chat/0/0?users=[your email address],[second email address]
).
One potential hiccup could occur if you have an old Microsoft 365 account where you had a personal and an enterprise version of your account. You will know if this is the case if Microsoft 365 asks you if you want to log in as your Home Account or your Work Account when you try to log in.
Links to Direct Message someone in Slack
Slack is a little more complex to make a direct message link for. Keep in mind that someone must be a member of the Slack tenant to direct message someone using the link. This is why I typically only use these internally, and I always put a text note next to them stating that they are for internal use only.
Another important distinction of the link format I am about to cover is that it will open in the desktop app, if it is installed. There are other variants you can use, but many of them open in the web browser instead of the desktop app.
- First, we need to find you
Team ID
. To find this, you will need to login to your Slack environment via web browser rather than the desktop app. - Once logged in, look at the url in the browser's address bar.
- The url will look something like the following:
https://app.slack.com/client/T05REF2GYN9/C06DFSGR5SB
. The set of charcters afterclient/
is the Team ID. - Next we need your
Member ID
. For this, you can access Slack in the browser or in the desktop app. - Once you have the app loaded, go to your Slack profile in the app, or the Slack profile of the user who you wish to make a message link to. You can accomplish this by right-clicking their image in an existing chat or channel, and selecting "View Profile".
- Once in the profile, you should see a set of 2 large buttons labeled either:
- Your Profile: "Set Status" & "View As"
- Other User Profile: "Message" & "Huddle"
- From that menu, select the "Copy Member ID" option.
- Now format your direct message link as
https://app.slack.com/client/[Team ID]/[Member ID]
. - You now have a direct message Slack link for someone.
Other Resources
I hope this information proves useful for you. The following resources should prove useful if you'd like to learn more.
- How to: use a hyperlink to jump directly to a Teams private chat with a user | The thoughtstuff Blog
- Start Slack direct messaging by opening a link : ShortPoint Support
- Reference: Deep linking into Slack | Slack
- Using the Slack Web API | Slack
- Slack Urls to Quickly Message People | Adam Garrett-Harris