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?
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
Proud to be a Flownaut!
@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.
Hi!
According to this excellent article, it seems you can also use it not only in conventional posts but also inside Adaptive Cards
Hope this helps
Proud to be a Flownaut!
OMG! sorry for your time testing my suggestion, and let's hope somebody else can point you to a good solution!
Proud to be a Flownaut!
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
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
Proud to be a Flownaut!
This is what I have currently.
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
Proud to be a Flownaut!
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Did you know that you could restore a deleted flow? Check out this helpful article.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
23 | |
13 | |
11 | |
10 | |
8 |
User | Count |
---|---|
32 | |
25 | |
24 | |
17 | |
16 |