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 / Why is my power automa...
Power Automate
Answered

Why is my power automate Desktop flow very slow?

(0) ShareShare
ReportReport
Posted on by 18

My flows are based on web extraction where I have around 4 loops.

Is there anyway to speed up the process? Is there any tweak or something I am missing that I can incorporate for better speed?

I have used next loop and exit loops wherever necessary.

I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @luckyra 

     

    Can you share how flow looks like ?

     

    by understanding the flow, we can suggest how flow can be made efficient 

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • luckyra Profile Picture
    18 on at

    Please find Attached doc

  • Gidi Profile Picture
    601 on at

    Hi luckyra,

    I haven’t fully analyses your flow, but the loops often writes to excel. Do you think you can use data tables in the loops and write them to excel once after the loops?

  • luckyra Profile Picture
    18 on at

    Hi since I am kind of new to the tool, I might need help with that. I see there is a datatable option under variables. I tried to use it but the create datatable only lets you add static number of columns and rows.

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @luckyra 

     

    looking at your flow, i am agreeing with what @Gidi  said. Using excel actions would take time. So using datatable as variable and add rows to the datatable and then finally adding that datatable to excel file would make it faster.

     

    Take this below example on how to create a datatable and add rows to it and finally added the datatable to excel.

     

    I have created an excel file like below which has headers A, B

    Nived_Nambiar_0-1702202621670.png

     

    Now using this flow, i will create a datatable variable after which i will append a row and then save it to excel file.

    Nived_Nambiar_1-1702202763077.png

     

    Which will add the data in excel like below

    Nived_Nambiar_2-1702202807535.png

     

    Hope it helps !

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

     

  • luckyra Profile Picture
    18 on at

    I am using single value instead of list because I want to have a serial no for each item in the list. Could that be another reason? I tried using for each but rather it runs the numbers 1-24 in the same cell instead of one below another

  • revv Profile Picture
    76 on at

    Use a count variable and increase it by 1 after each iteration.

  • Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @luckyra 

     

    May be i am quite confused , could you explain it properly ?

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

  • Verified answer
    revv Profile Picture
    76 on at

    Initialize a variable called count before the foreach loop. Set its value to 1. Inside the foreach loop use increment variable action and increase count by 1 and use write to excel action or add to data table action with a row value as count.

  • revv Profile Picture
    76 on at

    revv_0-1702365507878.png

    Change it according to your usecase.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 167

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard