Skip to main content

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.

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!”