Skip to content
Loops and paginatio...
 
Notifications
Clear all

Loops and pagination

3 Posts
2 Users
0 Reactions
4 Views
Sabrina_Blaha
(@sabrina_blaha)
Posts: 2
New Member
Topic starter
 

Hi!

I'm new to the community and encountering some challenges while building a scenario.

The situation is as follows:

1- I have a RecruiterFlow account with over 2500 client records.
2- I receive a webhook containing specific information, from which I extract a company name.
3- I need to search through the records in RecruiterFlow via an API call.
4- Once a record is found, I need to create an Airtable record.
5- If the record isn't found in the initial search, I need to loop and proceed to the next pages. The issue is that RecruiterFlow allows fetching only up to 100 records at a time, and I need to search through many pages to retrieve a specific record.

Therefore, I need a way to loop the workflow, where the page number in the HTTP request to RecruiterFlow is incremented each time the loop re-runs. The HTTP API request for RecruiterFlow requires the page number to be configured, and I'm a bit unsure how to proceed.

I have the workflow set up, but it gets stuck after the first run (when a result is not found). I've added a SET VARIABLE ({{add(14.current_page; 1)}}), but I'm not sure how to loop back.

Any suggestions?
Thank you all!!

 
Posted : 30/05/2025 6:53 pm
samliew
(@samliew)
Posts: 293
Reputable Member
 

Welcome to the callin.io community!

To accomplish this, you might consider using the Flow Control “Repeater” module.

For additional details on the Repeater module and the Flow Control app, please consult the relevant Integrations page and the Help Centre documentation.

For further information, kindly refer to these courses within the callin.io Academy:

Pagination - retrieving all data from APIs

  • What is Pagination?
  • Pagination - total number of items known
  • Pagination - total number of items unknown
  • Pagination - Offset
  • Practice Pagination

Hope this assists you! Please let me know if you have any additional questions or encounter any issues. P.S.: Investing some time in the tutorials available on the callin.io Academy can significantly reduce the time and frustration involved in using callin.io!

 
Posted : 31/05/2025 9:45 am
Sabrina_Blaha
(@sabrina_blaha)
Posts: 2
New Member
Topic starter
 

Thank you very much!

I believe I wasn't grasping pagination correctly, which is why the repeater wasn't returning the right results.

It's working now

:slight_smile:

 
Posted : 02/06/2025 2:23 pm
Share: