Developer & DevOps

Connect n8n with Telegram

12 nodes 201 110 Automatic trigger
Download

Workflow Description

An automation template connecting n8n with Telegram via a trigger that receives incoming messages and processes them through filter and conditional routing nodes to direct messages to different processing paths based on content type and sender.

How it works

  1. 1.Activate the Telegram trigger to automatically receive new incoming messages
  2. 2.Apply filter conditions to validate and extract relevant data from messages
  3. 3.Use switch nodes to route messages to different processing workflows based on content criteria
  4. 4.Send responses and notifications back to specified Telegram channels or conversations

Use cases

  • Receive user requests through a Telegram bot and automatically process them in n8n workflows
  • Send alerts and notifications from external applications to group Telegram chats
  • Automate command handling and FAQ responses through Telegram bot with keyword-based triggers

Requirements

  • Active n8n account with workflow creation permissions
  • Telegram bot created with valid API token configured
  • Basic understanding of conditional logic and data filtering 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 201
Downloads 110

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