So I just realized that Zap run in parallel rather than sequentially. I tried Delay after Queue, however, this doesn’t seem to guarantee that steps run one after another especially since I am using Storage by Zapier to share data between steps. Is there any way to set this up or is this not possible with Zapier?
Hi
That’s a tricky one. Can you elaborate a bit on the setup? What are you running through that Zap? That could help us see if there’s some sort of workaround or workflow that could solve your problem.
Thanks!
Hello
Yes I’ve noticed that this can be tricky. Basically what I am trying to do is run python in each loop (due to API limitations I can only grab partial results). Then using storage by Zapier accumulate the results from the output of the API call. After that I exit the loop grab all of the results and take an average of them. I can’t internally run a for loop on the single python step due to the timeout of 10 seconds after 2 or 3 API calls. The problem isn’t running them parallel that would be fine if all the loops could all send their results so I could combine them at the end.
Hi
Maybe you should try Digest by Zapier instead of Storage by Zapier?
Also, what do you mean by exiting the loop? The loop works on the steps after it. From what I can see there is no way to create a separate step after the Loop.
I was referring to the loop_iteration_is_last item which I can filter and only runs the subsequents steps after the last loop according to https://help.zapier.com/hc/en-us/articles/8496106701453-Loop-your-Zap-actions#frequently-asked-questions-0-4.
Thanks for the update
Maybe sue a Webhook to end the zap on the last iteration and another Webhooks to start a new zap that has the storage? Just an idea
Hey
Actually digest by Zapier did the trick, there are other issues, but have nothing to do with looping. As for Delay By Queue, I’ll have to try adding it at the end of the queue.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.