Hello Everyone,
I've been working with Alteryx for a few years now, although not on a very intensive basis. Recently, I've encountered a challenge with a workflow that started out simple—just a few parameter changes—but has grown in complexity and now requires more frequent maintenance. This has led to occasional crashes and inefficiencies in the Designer.
To improve this, I'm looking to automate part of the workflow related to an API call. Specifically, I use the Formula Tool to construct the URL and handle pagination.
The Challenge
The API I'm working with only allows downloading 1,000 records per page. So, in Picture 1, I manually set the URL to retrieve the first 1,000 records and specify page 1. Then, in Picture 2, I skip the first 1,000 records and retrieve the next batch by setting page 2, and so on—this continues for each subsequent page.
While I know this can be solved using a macro or another automation method, there's one key requirement: I want to control how many records and pages are downloaded each time I run the workflow.
I've attached my workflow for reference. Any suggestions or best practices on how to approach this? Especially around building a dynamic pagination loop or using macros effectively?
Thanks in advance for your help!

