Generate AI avatar videos from text with HeyGen and upload to YouTube
Ready for 3.0What this workflow does
This workflow has 9 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects YouTube. It also calls api.heygen.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Code: runs custom JavaScript code
- Setup Heygen Parameters (Edit Fields (Set)): sets or maps fields
- Create Avatar Video (HeyGen) (HTTP Request): calls api.heygen.com (POST)
- Wait: waits 0.1 minutes
- Get Avatar Video Status (HeyGen) (HTTP Request): calls api.heygen.com
- If: checks a condition and branches into true / false
- Download Video (HTTP Request): calls an HTTP API
- Upload a video (YouTube): upload (video)
Services it uses
HTTP calls to: api.heygen.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - If
n8n-nodes-base.if - YouTube
n8n-nodes-base.youTube
From the author
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…