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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Mentioning a Channel i...
Power Automate
Unanswered

Mentioning a Channel in Teams using Flow

(0) ShareShare
ReportReport
Posted on by 56

Hello, I am trying to post a message to a Teams Channel and '@' the channel in the message. 
I have accomplished this using the 'Invoke a HTTP Request' and following the steps found here: http://www.expiscornovus.com/2019/05/29/mention-a-channel-with-flow/

The problem I am running into is that these messages post as coming from a user (me)
I would like to post and '@' the channel from a bot / adaptive card. 

Does anyone know if this is possible, and if so how to?

Categories:
I have the same question (0)
  • efialttes Profile Picture
    14,756 on at

    Hi!

    Did you consider the new action block for this purpose?

    https://docs.microsoft.com/en-us/connectors/teams/#get-@mention-token-for-a-user

    Havent tested myself yet, but hope this helps

  • jonathancavey Profile Picture
    56 on at

    @efialttes I am not sure if that will work, could you explain a little more? 
    I have it working posting from a user, but I want it to come from a bot. So I have the IDs and all of that.

  • efialttes Profile Picture
    14,756 on at

    Hi!

    According to this excellent article, it seems you can also use it not only in conventional posts but also inside Adaptive Cards

    • Post a message (V3)
    • Post a reply to a message (V2)
    • Post your own adaptive card as the Flow bot to a channel
    • Post an Adaptive Card to a Teams channel and wait for a response

    https://poszytek.eu/en/microsoft-en/office-365-en/powerautomate-en/mentioning-in-microsoft-teams-via-power-automate/

     

    Hope this helps

  • jonathancavey Profile Picture
    56 on at

    @efialttes I am attempting to '@' a channel not a user

  • efialttes Profile Picture
    14,756 on at

    OMG! sorry for your time testing my suggestion, and let's hope somebody else can point you to a good solution!

     

  • jonathancavey Profile Picture
    56 on at

    Yeah, I can '@' the channel. But it is posting from a user profile. I would like it post from a bot/adaptive card.

    Thank you for reaching out 

  • efialttes Profile Picture
    14,756 on at

    Wait wait wait... did you try invoking the Graph API? I am afraid the action block is premium.

    THere is also a workaround published by John Liu some time ago, not sure if it is still working

    https://powerusers.microsoft.com/t5/General-Power-Automate/Mention-a-MS-Teams-Channel-using-Power-Automate/td-p/450448

     

  • jonathancavey Profile Picture
    56 on at

    This is what I have currently. 

    jonathancavey_0-1600363779687.png

     

  • efialttes Profile Picture
    14,756 on at

    Hi again!

    Just checking

    https://ashiqf.com/2020/02/09/mention-user-channel-in-teams-using-ms-graph-api/

    THe only difference I see so far is this one

    <at id ='0'>

    Hope his helps

  • Gyllentid Profile Picture
    894 on at

    May I ask if the code to invoke a http request is still working? Mine says invalid json when attempting to run the flow. @jonathancavey 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard