Hi @samaritan, welcome to the community
There are a couple of example workflows implementing pagination here on the forum. This thread would have an example checking if there is a next
property present on the response but you should be able to adjust this to implement your own check. You can dynamically set a page number as needed using n8nās expressions (which allow you to reference existing data as well as run JS on the fly).
Let me know if you run into any trouble with this!