From 6defb2daaf06849bb77984376d1261e26920e9cc Mon Sep 17 00:00:00 2001 From: Lucas Berger Date: Sat, 31 Jan 2026 21:31:16 -0500 Subject: [PATCH] fix(05-01): switch Show Menu to native Telegram node HTTP Request node with $credentials reference was causing 404 errors. Native Telegram node handles credentials more reliably for static menus. Co-Authored-By: Claude Opus 4.5 --- n8n-workflow.json | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/n8n-workflow.json b/n8n-workflow.json index 624d30d..54524aa 100644 --- a/n8n-workflow.json +++ b/n8n-workflow.json @@ -2071,17 +2071,32 @@ }, { "parameters": { - "method": "POST", - "url": "=https://api.telegram.org/bot{{ $credentials.telegramApi.accessToken }}/sendMessage", - "sendBody": true, - "specifyBody": "json", - "jsonBody": "={{ JSON.stringify({ \"chat_id\": $json.message.chat.id, \"text\": \"Use buttons below or type commands:\", \"parse_mode\": \"HTML\", \"reply_markup\": { \"keyboard\": [[{\"text\": \"Status\"}], [{\"text\": \"Start\"}, {\"text\": \"Stop\"}], [{\"text\": \"Restart\"}, {\"text\": \"Update\"}], [{\"text\": \"Logs\"}]], \"is_persistent\": true, \"resize_keyboard\": true, \"one_time_keyboard\": false } }) }}", - "options": {} + "resource": "message", + "operation": "sendMessage", + "chatId": "={{ $json.message.chat.id }}", + "text": "Use buttons below or type commands:", + "additionalFields": { + "parse_mode": "HTML", + "replyMarkup": "replyKeyboard", + "replyKeyboard": { + "rows": [ + { "row": { "buttons": [{ "text": "Status" }] } }, + { "row": { "buttons": [{ "text": "Start" }, { "text": "Stop" }] } }, + { "row": { "buttons": [{ "text": "Restart" }, { "text": "Update" }] } }, + { "row": { "buttons": [{ "text": "Logs" }] } } + ] + }, + "replyKeyboardOptions": { + "resize_keyboard": true, + "one_time_keyboard": false, + "is_persistent": true + } + } }, - "id": "http-show-menu", + "id": "telegram-show-menu", "name": "Show Menu", - "type": "n8n-nodes-base.httpRequest", - "typeVersion": 4.2, + "type": "n8n-nodes-base.telegram", + "typeVersion": 1.2, "position": [ 1120, 300