Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Automate Gmail Attachments: Organize Files in Google Drive and Notify Telegram

Description and use

Automate Gmail attachment storage in Google Drive and notify via Telegram using FastHook.

Problem

Manually downloading Gmail attachments, organizing them in Drive, and notifying via Telegram is tedious and error‑prone.

Outcome

Attachments are stored in Drive under Gmail attachments / sender / date, and a Telegram notification with the file link is sent automatically.

Workflow

  • Receive new Gmail attachment via trigger
  • Format email received date to YYYY‑MM‑DD
  • Find or create Drive folder path Gmail attachments / Sender Email / formatted date
  • Upload attachment to that folder
  • Set file permission to anyone with link, reader
  • Send Telegram message with sender, date, filename, and file link

Evidence

The workflow has six stages: Gmail: receive a new attachment. Formatter: turn the email’s received date into a date folder name. Google Drive: find or create the folder path. Google Drive: upload the attachment into that folder. Google Drive: set the file’s viewing permission. Telegram: send a message containing the uploaded file’s link.

Source

For the demonstration’s Share File action, use: File: the ID returned by Upload File. Permission type: anyone. Role: reader.

Source

Verify the result in three places: FastHook Run History, Google Drive, Telegram.

Source

  • Record date: 2026-10-26T23:26:21.818Z