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 takes forever to ...
Power Automate
Unanswered

Flow takes forever to insert data in to an Excel Online/ SQL server database

(0) ShareShare
ReportReport
Posted on by

Hi All,

 

I have built a workflow which gets data from an API and writes to an Excel Online Spread Sheet/ On- Prem SQL Server Database. (In fact, I've built two separate flows, one which writes to an Excel Online Spreadsheet and the other which writes to a SQL server DB.)

For this example, I am including screenshots from the first scenario.

The flow works perfectly fine and it takes about five seconds to extract the data from the API end point and parse it. However, when it writes to the spreadsheet/ database, it took about three hours to finish the entire task. (I have 6611 rows and 5 columns worth of data). It approximately takes 1 second to write across each row so the entire process took about 3 hours to complete.

VJ_Nanduri_0-1601298772356.png


Is this normal? Is my design flawed? Is it because I'm using the "Apply to Each" control instead of directly adding the fields from the Parse operation to the excel spread sheet?

I tried doing that but the required fields from the Parsed JSON file do not show up in the "Add a row" action until I add an additional step, which is to include "Apply to each" and specify "Select an output from previous steps".

Any advise with respect to this would be of great help!!!

P.S. The same happens for the flow built to write in to SQL server as well. The write action takes about 3 hours.

Best Regards,

VJ

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

     

    Hi @VJ_Nanduri ,

     

    Your configuration is in compliance with the specification and the design is reasonable.

    Just because the amount of data is too large, it takes a long time. You can try to set Apply to each like this and see if the execution time can be shortened.

    82.PNG81.PNG

     

    Best Regards,

  • takolota1 Profile Picture
    4,974 Moderator on at

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