cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Mentioning a Channel in Teams using Flow

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?

9 REPLIES 9
Highlighted
Dual Super User III
Dual Super User III

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



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Highlighted

@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.

Highlighted

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...

 

Hope this helps



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Highlighted

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

Highlighted

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

 



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Highlighted

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 

Highlighted

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-Au...

 



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Highlighted

This is what I have currently. 

jonathancavey_0-1600363779687.png

 

Highlighted

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



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Users online (4,175)