Templates / End-to-end YouTube video automation with HeyGen, GPT-4 & Avatar videos

End-to-end YouTube video automation with HeyGen, GPT-4 & Avatar videos

Needs changes

by Amjid Ali ✓ · 1,210 views · created 2025-07-22 · Content Creation, Multimodal AI

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 23 nodes and runs on a schedule (every day). Along the way it connects OpenAI Chat Model, Google Sheets and YouTube.

How it runs

Trigger: On a schedule (every day).

  1. Get row(s) in sheet (Google Sheets): uses Google Sheets
  2. Filter: keeps only the items that match a condition
  3. Sort: sorts the items
  4. Code: runs custom JavaScript code
  5. Edit Fields (Edit Fields (Set)): sets or maps fields
  6. Limit: keeps the first few items
  7. HTTP Request: calls an HTTP API
  8. Extract HTML (Code): runs custom JavaScript code
  9. AI Video Script (Transcript Generator) (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
  10. Generate the Video (HTTP Request): calls an HTTP API

…plus 8 more steps. See the full node list below.

Services it uses

OpenAI Chat ModelGoogle SheetsYouTube

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in AI Video Script (Transcript Generator) (v1.8), AI Agent for Meta Data of Youtube (v1.8): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Video Script (Transcript Generator) (v1.8), AI Agent for Meta Data of Youtube (v1.8)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (14)

From the author

🎥 End-to-End YouTube Video Automation Workflow with n8n, HeyGen & AI Automate the entire YouTube content creation pipeline — from video idea to AI-generated avatar video, upload, metadata generation, and publishing — with zero manual intervention! --- Who is…

Excerpt from Amjid Ali'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.