• Documentation
  • Workato Blog
  • Product Blog
  • Return to Workato
  • Login
  • Automation Institute
  • Documentation
  • Community Forums
New Topic
Discussions Recipe Building Recipe Building Questions
S

Saul Macht

started a topic over 3 years ago

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

Amanda Wong

said over 3 years ago

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)






1 person likes this
J

James Ng

said over 1 year ago

Hi Saul / Amanda, 

I have a variation for Example #1 for your consideration

https://app.workato.com/recipes/1969723?st=7b3e58

-James Ng

Login to post a comment

Still can't find your solution?

Send us a ticket, we will try our best to assist you with your problem

Documentation
Developer's Library
Tutorials
eBooks
Product Hour
Product Blog
Workato Blog
Product updates
Customer Stories
© Workato 2022   Privacy   Terms   +1 (844) 469-6752
  • Documentation
  • Workato Blog
  • Product Blog
  • Solutions
  • Forums
  • Tickets
  • Log in
  • Return to Workato
Topic views count