Hi,
I'm using Alteryx to connect to azure devops odata using API. Since there's a page limit for each API call, I want to use a loop to call until all data is retrieved.
Here's a sample undone workflow, I haven't been able to figure out how to organize my macro.
I've circled the part where I want to do a loop: If after I call the API, there's a "$skiptoken" in the result, means there's a page break, I want to put the "$skiptoken:1234" after the original API end point (URL) and call the API again. If there isn't, then the data download is complete.

In the end I want to union all the data downloaded.
I think I need to use Iterative Macro. I also have the macro I built attached, that doesn't work the way I want it to.
Could anyone let me know how to do this in the right way? Thank you!