Telegram bot with menu-driven commands
Ready for 3.0Ready 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.
- Command Check (If): checks a condition and branches into true / false
- Send Typing action (Telegram): uses Telegram
- Switch: routes items into branches
- Prepare IF Value (Code): runs custom JavaScript code
- Set waitingForContent (Code): runs custom JavaScript code
- Set waitingForContent (Code): runs custom JavaScript code
- Set waitingForContent (Code): runs custom JavaScript code
- Check State (Switch): routes items into branches
- Command1 content request (Telegram): uses Telegram
- Command2 content request (Telegram): uses Telegram
…plus 7 more steps. See the full node list below.
Services it uses
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)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Switch
n8n-nodes-base.switch - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Telegram
n8n-nodes-base.telegram - No Operation, do nothing
n8n-nodes-base.noOp
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…