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

Flow to trigger as soon as someone type specific text in TEAM channel

Hi All,

 

We have a Team Channel, where multiple user regular chat and for me only relevant info is to check if anybody type any reference with "BL_XXX_XXX".  

 

Can anybody suggest me if we can trigger email based on above mentioned condition ?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Expiscornovus
Super User II
Super User II

Hi @Negi1984,

 

You could use a trigger condition with an expression which uses an indexof function. If the result of that function doesn't equal -1 you have a match. You could add this expression to the settings of a When a new channel message is added trigger action.

 

Below is an example of that configuration approach:

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

 

whenanewchannelmessage_keywordfilterexpression.png

View solution in original post

1 REPLY 1
Expiscornovus
Super User II
Super User II

Hi @Negi1984,

 

You could use a trigger condition with an expression which uses an indexof function. If the result of that function doesn't equal -1 you have a match. You could add this expression to the settings of a When a new channel message is added trigger action.

 

Below is an example of that configuration approach:

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

 

whenanewchannelmessage_keywordfilterexpression.png

View solution in original post

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 (49,860)