Skip to main content
Community site session details

Community site session details

Session Id : NKB//Xc9ANHsetwLLIrZld
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,159 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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

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!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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
Loading complete