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 ?

 

 

I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    32,539 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 626 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 374 Moderator

#3
Expiscornovus Profile Picture

Expiscornovus 284 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Restore a deleted flow