Developer & DevOps

Receive Telegram messages and execute automated responses

29 nodes 177 106 Automatic trigger
Download

Workflow Description

Automation that listens for incoming Telegram messages and processes them programmatically, with conditional logic routing based on message type and automated reply delivery. Supports data processing via custom code and HTTP requests to external integrations.

How it works

  1. 1.Receive new message from a Telegram channel or chat
  2. 2.Process message content and evaluate routing conditions using code
  3. 3.Route the request to an external service via HTTP or send a direct reply
  4. 4.Send confirmation or result message back to the user on Telegram

Use cases

  • Receive commands and inquiries from users and execute them automatically
  • Monitor alerts and errors and deliver them instantly through a Telegram bot
  • Process customer forms and requests sent via Telegram and log them

Requirements

  • Valid and active Telegram bot token
  • Basic knowledge of writing JavaScript or Python code for logic processing

Service Value

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

Apps Used

Telegram

Details

Trigger Automatic trigger
Nodes 29
Apps 1
Views 177
Downloads 106

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)

/

Telegram Trigger

Set

#1

Code

Code

#2

HTTP Request3

HTTP Request

#3

Telegram2

Set

#4

Telegram1

Set

#5

Telegram4

Set

#6

Telegram3

Set

#7

Telegram5

Set

#8

Telegram6

Set

#9

Telegram7

Set

#10

NeurochainAI - REST API

HTTP Request

#11

TYPING - ACTION

Set

#12

AI Response

Set

#13

No response

Set

#14

Prompt too short

Set

#15

Sticky Note

Sticky Note

#16

Switch2

Switch

#17

Sticky Note1

Sticky Note

#18

Sticky Note2

Sticky Note

#19

Sticky Note3

Sticky Note

#20

Sticky Note4

Sticky Note

#21

Sticky Note5

Sticky Note

#22

Code1

Code

#23

Sticky Note6

Sticky Note

#24

Sticky Note7

Sticky Note

#25

Switch

Switch

#26

Sticky Note8

Sticky Note

#27

NeurochainAI - Flux

HTTP Request

#28

Switch1

Switch

#29