Skip to main content

I have a gmail to gmail zap running.

My trigger is a ‘new attachment’

My action is to send an email.

This works great. However, I am filtering emails into specific folders in order for Zapier to do its thing and recognize the new attachment, and then send it off. What sometimes happens is I will get multiple automated emails from the same system, in the same day, that will filter into the same folder in gmail.

I only want Zapier to send the first email, nothing else that comes in that day. I would be fine with any logic that tells zapier to only send 1 email per day or something else that achieves the same result. 

Does anyone have any advice? I cannot seem to figure out the best way to do this.

Hi there @ababab608,

I did some digging into this, and it seems like there's a field called attachmentdetails_partId that show which number in the list of attachments this one is triggering on. If you add a filter that says continue only if partid = 1 that should achieve the desired outcome.

Kindly give it a try and let me know how it goes? I'll keep an eye out for your response!

 


Hi @ken.a thank you for this explanation. I gave this a shot and still saw multiple emails sent from the same folder. I am sure I didn’t set it up correctly. Below is a screenshot of my trigger detail, I believe I located ‘pardID 1’. 

 

The next screenshot is the filter I set up. I have been playing around with it and I don’t think these settings are correct. Can you advise on which selections I need to choose in the dropdowns?

 


Hi @ababab608,

Thanks for the update.

Could you please try removing the “partID” in the last field of the filter step and leave the number. Like so:

01595168d1fe1f16b74147af6d37b2eb.png
(view larger)

Kindly give it a try and let me know how it goes? I'll keep an eye out for your response!


@ken.a thank you. I have adjusted this as per the below. The test confirmed that the zap would have continued, which I believe is a good sign. I will see what happens tomorrow morning when the emails come in again.

 

 


Thanks for keeping us updated @ababab608. Looking forward to hearing how it goes when testing it live! 😁 


@SamB @ken.a I am still observing this Zap send the email 3x instead of just once. Is there something else I am doing wrong? I pasted my full workflow below. One thought I had was on the trigger. Currently it is set to ‘new attachment’, would ‘new email’ be better?

 

Here is a screenshot of my outbox so you can see the emails going out 3x.

 

 

 


Sorry to hear it’s still not working correctly, @ababab608.

You’ll want to keep using the New Attachment trigger so you can get the individual attachment file, otherwise it’ll be a Zip file. Hmm, if it’s still sending multiple emails I wonder if it might also be triggering on the email that the Zap itself sends 🤔

Have you limited the New Attachment trigger to only run for emails in your INBOX? For example:
29b638c51612698e8bb97abc9cea5646.png

If not, can you try setting it to only trigger on new attachments in emails in your Inbox and let us know whether that fixes things?