Are there any posts or guides to setting up paging to retrieve data from a 3rd-party API and saving it into the database?
The API I’m attempting to pull data from only provides an offset and limit and doesn’t tell me what the next page is. I am able to get a count of items I need to get from another API before I call the API I need to get the paged data from.
Usually the offset is fixed in such APIs. So you can just call count API to get the total number of pages. Then use a repeat with that count, and the repeat will just repeat itself that many times.
You can make use of variables (set value) declared outside the repeat to use for offset and limit. Declare them outside, use in API step (URL or body, wherever) inside the repeat and finally update the variables after API call step.