Hi Saul,
Example #1: https://www.workato.com/recipes/1007418-export-marketo-lists-as-csv#recipe
This recipe paginates through records in Marketo and assumes you don't know the expected # of records/pages (set no. of pages to an arbitrarily large number).
Example #2: https://www.workato.com/recipes/1003797-send-email-alert-if-marketo-list-lead-count-reached-limit
This recipe paginates through records in Marketo and assumes you can determine the expected # of records/pages (set no. of pages to the expected # of pages)
Hi Saul / Amanda,
I have a variation for Example #1 for your consideration
https://app.workato.com/recipes/1969723?st=7b3e58
-James Ng
Send us a ticket, we will try our best to assist you with your problem
Saul Macht
Recipe pagination examples
When doing a GET request, the API typically returns a limited set of records and some means for pagination to retrieve more records. Is there an example on how you would build pagination logic within a recipe?
1 person has this question