How do I constrain the Increment module count to each bundle?

Hi,

I have the below scenario that iterates over a list of LinkedIn profiles, retrieves the inbound connection requests to that profile, and then iterates over each request to view the profile of the person who sent the connection request.

Linkedin has limits on the number of profiles I can view daily, and old Linkedin accounts can have hundreds of connection requests.

How do I implement a counter or similar that limits the number of view profile requests to the Linkedin API to (say) 20, and then moves on to the next client?

I tried using the increment module, expecting it to resert for each client but that’s incorrect. Tried getting and setting variables after the client module and after the iterator, but that can’t work.

Would appreciate a point in the right direction - thanks.

Cheers

You don’t need a repeater or increment module.

Just add a filter after the Iterator module to only allow array items with “Bundle Order Position” “Numeric Less than or equal to” “20”.

For more information, see Filtering page in the Make Help Centre, which covers the following:

  • Adding a filter
  • Operators
  • Copying a filter

Hope this helps! Let me know if there are any further questions or issues.

— @samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

4 Likes