web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Improve response time ...
Power Automate
Unanswered

Improve response time from API call

(0) ShareShare
ReportReport
Posted on by 42

Hi everybody. In my power automate flow I need to call an external API. As you can see in the pictures, the API call is made for each symbol in an Apply to each loop. The results of that API call are emptied into a Dataverse table where the fields are filled according to the condition of each symbol. The answers are different according to the established condition. 

 

In a request of approximately 250 symbols the flow can take between 4 to 7 minutes. 

 

Is there a way to make the flow much faster? Thanks in advance.

 

Flow1.jpgFlow2.jpgFlow3.jpg

Categories:
I have the same question (0)
  • Linn Zaw Win Profile Picture
    2,996 on at

    By any chance, filling up the answer fields for those ~250 records be independent and can this Apply to Each run in parallel? If so, you can turn Concurrency control of the Apply to Each step to On and provide Degree of Parallelism as mentioned in the blog post below.

    https://www.c-sharpcorner.com/article/understand-concurrency-control-in-apply-to-each-loop-in-power-automate/

     

    If it cannot run in parallel, one of the things that you can do it to retrieve all the unique symbols from the external API call and cache it in an object array variable. Then, in the Apply to Each loop, retrieve the data from the cached array by Filter.

     

     

  • MikeAA Profile Picture
    42 on at

    Hi @LinnZawWin effectively, the Apply to each loop has the concurrency condition applied. 

     

    I show the screenshot for the Apply to each loop and the conditions applied in the API call

     

    Thanks

     

    Flow1.jpgFlow2.jpgFlow3.jpg

  • Linn Zaw Win Profile Picture
    2,996 on at

    Apply to each loop has the concurrency condition applied with max 50 Degree of Parallelism, I don't think you can optimise further in that part.

     

    So, let's talk about option 2, out of ~250 records, how many symbol values are unique? If there are a lot of duplicate records, you can retrieve all the unique symbols from the external API call and cache those in an object array variable. Then, in the Apply to Each loop, retrieve the data from the cached array by Filter.

  • MikeAA Profile Picture
    42 on at

    how many symbol values are unique? Everyone is unique

  • Linn Zaw Win Profile Picture
    2,996 on at

    In that case, I don't see any room for optimisation unless one more operation can be added to the external API to allow the bulk request with all symbol values.

  • MikeAA Profile Picture
    42 on at

    Thank you very much for your responses

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
trice602 Profile Picture

trice602 239 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 177 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 97 Super User 2026 Season 1

Last 30 days Overall leaderboard