Files & Documents

Receive Telegram Files, Save to Google Drive, and Confirm via Gmail

37 nodes 112 68 Automatic trigger
Download

Workflow Description

Automation that captures files and messages from a Telegram channel, stores them automatically in a designated Google Drive folder, logs their details in a Google Sheets table, and sends email confirmations for each received file.

How it works

  1. 1.Receive incoming files and messages from the specified Telegram channel
  2. 2.Filter and separate file attachments from plain text messages
  3. 3.Upload files directly to the target Google Drive folder
  4. 4.Record file metadata and receipt details in a Google Sheets log
  5. 5.Send a Gmail confirmation email for each successfully saved file

Use cases

  • Collect invoices, contracts, and documents from team members via Telegram with organized cloud storage
  • Process customer requests submitted as voice messages or documents through Telegram
  • Automatically archive important images and files while notifying recipients of receipt

Requirements

  • Active Telegram account with access to the target channel or group
  • Google account with full write and read permissions on Drive, Gmail, and Sheets
  • Authenticated connections for Telegram and Google services in n8n

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Telegram Google Drive Gmail Google Sheets

Details

Trigger Automatic trigger
Nodes 37
Apps 4
Views 112
Downloads 68

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (37)

/

Sticky Note3

Sticky Note

#1

Telegram Trigger

Set

#2

Check State

Switch

#3

Clear State

Code

#4

Sticky Note5

Sticky Note

#5

Sticky Note6

Sticky Note

#6

addGPS

Set

#7

Welcome Message

Set

#8

Command?

If

#9

Store GPS Location

Set

#10

addGPS result

Set

#11

addShipmentNumber

Set

#12

Shipment Number

Set

#13

addShipmentNumber result

Set

#14

Store Shipment

Code

#15

Store GPS

Code

#16

Load Workspace Data

Code

#17

waitingShipmentNumber

Code

#18

waitingGPS

Code

#19

Instructions

Set

#20

waitingPhoto

Code

#21

Waiting Conditions

Code

#22

addPhoto result

Set

#23

sendPhoto

Set

#24

Upload Picture

Google Drive

#25

Save Public Image Link

Code

#26

Confirmation Driver

Set

#27

Distribution Team Confirmation

Gmail

#28

Extract FileName

Set

#29

Store fileName

Code

#30

Get Picture

Set

#31

Share Picture

Google Drive

#32

Initiate Workflow Data

Code

#33

Sticky Note

Sticky Note

#34

Switch Command

Switch

#35

Sticky Note1

Sticky Note

#36

Load Delivery Information

Google Sheets

#37