web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details
Power Automate - Using Flows
Answered

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

Like (0) ShareShare
ReportReport
Posted on 7 May 2021 18:45:46 by 38

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 ?

 

 

  • Verified answer
    Expiscornovus Profile Picture
    32,177 Most Valuable Professional on 10 May 2021 at 14:42:29
    Re: Flow to trigger as soon as someone type specific text in TEAM channel

    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

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Featured topics

Restore a deleted flow