Skip to main content
Best answer

Zap running twice and I cannot figure out why


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 TessaloneBest answer by Troy Tessalone

@kenitafarms 

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

View original
Did this topic help you find an answer to your question?

6 replies

Troy Tessalone
Forum|alt.badge.img+14

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


  • Author
  • Beginner
  • 6 replies
  • January 18, 2025

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


Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 30752 replies
  • Answer
  • January 18, 2025

ken.a
Forum|alt.badge.img+6
  • Zapier Staff
  • 6324 replies
  • 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! 🙂


  • Author
  • Beginner
  • 6 replies
  • January 21, 2025

Using a path has solved it.

 

Thanks.


ken.a
Forum|alt.badge.img+6
  • Zapier Staff
  • 6324 replies
  • 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! 🤗