Telegram Bot with Menu-Driven Commands
Structured Telegram bot template for handling menu-selected commands deterministically, without AI agents. Enables precise control, user prompts, and easy extension for custom logic.
This n8n workflow template creates a robust Telegram bot that responds to user-selected commands from a menu, providing predictable and controlled interactions. Unlike AI-driven agents, it uses Switch nodes to route based on commands like /command1, /command2, and /command3, prompting users for input via dedicated Telegram nodes. Placeholder nodes allow seamless insertion of custom processing logic.
Key benefits include deterministic behavior, eliminating parsing errors from natural language, and efficient command routing for scalable bot development. It's ideal for applications requiring structured user flows, such as support bots, order systems, or data collection tools, saving hours of custom coding.
Use cases span customer service (e.g., ticket creation via menu), e-commerce (order tracking commands), and internal tools (admin dashboards). Easily extensible, it fills n8n's gap in native Telegram command handling, offering a professional foundation for production bots.
Customization is straightforward: configure Telegram credentials, define menu options, and replace placeholders with integrations like databases or APIs for powerful automations.
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Secure checkout powered by Stripe
Tags
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related File & Document Management workflows
- Automate Invoice Data Extraction to Airtable with OCR and AI$14.99
- Save new Gmail attachments to Google Drive$3.99
- Automate PDF Invoice Creation from Google Sheets Using PDF.co$4.99
- Create Custom PDF Documents from Templates with Gemini & Google Drive$24.99
- Automatically Save and Organize Outlook Email Attachments in OneDrive Folders$9.99
- Automate Invoice Data Extraction from Google Drive to Google Sheets with Mistral OCR$14.99
More from Jana Hedlund
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.