Skip to main content
Best answer

Working with Gmail's attachment time limit for Airparser integration

  • April 21, 2026
  • 4 replies
  • 21 views

For the Gmail-New Attachment integration, I am monitoring emails that are manually added to a label and want to then send the PDFs onto Airparser while ignoring any other attachment. The issue is that these emails may be days/weeks old as there’s a manual business process around re-labelling emails and based on the documentation it then doesn’t see the email as it’s a lot older than 1 hour

 

Alternatively I’ve tried using New Labeled Email, then a loop with a filter to only allow PDFs through, but I can’t figure out how to pass through the actual PDF URL to Airparser, as that info isn’t carried through from the new email step

 

I was hoping someone could provide some advice? Thanks!

Best answer by drtanvisachar

Hey ​@MarkW !

 

This is mostly a Gmail limitation. When you use New Attachment or New Labeled Email, Zapier only looks at new activity, not old emails that get labeled later, so those older ones won’t trigger reliably. Your other approach is closer, you just need to know when its a New Labeled Email, add a Gmail step like Get Email or Get Attachment using the Message ID from the trigger. That step will actually give you the attachment files. From there, loop through the attachments, add a filter so only filenames ending in .pdf continue, then send that file to Airparser. 


Ethan Marcellus- Automation Expert at Tuesday Wizard | Top Zapier Solution Partner | Zapier Community Contributor

4 replies

drtanvisachar
Forum|alt.badge.img+5
  • Zapier Solution Partner
  • Answer
  • April 21, 2026

Hey ​@MarkW !

 

This is mostly a Gmail limitation. When you use New Attachment or New Labeled Email, Zapier only looks at new activity, not old emails that get labeled later, so those older ones won’t trigger reliably. Your other approach is closer, you just need to know when its a New Labeled Email, add a Gmail step like Get Email or Get Attachment using the Message ID from the trigger. That step will actually give you the attachment files. From there, loop through the attachments, add a filter so only filenames ending in .pdf continue, then send that file to Airparser. 


Ethan Marcellus- Automation Expert at Tuesday Wizard | Top Zapier Solution Partner | Zapier Community Contributor


  • Author
  • Beginner
  • April 21, 2026

Thanks Ethan.

 

I didn’t realise there was a Gmail Get Atttachment by Filename action, let me try that in the loop!


  • Author
  • Beginner
  • April 21, 2026

@drtanvisachar that worked out! This is how it looks now;

  1. Gmail - New Labeled Email
  2. Zapier - Create Loop From Line Items
  3. Zapier - Filter conditions - only continue where filename ends in .pdf
  4. Gmail - Get Attachment by Filename - using message ID from step 1
  5. Airparser - Extract Data From a Document

SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • April 21, 2026

Glad you got it working ​@MarkW! 🎉 Thanks for sharing the full setup you ended up with, that'll be really handy for anyone who runs into the same thing.

And thank you to ​@drtanvisachar for helping with this! 🤗