Developer & DevOps

Telegram automation

21 nodes 204 107 Automatic trigger
Download

Workflow Description

Advanced Telegram automation template that receives messages and processes them programmatically, with capabilities for spreadsheet data storage, system command execution, and HTTP requests. Perfect for development teams building intelligent, multi-functional bots.

How it works

  1. 1.Activate Telegram trigger to receive incoming messages in real-time
  2. 2.Process messages through conditional and switch nodes to distinguish request types
  3. 3.Execute system commands or HTTP requests based on message content and conditions
  4. 4.Store data and files in spreadsheets and binary formats for logging and persistence

Use cases

  • Build a Telegram bot that manages development tasks and sends instant alerts to technical teams
  • Automate data collection from Telegram and organize it systematically in spreadsheets
  • Create an interactive system that receives commands via Telegram and executes them directly on servers

Requirements

  • Active Telegram account with a valid bot token obtained from BotFather
  • Access to file system or spreadsheet storage service for data persistence
  • Basic understanding of JSON data formats and conditional expressions
  • Ability to connect to external servers when implementing HTTP requests

Service Value

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

Apps Used

Telegram Spreadsheet File

Details

Trigger Automatic trigger
Nodes 21
Apps 2
Views 204
Downloads 107

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

/

Switch

Switch

#1

msg_greet

Set

#2

msg_wrongcommand

Set

#3

Telegram Trigger

Set

#4

msg_getweather

Set

#5

City List

Function

#6

Convert API response

Function

#7

Get weather data

HTTP Request

#8

Spreadsheet File

Spreadsheet File

#9

Write csv

Write Binary File

#10

Filename

Set

#11

msg_errorAPI

Set

#12

Any errors API?

If

#13

msg_errorR

Set

#14

Read Binary File

Read Binary File

#15

R successful?

If

#16

Merge

Merge

#17

Merge1

Merge

#18

msg_pleasewait

Set

#19

Merge2

Merge

#20

Run R script

Execute Command

#21