This workflow corresponds to n8n.io template #9313 — we link there as the canonical source.
This workflow follows the HTTP Request → OpenAI 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 →
{
"id": "XTvkW37T9MH4fxaj",
"name": "Create AI UGC Videos from Telegram with HeyGen",
"tags": [],
"nodes": [
{
"id": "1c284d51-ed8e-442f-b4b1-204643177fbf",
"name": "is Completed",
"type": "n8n-nodes-base.if",
"position": [
1632,
0
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "d094edcc-f3de-48c9-81fd-2106e9b7b687",
"name": "Message Trigger",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
0,
48
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "8c5c5d4f-5ebc-4fcf-92fa-76ea065a84fb",
"name": "Downloading File",
"type": "n8n-nodes-base.telegram",
"position": [
224,
48
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "265d3d81-6d11-4e7a-8070-10dc55ed3fd1",
"name": "Transcribing voice memo",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
528,
48
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "88e0e25a-6d35-4f00-af9b-d7bd4b05e50c",
"name": "Setting ID Fields",
"type": "n8n-nodes-base.set",
"position": [
800,
48
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "9908f8b0-675f-4f91-92e7-9207d3a97040",
"name": "Generating Video",
"type": "n8n-nodes-base.httpRequest",
"position": [
1088,
48
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "0898d3b2-5f4e-4afb-8581-262804a85cc1",
"name": "Video Status Update",
"type": "n8n-nodes-base.httpRequest",
"position": [
1408,
48
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "cf33d8d9-a11e-46ad-a5d0-32da5ddb3403",
"name": "10s Buffer",
"type": "n8n-nodes-base.wait",
"position": [
1856,
0
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "d70d6d47-a8a5-461f-a9b6-c83f53dda053",
"name": "Setting Output",
"type": "n8n-nodes-base.set",
"position": [
1856,
192
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "5c5aa11e-a607-44f1-9c3c-ba29455ae844",
"name": "Sending Video URL",
"type": "n8n-nodes-base.telegram",
"position": [
2128,
48
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "e2106613-ef6f-4c06-85c1-78fcf0773945",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-320,
16
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "0404c28c-b714-46d7-8fd4-c86bf37873ca",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
128,
-160
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "060f82e6-33fc-4ef3-a869-845787edae38",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
432,
-160
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "da8d0799-9e37-46aa-8fd3-e6a089cf9d5d",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
720,
-160
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "59521bf6-0dba-4eea-b4cc-e600cd6f6271",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
1008,
-160
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "0fa39318-1869-43ab-b1ab-c8aa32a22bab",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
1328,
-160
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "936b78c4-fcce-4366-b51b-240d0630c7ac",
"name": "Sticky Note6",
"type": "n8n-nodes-base.stickyNote",
"position": [
2080,
-176
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "7d013da7-7b37-454d-a6af-a37e94adecc0",
"name": "Sticky Note7",
"type": "n8n-nodes-base.stickyNote",
"position": [
1792,
352
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "96f40cf9-5c3d-4bb9-92fa-67e1ea62d905",
"name": "Sticky Note8",
"type": "n8n-nodes-base.stickyNote",
"position": [
1776,
-208
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "568175e8-9d99-4439-93e9-c7c8c8c7b834",
"connections": {
"10s Buffer": {
"main": [
[
{
"node": "Video Status Update",
"type": "main",
"index": 0
}
]
]
},
"is Completed": {
"main": [
[
{
"node": "Setting Output",
"type": "main",
"index": 0
}
],
[
{
"node": "10s Buffer",
"type": "main",
"index": 0
}
]
]
},
"Setting Output": {
"main": [
[
{
"node": "Sending Video URL",
"type": "main",
"index": 0
}
]
]
},
"Message Trigger": {
"main": [
[
{
"node": "Downloading File",
"type": "main",
"index": 0
}
]
]
},
"Downloading File": {
"main": [
[
{
"node": "Transcribing voice memo",
"type": "main",
"index": 0
}
]
]
},
"Generating Video": {
"main": [
[
{
"node": "Video Status Update",
"type": "main",
"index": 0
}
]
]
},
"Setting ID Fields": {
"main": [
[
{
"node": "Generating Video",
"type": "main",
"index": 0
}
]
]
},
"Video Status Update": {
"main": [
[
{
"node": "is Completed",
"type": "main",
"index": 0
}
]
]
},
"Transcribing voice memo": {
"main": [
[
{
"node": "Setting ID Fields",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Turn Telegram voice messages into AI-generated videos and send the video link back to the chat. This workflow listens for messages, downloads the file, transcribes the audio, generates a video via HeyGen, and returns the final URL. Fast, automated UGC creation right inside…
Source: https://n8n.io/workflows/9313/ — 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.
Ask questions like “How much did I spend on food last month?” and get instant answers from your financial data — directly in Telegram.
Build a Telegram bot that helps users find AliExpress products using natural language requests. The bot uses OpenAI to optimize search queries, Decodo to scrape product listings, and AI analysis to se
Voice Note -> Veo 3 AD. Uses telegramTrigger, telegram, openAi, httpRequest. Event-driven trigger; 49 nodes.
> ⚠️ Disclaimer: This workflow uses Community Nodes and must be run on a self-hosted instance of n8n.
Viral Tik Tok Clone Finder. Uses httpRequest, telegramTrigger, openAi, googleSheets. Event-driven trigger; 41 nodes.