Developer & DevOps

Capture Telegram Messages and Log Them to Google Sheets

29 nodes 279 150 Automatic trigger
Download

Workflow Description

An automation that intercepts incoming Telegram messages and logs them directly into a Google Sheets spreadsheet, enabling organized tracking of conversations and centralized data storage from your Telegram bot without manual effort.

How it works

  1. 1.Receive new messages sent to your Telegram bot or channel
  2. 2.Process and format message data based on your requirements
  3. 3.Append messages and metadata to your designated Google Sheets table

Use cases

  • Collect customer inquiries from Telegram and organize them in a tracking spreadsheet
  • Archive comments and feedback from Telegram groups into a structured sheet automatically
  • Create a centralized database of requests and information submitted through your Telegram bot

Requirements

  • Active Telegram account with an existing configured bot
  • Google Sheets spreadsheet with pre-defined columns for receiving data
  • Write permissions on the target Google Sheets file

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Telegram Google Sheets

Details

Trigger Automatic trigger
Nodes 29
Apps 2
Views 279
Downloads 150

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 (29)

/

Trigger

Set

#1

Global data

Set

#2

Telegram1

Set

#3

Telegram2

Set

#4

Telegram3

Set

#5

Telegram4

Set

#6

Sticky Note

Sticky Note

#7

Sticky Note1

Sticky Note

#8

Sticky Note2

Sticky Note

#9

Sticky Note3

Sticky Note

#10

Sticky Note4

Sticky Note

#11

Telegram5

Set

#12

Switch_MessageType

Switch

#13

Sticky Note5

Sticky Note

#14

Telegram6

Set

#15

Menu

Switch

#16

Command?

If

#17

Change status

Google Sheets

#18

Start bot?

If

#19

Register

Execute Workflow

#20

Payment Handler

Execute Workflow

#21

Trigger Data for Payment

Set

#22

Trigger Data for Register

Set

#23

Switch

Switch

#24

Data for Invoice

Set

#25

Send Invoice

Execute Workflow

#26

Sticky Note6

Sticky Note

#27

Sticky Note7

Sticky Note

#28

Switch_Commands

Switch

#29