Skip to main content
Question

How to filter unwanted attachments in Gmail using Zapier

  • May 12, 2025
  • 2 replies
  • 23 views

I often receive multiple attachments in one email. I want to filter out the extraneous jpg/png logos and other images. In the screenshot below, you will see that I added multiple filter conditions to remove the jpeg/png. However, the zap is reading every attachment at once for filter conditions, not on a case-by-case basis. Therefore, the zap does run for the attachments excluding .jpeg/,png/.ics. How do i fix this?

The second image shows my full zap.

 

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

2 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • 34072 replies
  • May 12, 2025

Hi ​@APS_Masterpiece 

For us to have more info, post screenshots showing how your Zap Filter conditions are configured in EDIT mode with the field mappings visible.


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 9744 replies
  • May 23, 2025

Hi ​@APS_Masterpiece 👋

Just wanted to check how you’re getting on—were you able to get the filter working?

If not, it looks like you might have the Attachments Filenames field selected as all of the attachment filenames are being checked by the filter. You’ll need to change the filter to look at the value in the Attachment Filename field instead. For example: 

477d1772e7c7fde7ac9c52505056cba2.png
The Attachment Filename field should contain the filename of the specific attachment that the Zap is triggering on at the time, not all of them.

Can you try selecting the Attachment Filename field instead and let us know if that sorts it?

Looking forward to hearing from you!