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

Can you @ Mention anyone in Teams from a flow?

Seems to just come across as a text value.  Thanks!

2 ACCEPTED SOLUTIONS

Accepted Solutions
Community Support
Community Support

Hi @mattthew,

 

Could you please show a bit more about your scenario?

Do you want to mention anyone in your Teams using @ symbol within your flow?

 

If you want to mention anyone in your Teams using @ symbol within your flow, I afraid that there is no way to achieve your needs in Microsoft Flow.

 

If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

@mattthew@RamonMA@sjcitpro 

This can now be done using the "Post a message as the  Flow Bot to a channel" action.

They will also recieve a toast of this notification!

 

See the images below: 

 

Untitled.pngUntitled1.png

View solution in original post

37 REPLIES 37
Community Support
Community Support

Hi @mattthew,

 

Could you please show a bit more about your scenario?

Do you want to mention anyone in your Teams using @ symbol within your flow?

 

If you want to mention anyone in your Teams using @ symbol within your flow, I afraid that there is no way to achieve your needs in Microsoft Flow.

 

If you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

 

Best regards,

Kris

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Scenario:

 

Have a powerapp in teams, would like to configure when a new item is created (sharepoint list connected to powerapp) to notify in a channel that a new item has been created.  Specificaly @ mentioning a user.  

 

 

 

Anonymous
Not applicable

Today's email from Microsoft about Feb Flow features states:

 

Post richer messages in Microsoft Teams
Messages posted to Teams from Flow can now contain @mentions of other users, so they will be notified when you post. There is also a new action for Microsoft Teams that posts an adaptive card to a channel. Use the Teams connector

 

But I can't seem to make it work. I've tried messages:

- @reilly, tim    and end up with that literal text, but no mention

- @[ID]     where the ID comes from Office 365 user lookup, but I end up with @@{body('Get_user_profile_(V2)')?['id']}

- @[User Principal Name] again from Office 365 user, but I end up with @@{body('Get_user_profile_(V2)')?['userPrincipalName']}

- versions above the above without the @ which also don't work, although I then get the ID or principal name correctly.

 

Any ideas?

Received the same, trying to figure out how Flow accepts/recognizes the text is actually an @ mention.

The flow connector documentation for teams is not updated regarding the new features.

Would be nice if microsoft would release documentation on new features we've been waiting for.

I tried this in a Teams Post a message

 

<at>user@ser.com</at>  

 

Teams just shows user@ser.com

Same for me, it just shows the email address of the user and changes the color to purple, but doesn't actually send them a notification or say they are mentioned.

Looks like this feature is rolling out this month.

For the @mention tags, does this also work for mentioning the team, so that members get notified, and it shows up in their activity?  The example given is only for an email address.  I have a scenario where I want all members of team to get notified via Teams. 

@mattthew@RamonMA@sjcitpro 

This can now be done using the "Post a message as the  Flow Bot to a channel" action.

They will also recieve a toast of this notification!

 

See the images below: 

 

Untitled.pngUntitled1.png

View solution in original post

Yes, it does work!

 

The only thing if the banner saying UserName used the Microsoft Flow to automate this action Learn More (with a link to flow site)

I would have prefered an option to specify a custom message...

Is it possible to tag an office 365 group in teams?  I have no issue tagging a user, but I would like to tag a whole group.

At the moment it doesn't @ the group as you would expect. This is something that would be good and recommend you suggest this here! https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

I've been able to get the @ Mentions to work now but I was wondering if there is anyway to get rid of the bot message -  <insert user name and email> used Microsoft Flow to automate this notification. Learn More at the bottom of each message? 

Unfortunatley I am not aware of a way to remove that at the moment. 

 

This is something that would be good and recommend you suggest (or vote) for it here! https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

I'm still can't use-mention, although I have yours with creating a simple sample (different username that exists in ms teams).. the error I got is

{
"error": {
"code": "MissingOrInvalidBotAdaptiveCardRequest",
"message": "The specified Teams flowbot adaptive card request is missing or invalid."
}
}

 

***UPDATE***

It can only work "This can now be done using the "Post a message as the  Flow Bot to a channel" action.
I didn't read thoroughly from the solution above

Anonymous
Not applicable

Is there a way to have the flow mention multiple people within the same message in the channel?

 

I've built a flow which is pulling the emails (multiple users) from a field within a SharePoint list and have the flow bot messaging them in the channel via the <at> email </at> function; however, it is sending the same message multiple times in the channel (e.g., mention john "same message", mention jack "same message", etc...) instead of a single message with each of them mentioned within.

 

Any way to overcome this?

@zachjbennett Works perfectly.

When trying the <at>email@com</at> syntax the message is posted by the bot and the person's name is shown as a hyperlinked element but they are not being notified of the @ mention.

I have confirmed that personal notification settings are configured to Banner and email and that if I @ tag them manually it works.

Any ideas?

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (87,255)