Can you link to a Slack profile in Confluence?
Asked by Aaron Westervelt:

I've created a Confluence page with a list of colleagues based on the products they manage. Is there a way to make the contact name a hyperlink that when clicked, opens a Slack conversation between the user and the colleague name they clicked on?

Things I've already tried...

* I was able to get Slack to open the Workspace Directory for the colleague but I'd rather jump to a conversation if that's possible.
* This format seems to work in other applications, but couldn't get it to work in Confluence: slack://user?team=\<teamID\>\&id=\<userID\>


Answers:
author: Daniel Eads
body: Hey Aaron,

I've generally had more luck with *https://* links instead of *slack://* links. While you can use the "Copy link" function in Slack to get a clickable link for **channels**, unfortunately this doesn't work for linking everyone to Direct Messages with a specific user:

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/89428i1DEC6CDEEE1A7557/image-dimensions/554x227?v=v2 "image.png")

I've confirmed the lack of slack:// in the new Confluence editor as a bug:  
<https://jira.atlassian.com/browse/CONFCLOUD-65866>

While protocols like "slack://" don't work as links in the new editor currently, you can create a page using the **Legacy editor** in Confluence Cloud - the non-standard link protocols do work as expected in the Legacy editor. Just select that template when creating a new page:

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/89448i4D919B9B07D2E1E7/image-dimensions/601x202?v=v2 "image.png")

I've noted your case here with the issue for this on jira.atlassian.com, but please feel free to watch and vote on that issue. The link again is [CONFCLOUD-65866](https://jira.atlassian.com/browse/CONFCLOUD-65866) .

Cheers,  
Daniel

comments: author: Aaron Westervelt
body: Thanks Daniel. If I'm not mistaken, the link you're copying out of Slack is a private link for the discussion between you and the other colleague. If someone else tried accessing that link, it wouldn't let them because they're not part of that Slack conversation (or channel).


author: Daniel Eads
body: Egads - you're absolutely right. That's certainly not going to work for anyone besides yourself!

Combing through more of Slack's documentation, it looks like the easiest method is [generating a link to a user's profile](https://slack.com/help/articles/360003827751-Create-a-link-to-a-members-profile-#free,-standard,-and-plus-plans-1):
> 1. The first part of the link is the **Workspace URL**. For example, <https://acmeco.slack.com>.
> 2. The second part of the link is the **User ID** . Multiple members' User IDs can be found using the [users.list API method](https://api.slack.com/methods/users.list). Or, an individual's User ID can be found by clicking the **More actions icon** in a member's profile, then choosing **Copy member ID**.
> 3. Append the User ID to the end of the Workspace URL. Here's an example: <https://acmeco.slack.com/team/U1H63D8SZ>.

but I think you've already been able to get that far? I'll poke at the slack:// protocol a bit and see if there's a way to get that recognized with Confluence.


author: Daniel Eads
body: Hey Aaron, confirmed this is indeed a Confluence bug. I've updated my answer to reflect this as well as linked the actual bug and a workaround using the Legacy editor in Confluence Cloud.


author: Aaron Westervelt
body: Thx for the prompt feedback Daniel!


Tags: cloud

jira-software

jira-software-cloud

slack