You have to create a path above your looping step. Both path conditions need to be set to “always run.”
Your existing actions will automatically shift to the left path.
In the right path, after the conditions, you’ll need to add a delay step for however long you think it will take to execute all of the loops on the left. I typically make it excessive, like 5+ minutes, unless timing of this sub-zap is absolutely critical. Then, after the delay, add your return from sub-zap step.
Hi @S.O
Help links for using Looping and Sub-Zaps:
Looping: You cannot use a loop step within a Sub-Zap.
Using loop actions with Sub-Zaps: Loop actions cannot be added before a Return from Sub-Zap step within a Sub-Zap.
When using looping Sub-Zaps, only the first Return from Sub-Zap step will run successfully.
@Troy Tessalone, you can use looping in a sub-zap using the workaround I’ve already described above.
Hi @Troy Tessalone and @DavidLGS ,
Thank you both very much for your input and insights on using loops and Return steps within Sub-Zaps! I really appreciate you taking the time to explain the limitations and potential workarounds.
I understand the point about the `Return from Sub-Zap` step needing to be placed at the very end, outside of any loops, and that only the first one encountered will execute (@Troy Tessalone, thanks for clarifying that rule).
I also appreciate the workaround suggestion (@DavidLGS). Realizing that implementing loops *within* a Sub-Zap (whether via standard actions or workarounds like the Path/Delay method) has its own set of challenges and limitations with Zapier's current structure.
I need to think a bit more about the best approach for my specific use case (processing a list of contacts in HubSpot within the Sub-Zap) considering these constraints.
Thanks again for your valuable help!