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.
This commit is contained in:
Lucas Berger
2026-01-30 22:37:09 -05:00
parent 23ce6a88d5
commit 5e7cab54ca
+11 -9
View File
@@ -718,17 +718,19 @@
}, },
{ {
"parameters": { "parameters": {
"method": "POST", "resource": "message",
"url": "=https://api.telegram.org/bot{{ $credentials.telegramApi.accessToken }}/sendMessage", "operation": "sendMessage",
"sendBody": true, "chatId": "={{ $json.chat_id }}",
"specifyBody": "json", "text": "={{ $json.text }}",
"jsonBody": "={{ JSON.stringify({ chat_id: $json.chat_id, text: $json.text, parse_mode: $json.parse_mode, reply_markup: $json.reply_markup }) }}", "additionalFields": {
"options": {} "parse_mode": "HTML",
"reply_markup": "={{ JSON.stringify($json.reply_markup) }}"
}
}, },
"id": "http-send-batch-confirm", "id": "telegram-send-batch-confirm",
"name": "Send Batch Confirmation", "name": "Send Batch Confirmation",
"type": "n8n-nodes-base.httpRequest", "type": "n8n-nodes-base.telegram",
"typeVersion": 4.2, "typeVersion": 1.2,
"position": [ "position": [
2000, 2000,
500 500