Templates / Telegram bot inline keyboard with dynamic menus & rating system

Telegram bot inline keyboard with dynamic menus & rating system

Needs changes

by Ruslan Elishev ✓ · 4,669 views · created 2025-08-20 · Support Chatbot, Multimodal AI

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: Function (legacy). 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What 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).

  1. Prepare Magic Response (Function): runs custom JavaScript (legacy Function node)
  2. Set Bot Token API KEY (Edit Fields (Set)): sets 1 field: botToken
  3. Is CALLBACK? (If): checks a condition and branches into true / false
  4. Send to Telegram API (HTTP Request): calls an HTTP API (POST)
  5. Answer Callback (HTTP Request): calls an HTTP API (POST)

Services it uses

Telegram

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).

Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →

Removed in 3.0Replace with
Function (legacy)
Prepare Magic Response
Code node, mode 'Run Once for All Items'

Nodes used (5)

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…

Excerpt from Ruslan Elishev'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.