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