I am working on a project with Power Automate Cloud flow.
the process can be summarized as below:
1. get excel data from SharePoint folder with Power Automate.
2. loop the excel data and create email drafts and save email drafts as .eml file in SharePoint folder.
There is also an attachment from another excel file, which can not be in table format, needs to be attached in the .eml file.
And I use office scripts to populate the attached excel file. and use 'run script' action in the loop.
The flow run successfully with small volume. For example, it takes 3 minutes to prepare 4 .eml files, 13 minutes for 21 .eml files (it shows flow run timed out while it run about 10 minutes but still running in the backend and succeeded finally).
However, when I try to test it for big volume, such as 50 or 100 emails and even more emails, it never succeeds.
what I did:
1. turn on concurrency control, but failed, the flow had been speed up but with wrong data in email fields.
2. for the most time consuming action in the loop, set a timeout.
are there any methods to solve this kind of issue?

Report
All responses (
Answers (