Pagination and Rate-Limits

Hi all,

I would like to share this piece of a scenario I am building.

The repeater is handling pagination for the module that follows after the Sleep Module, which can get a maximum of a 1000 records at one time. Thus, the repeater is set to increment by a thousand.

Additionally, the module after the Sleep Module has a rate limit of 10 requests at the same time and a time-out of 120 seconds.

Nested inside the first if-statement is another if-statement that checks if the i-value from the repeater can be divided by 9.000 (could be 10.000, but Iā€™m keeping it on the safe side).

The outer if-statement just check if the i-value is 0, thus not adding 120 seconds to the first round.

I hope this is helpful to someone!

Disclaimer: I have not tested to see if running the next module 9 times will come anywhere near the time-out limit. But you can set the divide-by-value lower if required.

1 Like

Welcome to the Make community!

See also A Better Solution for "How to group bundles in X amount of bundles"