Create and publish AI avatar short videos with Gemini, HeyGen and Google Sheets
UnknownWhat 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).
- Get Viral Video Dataset (Apify): run actor and get dataset
- Load Viral Idea from Sheet (Google Sheets): uses Google Sheets
- Save Viral Ideas to Google Sheet (Edit Fields (Set)): sets 11 fields: Caption, Date Post, Username…
- Analyze Viral Video (Google Gemini): analyze (video)
- Save Viral Ideas to Google Sheet (Google Sheets): append
- AI Agent: runs an AI agent, with model: Google Gemini Chat Model; output parser: Parse Script Structure
- Finalize Avatar Script (Edit Fields (Set)): sets 3 fields: Scripts, Title, Caption
- Create AI Avatar Video (HTTP Request): calls api.heygen.com (POST)
- Wait: pauses before continuing
- Get Rendered Video (HTTP Request): calls api.heygen.com
…plus 4 more steps. See the full node list below.
Services it uses
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)
- Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Google Sheets
n8n-nodes-base.googleSheets - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Apify
@apify/n8n-nodes-apify.apify - Edit Fields (Set)
n8n-nodes-base.set - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - If
n8n-nodes-base.if - Blotato
@blotato/n8n-nodes-blotato.blotato
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…