Hi,
is it possible to have Flow send a direct message on slack?
I tried setting @username in the Slack action channel field but it doesn't work.
Thank you,
Roberto
There is a way you can send a direct message to someone's Slackbot using Power Automate. Not sure if that would work for you.
Hi @brentlightsey ,
These solutions are more like workarounds. It may work for some but as for me, I'm stuck. The purpose of mentioning someone in a channel is because we have a bot that listens for messages mentioning him in this particular channel only. Therefore I need a way to post from a Flow into this channel and using @slackbot or we need to make changes to this bot.
@brentlightsey wrote:Hey, @Anonymous. Two options to make this work (I think 2nd is better).
Option 1: Put "@" + username in the channel name field
- However, this is not the display name and
- This is not the email address the user uses to log in
- The best way I found to locate this value is to go to [yourworkspacename].slack.com/account/settings#username then expand out this area to show username
Option 2 (Better): Use Member ID
Part 1- Find Member ID
- In your Slack Workspace Directory, find the person to whom you want to post the direct message.
- Then click the "..."
- Then click to copy their Member ID
Image: Find Member IDPart 2 - Use Member ID
- In your Flow, just put the Member ID as the channel name (no need for an "@" symbol here)
Image: Use Member ID In Flow
Hey, @Anonymous. Two options to make this work (I think 2nd is better).
Option 1: Put "@" + username in the channel name field
Option 2 (Better): Use Member ID
Part 1- Find Member ID
Part 2 - Use Member ID
I'm having the same thing. I cannot send a message to a specific person and there are no posts explaining how people have accomplished it.
Interesting you were able to get this to work...no matter what I try...I can't get Flow to send a direct message (only to channels).
sorry... it works!
just use @username
I was using the wrong username... ooooops.
Thank you,
Roberto
WarrenBelz
146,743
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,089
Most Valuable Professional