Skip to main content
Best answer

Zap running twice and I cannot figure out why

  • January 17, 2025
  • 6 replies
  • 75 views

Forum|alt.badge.img

I have a zap that triggers when a new attachment arrives in my outlook inbox. The zap then processes the attachment via chatGPT to extract any dates and information from it. Creates a new calendar event for each date it finds. The zap also gets the body of the email and passes the email and the chatGPT data to Twilio and sends as a text message. This worked perfectly when testing but now while it is running its sending duplicate texts. Both were triggered by the same attachment at the same time and arrived as a text about a minute apart. I am wondering if this is related to the loop step? 
 

 

Best answer by Troy Tessalone

@kenitafarms 

Yes use Paths: https://help.zapier.com/hc/en-us/articles/8496288555917-Add-branching-logic-to-Zaps-with-Paths

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

6 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • January 17, 2025

Hi ​@kenitafarms 

Actions after the Looping step will run the N iterations of data processed by the Looping step.

Help links for using the Looping Zap app: https://zapier.com/apps/looping/help


Forum|alt.badge.img
  • Author
  • Beginner
  • January 18, 2025

Best way to deal with this then would be to move the loop to its own path? 


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • Answer
  • January 18, 2025

ken.a
Forum|alt.badge.img+6
  • Zapier Staff
  • January 21, 2025

Hi ​@kenitafarms,

I just came across your post here and wanted to check in here to see how you’re getting on. Were you able to follow Troy’s suggestion here?

Please do let us know if you’re still in need of some help on this at all - happy to assist further! 🙂


Forum|alt.badge.img
  • Author
  • Beginner
  • January 21, 2025

Using a path has solved it.

 

Thanks.


ken.a
Forum|alt.badge.img+6
  • Zapier Staff
  • January 23, 2025

That’s awesome ​@kenitafarms! A huge thanks to Troy for pointing you in the right direction!

If you have any other questions, please don’t hesitate to reach out to the Community. We’re always happy to help! 🤗