Workbook is here: Gumloop | Automation Builder
Hey @juliacarey,
If you take a look at your run, you’ll notice that you’re currently passing a message ID into the Gmail PDF Extractor (custom node). The issue is that the message ID itself doesn’t contain the PDF attachment — it only references the email message.
To fix this, try passing the “Attached File Names” input badge instead. This will ensure the node reads and extracts data directly from the attached PDF file.
Also, if you’d like, you can use our native PDF Reader nodes, which can handle this use case without requiring a custom node.
Thank you! It’s saying that Gmail attachments aren’t publicly accessible URLs. What’s the best way to get a PDF from gmail?
Hey @juliacarey,
You’re right — Gmail attachments aren’t accessible via public URLs by default. The attachments the Gmail Reader node outputs are file objects, similar to if you had uploaded the files yourself.
So instead of passing a link, you can directly pass the “Attached File Names” output badge from the Gmail Reader node into your next step (e.g., the PDF Reader or custom node). This ensures the workflow references the actual file objects.
If you specifically need URLs to those files, the simplest approach is to upload them to a storage service like Google Drive using the Google Drive File Writer node. That will give you shareable URLs you can use elsewhere in your flow.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.

