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.
Hi all!
I already handled it by using Power Automate Desktop (RPA)
Thank you all.
Turn off the button "Split On" and modify your flow to handle the array of messages.
There you go
Could you show settings of your trigger?
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.
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.
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
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional