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 / Flow takes forever to ...
Power Automate
Answered

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
    Microsoft Employee 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,978 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

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 62 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 58

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard