• Instructions to Ask a Question

    For any assistance, please click the "Ask a Question" button and select the Pabbly product for which you require support.

    We offer seven comprehensive applications designed to help you efficiently manage and grow your business:

    Our support team endeavors to respond within 24 business hours (Monday to Friday, 10:00 AM to 6:00 PM IST). We appreciate your understanding and patience.

    🚀 Exclusive Lifetime Offers 🚀

    We invite you to take advantage of our special one-time payment plans, providing lifetime access to select applications:

    • 🔥 Pabbly Connect — Lifetime Access for $249View Offer
    • 🔥 Pabbly Subscription Billing — Lifetime Access for $249View Offer
    • 🔥 Pabbly Chatflow — Lifetime Access for $249View Offer

    Make a one-time investment and enjoy the advantages of robust business management tools for years to come.

How can I loop the workflow steps

Preeti Paryani

Well-known member
Staff member
Hello @Smartcent,

You can use an Iterator to loop through your data. To ensure it works correctly, please make sure the data from the previous step is captured in Advanced Format.

To do this:
  1. Turn off the "Simple Response" toggle.
  2. Click on "Save & Send Test Request" to capture the complete data structure.
For a detailed walkthrough, please refer to the attached tutorial.

 

Smartcent

Member
I need to manage the cursor position to run an API pagination. But I cannot do that without iteration. The pagination is of 100 and I have record of 1000
 

Preeti Paryani

Well-known member
Staff member
Hello @Smartcent,

Could you please share the workflow URL where you're trying to achieve this, along with a screen recording that better explains your use case? This will help us understand the requirement more clearly and check whether it can be achieved through a workaround.

Looking forward to your response.
 

Smartcent

Member
1752643737010.png


How to retrieve the "Remaining" response of 127. I will have to move the cursor to 100 to get the remaining response. How can I do that?
 

Preeti Paryani

Well-known member
Staff member
Hello @Smartcent,

Thanks for sharing the details. Based on your use case, the only possible workaround we can suggest is as follows:
  1. After the API step (with the cursor), add a Google Sheets – Update Cell step to store the current cursor value (starting with 0 and ending at 100).
  2. The Iterator will then process the fetched records (e.g., 100).
  3. In the next scheduled run, use a Google Sheets – Lookup to fetch the last cursor value, use a Number Formatter to increment it, and map that updated value back into the API request to fetch the next set of records (e.g., 101–200), and so on.
This approach helps maintain cursor continuity across runs. While this is a workaround, it's currently the most feasible method for your setup with custom API requests.

If you happen to discover a more efficient solution, feel free to share it in the same thread—it could be helpful for other users as well.
 
Top