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 / 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
    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

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