Templates / Generate AI avatar videos from text with HeyGen and upload to YouTube

Generate AI avatar videos from text with HeyGen and upload to YouTube

Ready for 3.0

by Nishant Rayan · 3,064 views · created 2025-09-16 · Content Creation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

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

  1. Code: runs custom JavaScript code
  2. Setup Heygen Parameters (Edit Fields (Set)): sets or maps fields
  3. Create Avatar Video (HeyGen) (HTTP Request): calls api.heygen.com (POST)
  4. Wait: waits 0.1 minutes
  5. Get Avatar Video Status (HeyGen) (HTTP Request): calls api.heygen.com
  6. If: checks a condition and branches into true / false
  7. Download Video (HTTP Request): calls an HTTP API
  8. Upload a video (YouTube): upload (video)

Services it uses

YouTube

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)

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…

Excerpt from Nishant Rayan's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.