Developer & DevOps

Receive Telegram messages and trigger n8n workflows

12 nodes 279 139 Automatic trigger
Download

Workflow Description

Automation that connects Telegram channels with n8n platform, capturing incoming messages and executing specific workflows. Messages can be filtered and routed to different processes based on defined conditions and message content.

How it works

  1. 1.Enable Telegram bot and link the token to n8n
  2. 2.Receive new messages via trigger in n8n workflow
  3. 3.Filter messages by type or content criteria
  4. 4.Route messages to different processes using switch node
  5. 5.Process data and send automated responses

Use cases

  • Build a customer support bot that responds to Telegram inquiries automatically
  • Extend n8n capabilities with an interactive chat interface for users
  • Execute different tasks based on commands sent through Telegram

Requirements

  • Active n8n account with workflow creation permissions
  • Functioning Telegram bot with valid access token configured
  • Basic understanding of filters and conditional logic in n8n

Service Value

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

Apps Used

N8N Telegram

Details

Trigger Automatic trigger
Nodes 12
Apps 2
Views 279
Downloads 139

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

/

Sticky Note

Sticky Note

#1

Keep only messages from a specific chat id

Filter

#2

Sticky Note1

Sticky Note

#3

Deactivate the marketing workflow

N8N

#4

Deactivate the sales workflow

N8N

#5

Activate the marketing workflow

N8N

#6

Switch depending on content (activate)

Switch

#7

Sticky Note2

Sticky Note

#8

Receive commands from Telegram

Set

#9

Activate the sales workflow

N8N

#10

Switch depending on command

Switch

#11

Switch depending on content (deactivate)

Switch

#12