Skip to main content
Best answer

Trying to filter Attachments to PDF Only

  • July 7, 2020
  • 1 reply
  • 1599 views

I’m trying to save certain attachments from Gmail into Google Drive. Basically from certain users, and pdf attachments only.

So the trigger event I’m using is New Attachment. 

After that I want to use a filter,  and I don’t know what options to use in  “Only continue if”  

 

The Insert data dialog brings up many options for gmail properties, and I don’t know which one to use to reliably only upload pdfs. As it is, without the filter, an email with a pdf attachment actually uploads 2 files to google drive - they are named the same, except one is a pdf and one is a gif. I’m very confused.

Any help would be appreciated.

Best answer by medusa

I found the answer myself on this thread

https://community.zapier.com/ask-the-community-3/how-to-upload-specific-attachment-from-gmail-to-g-drive-946

“Edit : I finally got it! i select the attachment details filename and “text contain” filter and it finally worked! It doesnt work on attachment but this does!”

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.

1 reply

  • Author
  • Beginner
  • 2 replies
  • Answer
  • July 8, 2020

I found the answer myself on this thread

https://community.zapier.com/ask-the-community-3/how-to-upload-specific-attachment-from-gmail-to-g-drive-946

“Edit : I finally got it! i select the attachment details filename and “text contain” filter and it finally worked! It doesnt work on attachment but this does!”