Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

When many emails arrive at the same time

(0) ShareShare
ReportReport
Posted on by

Hi all!

 

I have a flow that is supposed to add a row on a sharepoint file (excel) a data that comes from a one-row table which is attached as a text on a body of an email.

 

The fact is that emails comes all in a bunch, i mean, 200 emails at the same hour/second. And the flow fails.

 

When I manually resend the emails one by one the flow works successfully.

 

Do you guys have faced this issue and how to get a solution?

 

I've tried activating the Degree of Parallelism on 1 but didn't work.

  • Community Power Platform Member Profile Picture
    on at
    Re: When many emails arrive at the same time

    Hi all! 

     

    I already handled it by using Power Automate Desktop (RPA)

     

    Thank you all.

  • VictorIvanidze Profile Picture
    12,205 on at
    Re: When many emails arrive at the same time

    Turn off the button "Split On" and modify your flow to handle the array of messages. 

  • Community Power Platform Member Profile Picture
    on at
    Re: When many emails arrive at the same time

    There you go

     

    fnk3k__0-1699367417717.png

     

  • VictorIvanidze Profile Picture
    12,205 on at
    Re: When many emails arrive at the same time

    Could you show settings of your trigger?

  • Community Power Platform Member Profile Picture
    on at
    Re: When many emails arrive at the same time

    Hi wskinnermctc!

     

    Thank you for your response.

     

    To clarify, the data I need to save doesn't come as attachment, it comes in the body of the email as a text.

     

    "Change Flow - Every 45 minutes pull outlook email folder and attachments." I will try this.

     

     

  • wskinnermctc Profile Picture
    6,517 Super User 2025 Season 1 on at
    Re: When many emails arrive at the same time

    It is not going to work. (This question comes on the forum like once a week.)

    The emails are coming in too fast.

     

    Read Outlook Known Issues and Limitations  from Microsoft.

     

    The Outlook Connector isn't always instant and can take a few minutes to trigger, or up to an hour. Then it could be that it is happening too fast. Especially if the flow is trying to download attachments.

     

    Setting Include Attachments to Yes causes the connector to wait for all attachments to be downloaded. When many emails with attachments arrive around the same time, the connector can timeout while downloading these attachments.

    To avoid this, the trigger should be changed to set Include Attachments to No, and the logic should be changed to add the Get Attachment (V2) action to download the attachment.

    Additionally, LogicApps authors should ensure that the Office 365 mailbox and the LogicApp are hosted in the same region to reduce attachment download time.

     

    The first thing you can try is to change your flow so that it uses the 2 steps as recommended. 1. When a new Email Arrives 2. Get attachments. By separating this into two steps it allows the attachment to download into the email box.

     

    wskinnermctc_0-1699308364799.png

     

    I think that you will need to adjust how you approach this. You are trying to use email as a data transfer method which is ok in small quantities, but at larger scale you will have issues. Especially with this happening at same time constantly.

     

    Maybe try to think about new processes like -

    Change Flow - Every 45 minutes pull outlook email folder and attachments.
    Change Report Quantity - Does every report have to be hourly or 30 minutes? Can some be daily?
    Change Source Connection - can the source download to a folder instead of email? Can you connect to the source with power automate or something like SQL Server or Dataverse?

    The process will have to change to relieve some pressure on the trigger. Even a solid trigger like "When a New Item is Created" in SharePoint would have issues if it got hammered 100's of times in a short period of time. Adding file attachment data as well as Outlook inbox limits will be even more susceptible to problems.

     

    Wish I had an easy button answer, but I think the system limitations will require a change of approach or expectations to get your desired results.

     

    Other Posts with the same thing:

    Outlook Flow Triggering Too Slow

    Outlook Trigger Slow Performance

    Not All Email Attachments are Saved In OneDrive

     

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow