This workflow follows the HTTP Request → Telegram recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "Telegram Voice to Post",
"nodes": [
{
"parameters": {
"updates": [
"message"
],
"additionalFields": {}
},
"id": "telegram-trigger-1",
"name": "Telegram Trigger",
"type": "n8n-nodes-base.telegramTrigger",
"typeVersion": 1.1,
"position": [
250,
300
],
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"operation": "getFile",
"fileId": "={{ $json.message.voice.file_id }}"
},
"id": "telegram-getfile-1",
"name": "Get Voice File",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
450,
300
],
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"method": "GET",
"url": "=https://api.telegram.org/file/botYOUR_BOT_TOKEN/{{ $json.result.file_path }}",
"options": {
"response": {
"response": {
"responseFormat": "file"
}
}
}
},
"id": "http-download-1",
"name": "Download Voice File",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
650,
300
]
},
{
"parameters": {
"method": "POST",
"url": "https://api.openai.com/v1/audio/transcriptions",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer YOUR_OPENAI_KEY"
}
]
},
"sendBody": true,
"contentType": "multipart-form-data",
"bodyParameters": {
"parameters": [
{
"parameterType": "formBinaryData",
"name": "file",
"inputDataFieldName": "data"
},
{
"name": "model",
"value": "whisper-1"
}
]
},
"options": {}
},
"id": "whisper-transcribe-1",
"name": "Whisper Transcription",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
850,
300
]
},
{
"parameters": {
"method": "POST",
"url": "https://api.openai.com/v1/chat/completions",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer YOUR_OPENAI_KEY"
},
{
"name": "Content-Type",
"value": "application/json"
}
]
},
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={ \"model\": \"gpt-4o\", \"messages\": [{ \"role\": \"system\", \"content\": \"Format the voice transcription into an engaging Telegram channel post. Keep author tone. Add relevant emoji. Max 300 words.\" }, { \"role\": \"user\", \"content\": {{ JSON.stringify($json.text) }} }], \"max_tokens\": 500 }",
"options": {}
},
"id": "gpt4o-format-1",
"name": "GPT-4o Format Post",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
1050,
300
]
},
{
"parameters": {
"chatId": "YOUR_CHANNEL_ID",
"text": "={{ $json.choices[0].message.content }}",
"additionalFields": {
"parse_mode": "Markdown"
}
},
"id": "telegram-send-channel-1",
"name": "Send to Channel",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
1250,
300
],
"credentials": {
"telegramApi": {
"name": "<your credential>"
}
}
}
],
"connections": {
"Telegram Trigger": {
"main": [
[
{
"node": "Get Voice File",
"type": "main",
"index": 0
}
]
]
},
"Get Voice File": {
"main": [
[
{
"node": "Download Voice File",
"type": "main",
"index": 0
}
]
]
},
"Download Voice File": {
"main": [
[
{
"node": "Whisper Transcription",
"type": "main",
"index": 0
}
]
]
},
"Whisper Transcription": {
"main": [
[
{
"node": "GPT-4o Format Post",
"type": "main",
"index": 0
}
]
]
},
"GPT-4o Format Post": {
"main": [
[
{
"node": "Send to Channel",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
},
"meta": {
"templateCredsSetupCompleted": false
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
telegramApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Telegram Voice to Post. Uses telegramTrigger, telegram, httpRequest. Event-driven trigger; 6 nodes.
Source: https://github.com/mike-prokhorov/n8n-automation-templates/blob/main/telegram-voice-to-post/telegram-voice-to-post.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
N8N Complete Final. Uses telegramTrigger, dataTable, telegram, mqtt. Event-driven trigger; 58 nodes.
TextMain. Uses telegramTrigger, stopAndError, telegram, httpRequest. Event-driven trigger; 56 nodes.
Pede Ai. Uses httpRequest, telegram, postgres, telegramTrigger. Event-driven trigger; 53 nodes.
📄 Documentation: Notion Guide
Telegram Wait. Uses stickyNote, httpRequest, redis, noOp. Event-driven trigger; 36 nodes.