We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
fireworks
SOLVED

Iterative Macro for API Pagination - Increasing the Looping ???

suarezr
7 - Meteor

I am trying to pull records from an API that is limited to 100 records per request. I am currently able to pull 200 records with the below workflow, but I know the object has at least 5 times that many records.

Is there a setting I need to change in order to loop more than 1 time?

suarezr_0-1749759616660.png

suarezr_1-1749759818274.png


**and is it possible to run the macro workflow in Designer Gallery? I don't have a run option when I upload this.

4 REPLIES 4
alexnajm
18 - Pollux
18 - Pollux

Your Iteration Output seems to be set to the done records, not the new link for pagination - change the "Iteration Output" to the Next URL

 

This may help as well: Getting Started with Iterative Macros. And yes you can run iterative macros on Gallery 0 the bigger question is if your Server will allow the Download tool: Safe and Semi-safe Run Modes: Blocked Tools, Events, and Data Connectors

alexnajm
18 - Pollux
18 - Pollux
KGT
13 - Pulsar

And you won't be able to run the macro by itself when you load it. It will need to be in a workflow and you run the workflow.

abacon
12 - Quasar

@suarezr I would also set the output mode to auto configure by name. That helps allow for slight variances in schema without bombing the workflow.

 

Bacon

Labels
Top Solution Authors