Wednesday, 15 April 2026

n8n Telegram Bot Tutorial (Step-by-Step Automation Guide)

n8n + Telegram Automation Tutorial

Build your own Telegram bot using n8n — send alerts, automate messages, and connect APIs in minutes 🚀

📌 What You'll Learn

  • Create Telegram Bot
  • Connect Telegram to n8n
  • Send Messages Automatically
  • Build Real Automation Workflow
  • Use Cases (Alerts, AI, CRM)

🤖 What is n8n + Telegram Automation?

By connecting n8n with Telegram, you can automate messages, alerts, and notifications directly to your phone or group.

💡 Example: Send alerts when someone submits a form, makes a payment, or triggers an IoT device.

🧩 Step 1: Create Telegram Bot

  1. Open Telegram
  2. Search for @BotFather
  3. Type /start
  4. Type /newbot
  5. Set name and username
⚠️ Save your Bot Token — you will use it in n8n

🔗 Step 2: Connect Telegram to n8n

  • Go to n8n → Credentials
  • Add new credential → Telegram
  • Paste your Bot Token

📩 Step 3: Send Telegram Message

Node: Telegram
Operation: Send Message

Chat ID: YOUR_CHAT_ID
Text: Hello from n8n 🚀

Run the node — you should receive a message instantly on Telegram.

⚡ Step 4: Get Your Chat ID

Send a message to your bot, then use this API:

https://api.telegram.org/botYOUR_TOKEN/getUpdates

Find your chat.id in the response JSON.

🔄 Real Automation Workflow

Webhook → HTTP Request → Telegram
  • Webhook receives data
  • HTTP Request processes API
  • Telegram sends notification

💡 Example: Send Form Data to Telegram

{
  "name": "{{ $json.name }}",
  "message": "{{ $json.message }}"
}

Telegram message:

📩 New Lead
Name: John Doe
Message: Hello!

🔥 Real Use Cases

IoT Alerts (ESP32, Sensors)
Website Lead Notifications
Payment Alerts (Xendit)
AI Chatbot Notifications

❌ Common Errors

❌ Invalid Bot Token
❌ Wrong Chat ID
❌ Bot not started
❌ No permission in group

✅ Pro Tips

  • Use Markdown formatting in messages
  • Send images using Telegram node
  • Combine with Google Sheets logging
  • Use IF node for smart alerts

🚀 Want Full n8n Telegram System?

I can build complete automation (AI bot, CRM alerts, IoT notifications)

Contact Me

FAQ

Q: Is Telegram free?
Yes, completely free API.

Q: Can I send images?
Yes, using Telegram node.

Q: Can I build chatbot?
Yes, combine with n8n + AI.


SEO Title: n8n Telegram Bot Tutorial (Step-by-Step Automation Guide)

Meta Description: Learn how to connect Telegram bot to n8n and automate messages, alerts, and workflows easily.

No comments:

Post a Comment

n8n Telegram Bot Tutorial (Step-by-Step Automation Guide)

n8n + Telegram Automation Tutorial Build your own Telegram bot using n8n — send alerts, automate messages, and conne...