Hello everyone,
I’m trying to implement dynamic pagination using the nextPageToken value from the YouTube Data API within a Make.com scenario.
Here’s what I’ve done so far:
I used the HTTP module to send the initial request and followed it with a Repeater to loop multiple times. However, the issue is that the nextPageToken from the first response is reused in every iteration, resulting in the same page of data being fetched repeatedly. I’m not getting data from subsequent pages as expected.
- How can I dynamically pass the updated nextPageToken from each HTTP response into the next HTTP request?
- Is there a way to set up a loop or flow control that checks if a new nextPageToken exists and uses it in the next call?
- Ultimately, I want to gather results from multiple pages (up to 50 items per page), aggregate them, and process them with a single Iterator module.
Any guidance or example scenario would be highly appreciated. Thanks in advance!