• 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.

  • Due to Diwali and Bhai Dooj celebrations, our team will have limited availability. While we’ll continue to monitor threads, responses may be slightly delayed. Normal operations will resume on Friday, 24th October 2025.

Execute one step after the iterator is done

Andreas

Member
I have an iterator over a list.

I would like to execute one step after the iterator is done.

In analogy to a loop I am trying to achieve this:

for x in [a,b,c, ...]
{
append x to Gsheet
}
end for
send webhook
 

Andreas

Member
Thank you very much for your reply.
I read your demo.

If I understand correctly, what you have is analog to
**begin pseudo code**
for x in [a,b,c, ...]
{
block A of steps
}
**end pseudo code**
so "block A of steps" is executed n times

Did I understand that correctly?

I am looking for a way to achieve
**begin pseudo code**
for x in [a,b,c, ...]
{
block A of steps
}
block B of steps
**end pseudo code**

so "block A of steps" is executed n times
and afterwards
"block B of steps" is executed once.

How would I need to modify your demo to achieve that?
Thank you very much
 

Hermes

Active member
Step 4 is iterator.
Step 5 is, look if that field is already present. So for you it might be a sheet lookup. Because if its there already, why add it?
Thats step 6 in my workflow, route 1 is edit the found row in spreadsheet
route 2 is add a row in spreadsheet
 

Hermes

Active member
@Andreas I understand now, after a router you cant create a step.
So basiccally you want to add a stepp for the last field in iterator.
Not sure how that can be done, depends if the iterator also has a counts for all fields inside it.
@Pabbly is it possible to counts all fields before router and then add a step if entry last is done then send webhook (api)?

Otherwise a solution can be to do send webhook (api) before the router and add a delay in the next webhook/api.
 

Hermes

Active member
In my step 3 I got a field that stated: Total = 155
Before the router step need to create a field that counts
Router step 3 would then be if count =155 then send webhook
 

Attachments

  • screenshot-connect.pabbly.com-2021.05.28-13_29_23.png
    screenshot-connect.pabbly.com-2021.05.28-13_29_23.png
    39.7 KB · Views: 153

Hermes

Active member
I believe this 1 should work to count all entries in the iterator
 

Attachments

  • screenshot-connect.pabbly.com-2021.05.28-13_43_19.png
    screenshot-connect.pabbly.com-2021.05.28-13_43_19.png
    51.4 KB · Views: 134
Top