From 5e7cab54ca1961b4a33073a20619613593c7846e Mon Sep 17 00:00:00 2001 From: Lucas Berger Date: Fri, 30 Jan 2026 22:37:09 -0500 Subject: [PATCH] fix(batch): convert Send Batch Confirmation to native Telegram node HTTP Request node with credential access via URL expression was failing. Native Telegram node handles credentials internally and is more reliable for this use case. --- n8n-workflow.json | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/n8n-workflow.json b/n8n-workflow.json index 360ec64..c029c30 100644 --- a/n8n-workflow.json +++ b/n8n-workflow.json @@ -718,17 +718,19 @@ }, { "parameters": { - "method": "POST", - "url": "=https://api.telegram.org/bot{{ $credentials.telegramApi.accessToken }}/sendMessage", - "sendBody": true, - "specifyBody": "json", - "jsonBody": "={{ JSON.stringify({ chat_id: $json.chat_id, text: $json.text, parse_mode: $json.parse_mode, reply_markup: $json.reply_markup }) }}", - "options": {} + "resource": "message", + "operation": "sendMessage", + "chatId": "={{ $json.chat_id }}", + "text": "={{ $json.text }}", + "additionalFields": { + "parse_mode": "HTML", + "reply_markup": "={{ JSON.stringify($json.reply_markup) }}" + } }, - "id": "http-send-batch-confirm", + "id": "telegram-send-batch-confirm", "name": "Send Batch Confirmation", - "type": "n8n-nodes-base.httpRequest", - "typeVersion": 4.2, + "type": "n8n-nodes-base.telegram", + "typeVersion": 1.2, "position": [ 2000, 500