Telegram bot inline keyboard with dynamic menus & rating system
Needs changesWhat this workflow does
This workflow has 6 nodes and runs on Telegram events (message, callback query). Along the way it connects Telegram.
How it runs
Trigger: On Telegram events (message, callback query).
- Prepare Magic Response (Function): runs custom JavaScript (legacy Function node)
- Set Bot Token API KEY (Edit Fields (Set)): sets 1 field: botToken
- Is CALLBACK? (If): checks a condition and branches into true / false
- Send to Telegram API (HTTP Request): calls an HTTP API (POST)
- Answer Callback (HTTP Request): calls an HTTP API (POST)
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- Function (legacy) in Prepare Magic Response: replace with Code node, mode 'Run Once for All Items'.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| Function (legacy) Prepare Magic Response | Code node, mode 'Run Once for All Items' |
Nodes used (5)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Function
n8n-nodes-base.function - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest
From the author
🤖 Telegram Bot with Dynamic Menus & Rating System What It Does This n8n workflow creates an interactive Telegram bot with: - Dynamic inline keyboards that respond to user clicks - 5-star rating system for collecting feedback - Personalized responses using…