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

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
Highlighted
Dual Super User III
Dual Super User III

Re: Extract string from Teams Message And Use As Mention

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
Highlighted
Dual Super User III
Dual Super User III

Re: Extract string from Teams Message And Use As Mention

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

Highlighted
Advocate I
Advocate I

Re: Extract string from Teams Message And Use As Mention

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

Upcoming Events

Experience what’s next for Power Automate

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

Top Solution Authors
Top Kudoed Authors
Users online (5,248)