Skip to main content
Best answer

Find New email Zap runs multiple times on the same email


I have a zap set up to find a new email in Gmail with a search for specific text. Through a series of steps it then determines a recipient from a round robin list in a google sheet and forwards the email on to that recipient.  This works, however, the zap runs every 2 minutes and each run results in a duplicate action on the exact same email in my inbox.  It ends up forwarding the same email every 2 minutes until I turn the Zap off.  How can I get it to perform this only one time per email?

I have tried adding a step to add a label to the email when the zap runs and then using a filter earlier in the zap to not move forward if that label is present, but that does not seem to work.

I have also tried using the dedupe javasript code mentioned here, which also did not work. https://community.zapier.com/featured-articles-65/how-to-stop-duplicate-triggers-from-running-your-zap-9614
 

Best answer by Troy TessaloneBest answer by Troy Tessalone

@vChief 

Take note of this description.

What’s likely happening is that you are creating a loop with the Zap logic since the Zap is sending an email that is being detected with the same label.

Thus you need to isolate it to exclude sent emails.

 

View original
Did this topic help you find an answer to your question?
This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

5 replies

Troy Tessalone
Forum|alt.badge.img+14

Hi @vChief 

Good question.

Please post a screenshots with how your Zap trigger step is configured in order for us to have more context, thanks.

Did you specify the inbox only with in:inbox? (or the specific folder)

 


  • Author
  • Beginner
  • 3 replies
  • May 12, 2022

The add label step is working, btu somehow I still get multiple runs on the same email.

Step 1 - Trigger

 


Step 2  - Filter
Step 3 - add label so when zap runs again, the email is not processed twice

 


Troy Tessalone
Forum|alt.badge.img+14
  • Zapier Expert
  • 30916 replies
  • Answer
  • May 12, 2022

@vChief 

Take note of this description.

What’s likely happening is that you are creating a loop with the Zap logic since the Zap is sending an email that is being detected with the same label.

Thus you need to isolate it to exclude sent emails.

 


  • Author
  • Beginner
  • 3 replies
  • May 12, 2022

Ahhhhh Thank you! I will give this a try.


  • Author
  • Beginner
  • 3 replies
  • May 12, 2022

Success - thanks @Troy Tessalone !