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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow condition that ma...
Power Automate
Unanswered

Flow condition that matches multiple words

(0) ShareShare
ReportReport
Posted on by 2

Hi everyone. I'm new to flow, but finding it very interesting and I've already used it for a few repetative tasks around the office.. Is it possible to achieve the following within an advanced condition perhaps?

 

I need to count or 'match' two words in an incoming email body.. The two words are triggered & cleared. If the word 'triggered' occurs more than 'cleared' continue with the flow (YES).. If not, the flow will end (NO).

 

If the above is possible, could you maybe give me a few pointers of how to set it up? Thanks in advance for any advice. 

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @needso,

     

    Could you please share a bit more about the incoming email body?

    Do you want to count the amount of the word 'triggered' and the word 'cleared' within the email body?

     

    If you want to count the amount of the word 'triggered' and the word 'cleared' within the email body, I afraid that there is no way to achieve your needs in Microsoft Flow currently.

     

    Best regards,

    Kris

  • needso Profile Picture
    2 on at
    Hi Kris,

    Thanks for your time.. Below is an example email body as requested. I need some way to distinguish when there is a 'triggered' alert that doesn't have a corresponding 'cleared' within the email.. Hence my request for counting the two words.. Can you think of another way to achieve the requirement?

    Just let me know if you need anything else. Thanks again

    Matt

    ##EMAIL BODY EXAMPLE##

    There are 5 new alerts on the network

    Warning - Printer - Input Tray Missing

    Xerox 6605 - Records
    Cleared: 2018/02/22 16:43:32 GMT: This printer is no longer reporting a missing input tray
    Triggered: 2018/02/22 16:23:39 GMT: This printer is reporting a missing input tray

    Xerox 6605 - Radiology
    Cleared: 2018/02/22 16:22:46 GMT: This printer is no longer reporting a missing input tray
    Triggered: 2018/02/22 16:17:52 GMT: This printer is reporting a missing input tray
    Cleared: 2018/02/22 16:07:48 GMT: This printer is no longer reporting a missing input tray

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 474

#2
11manish Profile Picture

11manish 268

#3
David_MA Profile Picture

David_MA 243 Super User 2026 Season 1

Last 30 days Overall leaderboard