Connect a Telegram Bot to n8n for Notifications
September 10, 2025 · Mike Murphy
In this tutorial, you will learn how to create your own Telegram bot using BotFather and connect it to n8n for automated notifications and workflows! This step-by-step tutorial covers everything from bot creation to getting those tricky chat IDs.
Description
**In this tutorial, you will learn how to create your own Telegram bot using BotFather and connect it to n8n for automated notifications and workflows! This step-by-step tutorial covers everything from bot creation to getting those tricky chat IDs.
**Why Do This?
**Perfect for automating n8n workflow notifications, alerts, and updates directly to your Telegram App!
🤖 What You’ll Learn:
- Create a new Telegram bot using BotFather
- Set up the Telegram node in n8n
- Find your chat ID (with an easy template method!)
- Send automated notifications from n8n to Telegram
- Troubleshoot common setup issues
————————————
**Telegram:
**https://telegram.org/
n8n:
https://n8n.io/
**Hostinger VPS (use n8n for free):
**https://mikemurphy.co/vps
**1Password Password Manager:
**https://mikemurphy.co/1password
**Get Chat ID:
**https://api.telegram.org/bot\[YOUR_BOT_TOKEN\]/getUpdates
—————The API Request Recipe———————
✅** Chapters:**
00:00 Intro: About The Tutorial
00:12 What is Telegram?
00:25 What is n8n?
00:37 Why Connect n8n + Telegram?
01:23 How To Create Telegram Chatbot
02:00 Name Your Bot + Username
02:46 Telegram Confirmation
03:03 Customize Bot Profile
03:39 HTTP API Token
04:10 Create Saved Credentials (N8N)
04:38 Saving API Keys
05:03 Password Managers
05:34 Add New N8N Workflow
06:01 Get Chat ID
06:22 Chat ID URL (Paste in Browser)
06:50 Add API Key to URL
07:14 Copy/Paste in Browser
07:37 Paste Chat ID in N8N
08:07 Re-using Chat IDs in N8N
08:49 Duplicating Workflows
🪜How To Create Telegram Bot Using BotFather:
- Open Discord App
- Search for “@BotFather”
- Start a conversation with BotFather
- Send /newbot command to BotFather
- Choose a display name for your bot (e.g., “AI Mike Bot”)
- Choose a unique username ending in “bot” (e.g., “aimikebot”)
- BotFather will confirm creation and provide your bot token
- Click the Profile Link to Customize
- Copy API Key (Token) in Telegram
- Go to n8n
- Click the Plus (+) icon and then ‘Save Credential’
🪜How To Setup Telegram Node in N8N:
- Click Plus (+) Icon, select ’Workflow’
- Click + To add a new Node
- Search for ‘Telegram’ and click to add to n8n Canvas
- Search Telegram Node for ‘Send Text Message’
🪜How To Get Chat ID:
- Start a conversation with your new bot (Telegram)
- Send any message to the bot
- Visit: https://api.telegram.org/bot\[YOUR_BOT_TOKEN\]/getUpdates
- Find your chat ID in the JSON response (under “chat” > “id”)
- Copy ID
• 6. Return to N8N and paste in ‘Chat ID’ field of Telegram Node