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.