Effortlessly create user-generated content (UGC) videos from Telegram voice messages. This powerful n8n workflow uses the OpenAI n8n node for transcription and HeyGen via HTTP to generate AI videos automatically.
Download this n8n workflow template and start using it instantly.
Content Creators: Individuals looking to automate the conversion of spoken ideas (voice notes) into visual content.
Marketing Teams: Teams wanting to quickly produce UGC-style video snippets for social media from internal communications.
n8n Developers: Users seeking advanced examples of integrated AI services, including loops and asynchronous API polling within an n8n workflow.
Automation Specialists: Anyone who needs robust n8n templates for handling media files and external APIs like HeyGen and OpenAI.
This automation solves the challenge of manually transforming voice messages into high-quality, consumable video content. By leveraging a sophisticated n8n workflow, the process becomes instantaneous. When a voice note is received on Telegram, the n8n trigger captures it. The file is downloaded, transcribed accurately using the OpenAI n8n node's powerful models, and then passed to HeyGen for avatar-based video generation. The core value of this n8n template lies in its asynchronous handling, utilizing a status check loop that polls the HeyGen API until the video is complete, ensuring reliable delivery of the final product back to the user via Telegram. This specific n8n workflow showcases how seamless AI integration can be.
This powerful n8n workflow operates entirely automatically once configured:
To deploy this comprehensive n8n workflow, follow these steps:
This n8n template requires external service credentials to function fully.
This n8n workflow utilizes several key nodes to achieve its goal:
Message Trigger (Telegram Trigger n8n node):
Function: Starts the n8n workflow upon receiving a new message (specifically voice notes).
Key Configuration: Configured as a webhook trigger listening for incoming updates.
Downloading File (Telegram n8n node):
Function: Downloads the voice note content linked in the trigger payload.
Key Configuration: Uses the file resource to fetch the actual audio data.
Transcribing voice memo (OpenAI n8n node):
Function: Processes the audio file to generate a text transcript.
Key Configuration: Configured for transcription/speech-to-text operation, typically using the Whisper model via the OpenAI integration.
Generating Video (HTTP Request n8n node):
Function: Initiates the video creation job on the HeyGen platform, passing the transcribed text as the script.
Key Configuration: POST request to the HeyGen API endpoint for video generation, including the dynamic script input from the previous n8n node.
Video Status Update (HTTP Request n8n node):
Function: Periodically checks the status of the video job.
Key Configuration: GET request to the HeyGen status endpoint, using the job ID set in the previous n8n node.
is Completed (If n8n node):
Function: Controls the polling loop, determining if the video creation process is finished.
Key Configuration: Checks the status field returned by the HeyGen API for a 'completed' value.
10s Buffer (Wait n8n node):
Function: Implements a fixed 10-second delay if the video is not yet complete, crucial for managing API rate limits and efficient waiting in the n8n workflow loop.
Use this powerful n8n workflow to build an intelligent RAG-powered support assistant leveraging Pinecone and GPT-4-mini. Provide instant, accurate device troubleshooting based on uploaded manuals.

Automate hyper-personalized B2B outreach using this powerful n8n workflow. Triggers on Google Sheets, runs AI research (Perplexity), generates HeyGen video and ElevenLabs voice notes, and sends via Gmail/Twilio.

Automate content creation using GPT-4o in this advanced n8n workflow. Generate, review, approve via email, and instantly send mass newsletters using SendGrid.

Automate complex AI video production using this advanced n8n workflow. Integrate OpenAI for scripting, Leonardo AI for images, HeyGen for avatars, and json2video for final rendering.

Use this comprehensive n8n workflow to fully automate AI video production, integrating OpenAI for scripting, Leonardo/Runway for visuals, and HeyGen for avatars.

Use this advanced n8n workflow to automate the creation of viral video content using NanoBanana 2 PRO and VEO3.1, triggered via Telegram, and instantly published across all major social networks via Blotato. This n8n workflow is a complete content solution.

Rahul Joshi is a seasoned technology leader specializing in the n8n automation tool and AI-driven workflow automation. With deep expertise in building open-source workflow automation and self-hosted automation platforms, he helps organizations eliminate manual processes through intelligent n8n ai agent automation solutions.







































