Skip to main content
Question

Unable to create a trigger to return an attachment on Gmail

  • February 6, 2025
  • 3 replies
  • 23 views

Forum|alt.badge.img

Hi guys,

 

I’m unable to return an attachment (pdf) from Gmail. I’m trying to send a pdf attachment from an email into Google drive. I’ve taken the video below.

 

Would you mind taking a look and letting me know what you think?

 

Thanks!

 

Colm

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

3 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • February 6, 2025

Hi ​@Colm 

Help link for Gmail search operators: https://support.google.com/mail/answer/7190?hl=en&co=GENIE.Platform%3DAndroid

 

One option is to add a Filter as Zap step 2: https://zapier.com/apps/filter/help
Specify the “mime/type” contains application/pdf.

 

Try this:

from:invoice+statements@gohighlevel.com subject:"Your receipt from HighLevel" filename:pdf

 

 


Forum|alt.badge.img
  • Author
  • Beginner
  • February 6, 2025

Thanks for coming back to me Troy.

I’ve followed your advice as best as I could - but I’m still a little stuck.

Here’s an update on where I’m at:

 

Would love to hear your thoughts on where I might go from here!

Many thanks!

Colm


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • February 6, 2025

@Colm 

Looks like Gmail is returning dummy data for the example record.

The fields to use are still returned, just with dummy values.

You may have to configure the Zap and test live with the Zap turned ON.

Then check your Zap Runs history details to see the DATA IN/OUT for each step: https://zapier.com/app/history/

 

Use this in the Filter condition.
Make sure Attachment is SINGULAR.