Templates / Telegram bot with menu-driven commands

Telegram bot with menu-driven commands

Ready for 3.0

by Daniel Jimenez · 19,266 views · created 2025-03-01 · Support Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 21 nodes and runs on Telegram events. Along the way it connects Telegram.

How it runs

Trigger: On Telegram events.

  1. Command Check (If): checks a condition and branches into true / false
  2. Send Typing action (Telegram): uses Telegram
  3. Switch: routes items into branches
  4. Prepare IF Value (Code): runs custom JavaScript code
  5. Set waitingForContent (Code): runs custom JavaScript code
  6. Set waitingForContent (Code): runs custom JavaScript code
  7. Set waitingForContent (Code): runs custom JavaScript code
  8. Check State (Switch): routes items into branches
  9. Command1 content request (Telegram): uses Telegram
  10. Command2 content request (Telegram): uses Telegram

…plus 7 more steps. See the full node list below.

Services it uses

Telegram

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

This template provides a structured way to build Telegram bots that respond to specific commands and handle user input. It allows users to interact with your bot by selecting options from a Telegram bot menu, without needing to type out full instructions or…

Excerpt from Daniel Jimenez's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.