New Attachment Received
Poll received Inbox messages and emit one event for each non-inline attachment. Pending attachment backlogs can continue across later scheduled runs.
Workflow template
Save new Gmail attachments in Google Drive folders organized by sender and received date, then make each uploaded file readable by anyone with its link. Review this public-link sharing step before activation.
How it works
Poll received Inbox messages and emit one event for each non-inline attachment. Pending attachment backlogs can continue across later scheduled runs.
Find or create Gmail attachments/{sender folder}/{received date} using the normalized sender folder and received date supplied by the Gmail trigger.
Upload the trigger’s File into the folder returned by the previous step, retaining the attachment’s file content.
Add an anyone permission with reader access to the uploaded file. Anyone who obtains its link can read it; no individual recipient address is selected.
The result
The workflow uploads each eligible attachment and changes that file’s access. It does not send a Telegram notification or copy the email body into the file.
Gmail attachments/ billing@example.com/ 2026-09-14/ invoice-example.txt File access: anyone with the link Role: reader
Fictional attachment and folder. The prepared sharing step makes the uploaded file readable beyond the Gmail mailbox and Drive account. Change or remove that step if your archive should stay private.
Before activation
Connect the mailbox that receives the files. Review the trigger’s search and label filters before activation. It handles non-inline Inbox attachments, with a separate event for each attachment in a message.
Select your Drive connection for the folder, upload and sharing actions. Review the sender/date path and the anyone/reader permission in Share uploaded file. Change or remove public-link sharing before activation if it is not appropriate for these attachments.
Activate only after reviewing selection and sharing. Send a fictional attachment to the mailbox, allow the scheduled poll to run, then inspect its destination folder, uploaded content and file permission.
Public-link sharing is part of the recipe. The final action grants anyone reader access to each uploaded file. Keeping the parent folder private does not undo that file permission. Google Workspace sharing policies can reject the permission change.
One event per non-inline attachment. A message with several eligible attachments can run the workflow several times. Inline images are excluded, and pending attachment backlogs can span multiple polls. This is not an email-body archive.
Uploads and sharing are separate actions. An uploaded file can remain if the later sharing step fails. The prepared workflow has no explicit existing-file lookup or cleanup step; reruns can upload another copy. Folder lookup reuses an existing path where available.
No. The prepared Share uploaded file action grants anyone with the link reader access. Review, change or remove that step before activation if the files must stay private.
The folder path is Gmail attachments/{sender folder}/{received date}. The trigger supplies normalized sender and date values, and the folder action reuses an existing path or creates missing folders.
The trigger emits one event per non-inline attachment, so three eligible attachments can produce three runs. Inline images are excluded.
The sharing action can fail under your account’s policies. The earlier upload can still remain in Drive because uploading and sharing are separate actions.
Watch Gmail for new attachments, upload them to a sender/date folder in Google Drive, make each file public, and send its public link to Telegram.
View template →