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 / REST API - Multi-Page ...
Power Automate
Unanswered

REST API - Multi-Page Append and Consumption Issue

(0) ShareShare
ReportReport
Posted on by 2

I have to say, this has been a challenging process over the last couple of weeks, and I have lurked behind the scenes consuming everything I can from historical posts.  At this point I am on the edge of moving on from this solution, so I figured I would put my issue out to the community to see if the masses could help solve this.

 

Premise:

  • HTTP Block:  Obtain a Token
  • HTTP Block (Inside Do-Until):  Utilize single Token and download multiple REST API pages
  • Append Pages:  Gather pages and compose an array or string
  • Massage & Push:  Utilize various blocks outside the main HTTP block clean up the data and push the final output to Power BI

 

Workflow:

  • Initialize / Dimension Definition:
    • Branch 1:  Start the flow by obtaining a Token (2hr expiration)
    • Branch 2:  Initialize String Array as well as multiple other variables related to the Webservice (API) call
    • NateRutter_0-1677260262414.png

       

  • Main Body:

 

  • Process Final Output:
    • Consume the string from the "Append to string" block
    • Process string and convert to an array or select block, etc.

 

  • KEY PROBLEM:
    • Unfortunately, the Append String doesn't append the pages (3 for this example)
    • If I click through the pages in the "Do Until" block, the Append String changes with each click
    • Any feedback on how to accumulate the paginated data in the Append block would be much appreciated!

Thanks in advance for any help you may be able to provide!

I have the same question (0)
  • abm abm Profile Picture
    32,998 Most Valuable Professional on at

    Hi @NateRutter 

     

    Could you please explain what is that Set variable under the No condition. It would be helpful if you could show the the mapping than the run history.

     

     

    image.png

  • NateRutter Profile Picture
    2 on at

    Thanks @abm,


    I use the Set Variable - LoopDone parameter to review if the term “next” is present in the HTTP body.  

    NateRutter_0-1677433539809.png

     

    The only time that “next” is present is if there is a next page element under the Links object in the body.  When the “next” term is not present, the condition flips to True for the no statement, which results in stopping the Do Until loop.

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

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard