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 ?
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))
WarrenBelz
146,651
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional