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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

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

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (44,729)