Templates / Create and publish AI avatar short videos with Gemini, HeyGen and Google Sheets

Create and publish AI avatar short videos with Gemini, HeyGen and Google Sheets

Unknown

by giangxai ✓ · 1,118 views · created 2026-01-27 · Content Creation, Multimodal AI

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 18 nodes and runs on a schedule (every 6 hours) (plus 1 other trigger). Along the way it connects Google Gemini Chat Model, Google Sheets, Google Gemini and Apify (community) and 1 more. It also calls api.heygen.com over HTTP.

How it runs

Trigger: On a schedule (every 6 hours) (plus 1 other trigger).

  1. Get Viral Video Dataset (Apify): run actor and get dataset
  2. Load Viral Idea from Sheet (Google Sheets): uses Google Sheets
  3. Save Viral Ideas to Google Sheet (Edit Fields (Set)): sets 11 fields: Caption, Date Post, Username…
  4. Analyze Viral Video (Google Gemini): analyze (video)
  5. Save Viral Ideas to Google Sheet (Google Sheets): append
  6. AI Agent: runs an AI agent, with model: Google Gemini Chat Model; output parser: Parse Script Structure
  7. Finalize Avatar Script (Edit Fields (Set)): sets 3 fields: Scripts, Title, Caption
  8. Create AI Avatar Video (HTTP Request): calls api.heygen.com (POST)
  9. Wait: pauses before continuing
  10. Get Rendered Video (HTTP Request): calls api.heygen.com

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

Services it uses

Google Gemini Chat ModelGoogle SheetsGoogle GeminiApify (community)Blotato (community)

HTTP calls to: api.heygen.com

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 2 community packages, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that @apify/n8n-nodes-apify is verified or supports 3.0 (used in Get Viral Video Dataset).
  • Check that @blotato/n8n-nodes-blotato is verified or supports 3.0 (used in Publish Video to Tiktok, Publish Video to Facebook).

Nodes used (12)

From the author

Automated AI Video Avatar Workflow for Shorts using n8n & HeyGen Automatically generate AI avatar short videos and publish them to social platforms using n8n and HeyGen. This workflow turns viral ideas or prepared scripts into fully rendered AI avatar videos…

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