web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Email to Slack Persona...
Power Automate
Answered

Email to Slack Personal IM

(0) ShareShare
ReportReport
Posted on by 2

Using the office 365 mail notification flow on Slack, how can I have the alert that's generated appear in my personal IM?  I don't want to have it sent to any existing channels and I don't want to create a channel just to get email notifciations.  The setup says that I should be able to put in IM channel, which is what personal one should be...

 

I've tried:

 

my display name

my account name

the chat id (right click & copy link on my channel)

 

Do these need a hash prepended (e.g. #myusername)?

Categories:
I have the same question (0)
  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @jhalbert,

     

    Do you want to post your Outlook email notification to your personal IM channel of Slack?

     

    If you want to post your Outlook email notificaiton to your personal IM channel of Slack, you should firstly obtain the channel id of the IM channel. Please consider take a try to obtain the channel id with the following steps:

    • Generate your legacy token within the following link:

             https://api.slack.com/custom-integrations/legacy-tokens

     

    Select your workspace of your Slack and then click the "Create token" button:16.JPG

    •  Open the following link and select the "Tester" tab

              https://api.slack.com/methods/im.list

              Within the "Tester" tab, click "Test Method" button:17.JPG

     

     

    Within the response box, copy the id of one IM channel of IM channel arrays:18.JPG

    •  Create a flow within Microsoft Flow, my flow's configuration as below:19.JPG

      Within Channel Name field of "Post message" action, paste the IM channel id that copied above.

     

    I have made a test on my side and the flow works successfully as below:20.JPG

     

     

    Best regards,

    Kris

     

     

     

     

     

  • jhalbert Profile Picture
    2 on at

    Thanks, I can confirm this works.

     

    It doesn't appear that the HTML in messages is parsed.  I see the markup directly in the body of the message.   Do you know if there's any way this can be parsed (either removed or displayed properly)?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @v-xida-msft I would edit this and make it a little more simple and replacing the entire API step with this simpler and painless step.

     

    Each Slack channel and direct message has their own page/path. The path is in the last value/path of the url "THISVALUE". When you go to the desired channel in your web browser, copy that value and paste it as the Channel Name.

    Example: 

    https://app.slack.com/client/MSFLOWTST/THISVALUE

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard