Generate AI avatar videos from text with HeyGen and upload to YouTube
Create Video with HeyGen and Upload to YouTube Overview This workflow automates the process of creating an AI-generated avatar video using HeyGen and directly uploading it to YouTube. By sending text input via a webho...
Template notes
Create Video with HeyGen and Upload to YouTube
Overview This workflow automates the process of creating an AI-generated avatar video using HeyGen and directly uploading it to YouTube. By sending text input via a webhook, the workflow generates a video with a chosen avatar and voice, waits for processing, downloads the completed file, and publishes it to your configured YouTube channel.
This template is ideal for automating content creation pipelines, such as daily news updates, explainer videos, or narrated scripts, without manual intervention.
---
Use Case - Marketing teams: Automate explainer or promotional video creation from text input. - Content creators: Generate AI-based avatar videos for YouTube directly from scripts. - Organizations: Streamline video generation for announcements, product updates, or tutorials.
Instead of recording and editing videos manually, this template allows you to feed text content into a webhook and have a ready-to-publish video on your YouTube channel within minutes.
---
How It Works 1. Webhook Trigger: The workflow starts when text content and a title are sent to the webhook endpoint. 2. Code Node: Cleans and formats the input text by removing unnecessary newlines and returns it with the title. 3. Set Node: Prepares HeyGen parameters, including API key, avatar ID, voice ID, title, and content. 4. HeyGen API Call: Sends the request to generate a video with the provided avatar and voice. 5. Wait Node: Pauses briefly to allow HeyGen to process the video. 6. Video Status Check: Polls HeyGen to check whether the video has finished processing. 7. Conditional Check: If the video is still processing, it loops back to wait. Once complete, it moves forward. 8. Download Node: Retrieves the generated video file. 9. YouTube Upload Node: Uploads the video to your YouTube channel with the provided title and default settings.