cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
stevenls
Helper II
Helper II

Extract string from Teams Message And Use As Mention

Hi there,

I have an O365 connector that I use with a webservice from Cherwell to post ticket information into a Channel.  This works really well apart from the fact you cannot use an @mention with the MessageCard Type.

 

Below is the basics of a message in Teams, the << >> around the name is what I have crafted from Cherwell to try and use as a substring check

 

Created:

04/21/2020 03:05:13

Customer:

Matt Karan

Description:

Ticket Information is displayed here

Technician:

<<Steven Lees-Smith>>

 

What I would LOVE to be able to do is pull out the name in the Technician field and then use that name as a mention in the channel.

 

Is this possible using a flow that starts with the When a Message Arrives In a Channel flow and then pull out the string and then write it back as a mention?

 

Thanks for any assistance.


S.

 

1 ACCEPTED SOLUTION

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

Hi @stevenls 

 

 I believe that you might have to use the person email address to mention. Here is a post that shows how: https://powerusers.microsoft.com/t5/Building-Flows/Can-you-Mention-anyone-in-Teams-from-a-flow/td-p/...

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

2 REPLIES 2
yashag2255
Dual Super User II
Dual Super User II

Hi @stevenls 

 

 I believe that you might have to use the person email address to mention. Here is a post that shows how: https://powerusers.microsoft.com/t5/Building-Flows/Can-you-Mention-anyone-in-Teams-from-a-flow/td-p/...

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

O M G

 

As soon as I replaced the variable it worked..  how dumb am I.. of course it needed the email.

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (74,627)