cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LRainery
Regular Visitor

Teams trigger on keyword

 

I am trying to trigger a new email off of a flow that would look for keywords in a new Teams message.   

This isn't working: https://powerusers.microsoft.com/t5/Building-Flows/Trigger-an-email-back-to-user-when-a-keyword-is-m...

 

It accepts the flow, then when I test to run it (Manaully or automatically from a previous "successful test" it will not give me a positive but always a false that it can't find the trigger word, when it is absolutely in the flow exactly as the aforementioned link.

 

Trigger word: EMEA Escalation

 

Any help would be greatly appreciated as this is the very trigger that then kicks off an entire escalation process throughout three internal systems. 🙂 

 

Any ideas? 

1 ACCEPTED SOLUTION

Accepted Solutions
Expiscornovus
Super User II
Super User II

Hi @LRainery,

 

Can you add this as a trigger condition in the settings of When a new channel message is added trigger action?

@not(equals(indexof(triggerOutputs()?['body/body/content'], 'EMEA Escalation'), -1))

keywordescalation_teams.png 

View solution in original post

2 REPLIES 2
Expiscornovus
Super User II
Super User II

Hi @LRainery,

 

Can you add this as a trigger condition in the settings of When a new channel message is added trigger action?

@not(equals(indexof(triggerOutputs()?['body/body/content'], 'EMEA Escalation'), -1))

keywordescalation_teams.png 

View solution in original post

LRainery
Regular Visitor

Awesome, that did it! I was going down the right path at least, thank you for your very quick response and assistance! 😁

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

Users online (20,908)