Skip to main content
Best answer

Looping and "Is Last Iteration" head aches - Still no solution?

  • February 12, 2025
  • 2 replies
  • 95 views

Forum|alt.badge.img

I went down the rabbit hole (again) to try and figure out how to correctly update rows on a google sheet in the correct sequence …. this post exactly describes my issue: 

Here’s my specific problem...

  1. My users upload a spreadsheets (50-250 rows) to a Google Form.
  2. I convert the CSV file to a Google Sheet
  3. I use Zapier looping to update each spreadsheet row
  4. I have a filter near the bottom of the loop that checks to see “if last interation = true”
  5. When it’s true, I want to perform further actions, but I can’t guarantee that it will fire last unless I put some big delay action after the filter and “hope” all the other steps are complete.

Am I missing something? Is there a solution to this yet?
 

Best answer by Troy Tessalone

Hi ​@Dubs24 

Currently, Looping iterations run in parallel unless configured otherwise.

You can add a Delay (For) step and set the Delay For value to be the loop iteration.

e.g. Loop iteration delay for 1 minute, loop iteration 2 delay for 2 minutes, and so on.

 

Otherwise, you’d have to explore more advanced approaches using logging (e.g. in a Zapier Table with the loop iteration # and isLast = true/false), then another Zap that is triggered to one by one find the next record to process.

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

2 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 34081 replies
  • Answer
  • February 12, 2025

Hi ​@Dubs24 

Currently, Looping iterations run in parallel unless configured otherwise.

You can add a Delay (For) step and set the Delay For value to be the loop iteration.

e.g. Loop iteration delay for 1 minute, loop iteration 2 delay for 2 minutes, and so on.

 

Otherwise, you’d have to explore more advanced approaches using logging (e.g. in a Zapier Table with the loop iteration # and isLast = true/false), then another Zap that is triggered to one by one find the next record to process.


Forum|alt.badge.img
  • Author
  • Beginner
  • 11 replies
  • March 19, 2025

@Troy Tessalone - you are correct. One of the biggest breakthroughs I’ve had was the “Continue if last iteration” value is practically worthless in most scenarios. Instead, I used Storage by Zapier to capture how many interations I expected before the loop started, then added to that value after each iteration, so now I can be certain when the last loop actually occurs.