Loader

n8n Telegram and WhatsApp Automation: A Practical Guide

Chat apps are where customers and teams already are. See how n8n connects to Telegram and WhatsApp, and what to set up on the server.

  • Telegram bot setup
  • WhatsApp Business API
  • HTTPS webhook basics
n8n Telegram and WhatsApp Automation: A Practical Guide
  • 26 October 2026
  • by Admin

n8n Telegram and WhatsApp Automation: A Practical Guide

Telegram and WhatsApp are popular channels for alerts, support and simple chatbots. n8n has nodes for both. The hard part on a self-hosted server is usually not the workflow, it is getting a public HTTPS webhook URL working.

What you need first

  • n8n running on a server with a domain and a valid HTTPS certificate.
  • WEBHOOK_URL set to your public address. See the environment variables guide.
  • An active workflow, because the production webhook only listens when active.

Telegram: step by step

  • Open Telegram and talk to @BotFather. Create a bot and copy the token.
  • In n8n, add a Telegram credential with that token.
  • Add the Telegram Trigger node and choose the updates you want, such as messages.
  • Add nodes that process the message and a Telegram node to reply.
  • Activate the workflow. n8n registers the webhook with Telegram.

Telegram only sends events to HTTPS URLs with a valid certificate, so if nothing arrives, check HTTPS, DNS and WEBHOOK_URL. Our webhook troubleshooting guide lists the common causes.

Telegram ideas

  • Server or website down alerts.
  • New order or payment notifications.
  • A command bot that returns report numbers.
  • Daily summary messages for a team group.

WhatsApp: what is different

WhatsApp automation normally uses the official WhatsApp Business Platform (Cloud API) from Meta. You need a Meta business account, a phone number set up for the API and approved message templates for messages that start a conversation. In n8n you use the WhatsApp Business Cloud nodes and a webhook that Meta calls with incoming messages. Rules and pricing are set by Meta and can change, so read their current documentation.

WhatsApp ideas

  • Order confirmations and shipping updates.
  • Appointment reminders.
  • Replies to common questions, with a handoff to a person for hard ones.
  • Lead capture from a click-to-chat link.

Good practice

  • Only message people who agreed to hear from you.
  • Follow each platform's rules. Spam gets numbers banned.
  • Verify webhook signatures where the platform supports it.
  • Keep tokens in n8n credentials, not in workflow text.
  • Run the workflow on a server so it answers 24/7.

For more starter automations, see 10 n8n workflows every startup should automate. For safe hosting, see the n8n security checklist.

A managed n8n server comes with HTTPS and a stable address for Telegram and WhatsApp webhooks.

Explore Managed n8n Hosting

Frequently asked questions

  • Why does my n8n Telegram trigger not work?
    Telegram needs a public HTTPS webhook with a valid certificate. Check WEBHOOK_URL, DNS, HTTPS and that the workflow is active.
  • Can n8n send WhatsApp messages?
    Yes, through the WhatsApp Business Cloud API from Meta, which needs a business account and approved templates.
  • Can I run Telegram bots from n8n on my own server?
    Yes. Host n8n on a VPS with HTTPS and use the Telegram Trigger and Telegram nodes.