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