• Instructions to Ask a Question

    Click on the "Ask a Question" button and select the application for which you would like to ask questions.

    We have 5 different products namely - Pabbly Connect, Pabbly Subscription Billing, Pabbly Email Marketing, Pabbly Form Builder, Pabbly Email Verification.

    The turnaround time is 24 hrs (Business Hours - 10.00 AM to 6.00 PM IST, Except Saturday and Sunday). So your kind patience will be highly appreciated!

    🚀🚀Exclusive Discount Offer

    Just in case you're looking for any ongoing offers on Pabbly, you can check the one-time offers listed below. You just need to pay once and use the application forever -
     

    🔥 Pabbly Connect One Time Plan for $249 (🏆Lifetime Access) -  View offer 

    🔥 Pabbly Subscription Billing One Time Plan for $249 (🏆Lifetime Access) - View offer

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: 89

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: 82
Top