Skip to main content

Create AI UGC videos from Telegram voice notes using OpenAI & HeyGen

Workflow preview

Workflow preview
100%
Create AI UGC videos from Telegram voice notes using OpenAI & HeyGen preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Description 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 ...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.if, n8n-nodes-base.telegramtrigger, n8n-nodes-base.telegram, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.wait, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Rahul Joshi.

Original n8n.io source

1.1 Workflow description

Title
Create AI UGC videos from Telegram voice notes using OpenAI & HeyGen
Workflow name
Create AI UGC videos from Telegram voice notes using OpenAI & HeyGen

Description

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 Telegram. ✨

What This Template Does

  • Listens for new Telegram messages and triggers the flow.
  • Downloads attached files (e.g., voice memos).
  • Transcribes the voice memo to text.
  • Generates a video via HeyGen using the transcription.
  • Polls HeyGen for video status, waits with a short buffer, and sends the final video URL back.

Key Benefits

  • Automates UGC creation from Telegram messages ⚡
  • Reduces manual steps from file handling to final video delivery 🧩
  • Keeps users in Telegram for a smooth, chat-native experience 📲
  • Modular nodes make it easy to customize or extend 🔧

Features

  • Telegram message trigger and message updates 🛎️
  • File download and retrieval for processing 📥
  • Voice transcription step for audio-to-text 🎙️➡️📝
  • HeyGen video generation via POST and status checks via GET 🌐
  • 10-second buffer to allow external processing ⏱️
  • Automatic return of the video URL to the chat 🔗

Requirements

Target Audience

  • Teams creating AI UGC directly from chat workflows 📢
  • Marketing and social teams capturing quick briefs via voice 🧑
  • Agencies standardizing UGC production pipelines 🏢
  • Ops and support teams needing rapid content responses 🚀

Step-by-Step Setup Instructions (Concise)

  • Connect Telegram Bot credentials in n8n and select the chat/channel for Message Trigger 🤝
  • Add your HeyGen API key in n8n Credentials and map it in the HTTP Request nodes 🔑
  • Ensure the transcription node is configured to convert audio to text and map output to video generation 🧭
  • Import the workflow, assign credentials to all nodes, and replace any placeholders 🧩
  • Run once to test end-to-end; adjust the 10s buffer if videos take longer ⏳

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - is Completed

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 2 - Message Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 3 - Downloading File

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 4 - Transcribing voice memo

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 5 - Setting ID Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 6 - Generating Video

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - Video Status Update

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 8 - 10s Buffer

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 9 - Setting Output

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 10 - Sending Video URL

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 11 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Create AI UGC videos from Telegram voice notes using OpenAI & HeyGen
Complexity advanced
Nodes 19
Categories Content Creation, Multimodal AI
Author Rahul Joshi
Published 06 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9313/9313.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Create AI UGC videos from Telegram voice notes using OpenAI & HeyGen do?

Description 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 ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.