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 / When New Email Arrives...
Power Automate
Answered

When New Email Arrives - Flow Strange Behavior

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

Background: We developed a solution to monitor system alerts via Outlook. These alerts are composed of two (2) categories, PROBLEM and RECOVERY. Basically, a monitoring system will send an email alert whenever a system is down; it will also send an email when the same system recovers. These emails are sometimes almost received at the same time, so we put a delay time of 10-minutes on the processing of RECOVERY emails to prioritize PROBLEM emails.

 

Issue: Even if we put a delay on RECOVERY email process, the PROBLEM email process was still processed after RECOVERY.

 

Case:

1. PROBLEM email received time: 5:40AM

- Flow Start Time: 6:10AM

- Flow End Time: 6:10AM

 

2. RECOVERY email received time: 5:54AM

- Flow Start Time: 5:56AM

- Flow End Time: 6:06 AM (with 10 minutes delay)

 

Facts:

1. PROBLEM flow - When New Email Arrives with subject PROBLEM -> API

2. RECOVERY flow - When New Email Arrives with subject RECOVERY -> Delay 10 Minutes -> API

3. 15 minutes flow - Recurrences every 15 minutes -> API

4. The monitoring system checks more than 10 systems composed of several hosts. Each hosts have several services. 

5. Emails has the possibility to receive surge/spam alerts from the monitoring system.

- <host1>/<service1> is <problem status> -> <host1>/<service1> is <recovery status>

- <host1>/<service2> is <problem status> -> <host1>/<service2> is <recovery status>

- <host1> is <down status> -> <host1> is <recovery status>

 

Questions:

1. Will changing the Flow Plan to either Plan 1 or Plan 2 change the processing of these flows?

2. How can we optimize the flows to handle surge emails, since there is also a plan to increase the systems being monitored?

 

Regards,

 

Syd

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

    Hi @Anonymous ,

     

    How is your flow created? Could you share a screen shot?

    After the trigger “When a new email arrives” there is an action API, are they in the same configuration for each situation?

    The maximum flow frequency for Flow 1 is 3 minutes, for Flow 2 is 1 minutes. Which plan are you using?

    According to your description, I have created a simple flow likes below for your scenario. I suggest use a Switch case in the flow so that it could do the following actions under different situations.

    1.PNG

     

    Best regards,

    Mabel

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @v-yamao-msft,

     

    Thank you for your response and apologies for the late response.

     

    Please see below screenshots of the flows I'm using.

    image.pngimage.png

     

     

     

     

     

     

     

     

     

    As seen from the screenshots, we almost have the same idea. However, I separated them on purpose to easily track the logs between two status; and since there are times that the incoming emails surges.

     

    The maximum flow frequency for Flow 1 is 3 minutes, for Flow 2 is 1 minutes. Which plan are you using?

    We are only using the Free Plan as of this moment, but we are looking into using Flow 2. We just need to verify with you guys, whether this would affect the behavior of the Flows.

     

    I mentioned on my inquiry that we also have a 15 minutes Alert Flow (Please see below image). Will this affect the other flows, like in terms of Flow Plan and behavior?

    image.png

     

     

     

     

     

     

     

     

     

    Regards,

     

    Syd

  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Thanks for updating.

    The flow triggered by Recurrence (which you have a 15 minutes alert) won’t be affected if you change flow plan from Free to Plan2.

     

    Best regards,

    Mabel

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard