web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Issue with Power Autom...
Power Automate
Unanswered

Issue with Power Automate flow trigger on wrong keywords

(0) ShareShare
ReportReport
Posted on by 4

Hi Power Automate,

 

I am facing an issue with my flow. I want my flow to be triggered only when specific keywords, such as SCA, are mentioned in a channel. I have set a condition in the flow to ensure that the trigger only occurs on certain phrases and that the body content is always in lowercase. Although the flow works most of the time, I have noticed that it sometimes triggers on words that are not in the "keywords to search for" list. I have identified that the problem may be due to the "contains" function in the conditions, which triggers the flow when a word like "last" contains the letters "ast". Therefore, my question is how can I ensure that the flow only triggers on the exact words in my list and not on any other words.


EDHS_0-1701164591557.png

 

EDHS_1-1701164607202.png

best regards

 

Categories:
I have the same question (0)
  • Verified answer
    fchopo Profile Picture
    8,003 Moderator on at

    Hi @EDHS 

    You could try to store all words independently in an array, and test if the word is in it:

    split.png

     

    You can store individual words using split function:

    split(items('apply_to_each'),' ')

    Hope it helps!

    Ferran

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard