Create AI news videos with HeyGen avatars and auto post to socia
Automatically generate short AI avatar videos based on trending news, then post them across social media platforms—fully automated using n8n, HeyGen, ChatGPT...
🔌 Nodes & Integrations Used (5)
📖 Implementation & Setup Guide
Automatically generate short AI avatar videos based on trending news, then post them across social media platforms—fully automated using n8n, HeyGen, ChatGPT, and Blotato.
Tools & Services Used:
- n8n (Self-hosted required due to Community Nodes)
- HeyGen (for creating AI avatar videos)
- OpenAI (for script and caption generation)
- Blotato (for social media distribution)
- Hacker News (for sourcing trending articles)
Workflow Overview:
This automation performs the following steps:
- Fetches trending news from Hacker News
- Generates a short script using ChatGPT
- Creates an AI avatar video with HeyGen
- Generates platform-specific captions
- Posts the content across social media with Blotato
Prerequisites:
Make sure you have active accounts and API keys for:
- HeyGen
- OpenAI
- Blotato
How to Use This Template
Step 1: Import the Template
- Open your self-hosted n8n instance
- Go to "Workflows" > "Create Workflow"
- Click the three dots (…) > "Import from File"
- Upload the downloaded JSON file
Step 2: Configure API Keys
Only two nodes need customization:
- `Setup HeyGen`: Add your HeyGen API key, avatar ID, and voice ID
- `Prepare for Publish`: Add your Blotato API key, account IDs, and page IDs
Optional platforms like Pinterest and Bluesky are already disabled by default.
Finding Your HeyGen Avatar & Voice IDs To customize the AI avatar video:
Log into your HeyGen Dashboard
Navigate to "Avatars" → choose or create an avatar → copy the Avatar ID
Navigate to "Voices" → select a preferred voice → copy the Voice ID
You can upload a custom avatar or voice if you have access to those features in your plan
This allows you to align the video style with your brand’s tone and personality.
Initial Test Run
For your first run:
- Shorten the AI script in the prompt to 5 seconds
- Enable only one social media platform
- Adjust the wait time to 2 minutes to speed up testing
- Verify that the video is created and successfully posted
Once successful, enable more platforms and scale your automation.
Workflow Diagram: 
Use Cases
- Business owners automating daily content
- Creators scaling short-form video production
- Freelancers offering automation as a service
- Anyone building an AI-driven media workflow
Disclaimer This workflow uses Community Nodes, which only function on self-hosted n8n instances. This workflow may not work on n8n Cloud without some modifications.
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
Create_AI_news_videos_with_HeyGen_avatars_and_auto_post_to_socia.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related AI Agents Workflows
View All in AI Agents →5 ways to process images PDFs with Gemini AI in n8n
How it works Many users have asked in the support forum about different methods to analyze images and PDF documents with Google Gemini AI in n8n. This workfl...
7 AI Sales Assistant
Production-ready n8n automation template for 7 AI Sales Assistant built by AhiXLight. Seamlessly connects Airtop Tool, Slack, Airtop with 24 configured nodes.
AAVE portfolio professional AI agent Telegram Email GPT 4o
A next-generation AI-powered DeFi health monitor that tracks wallet positions across Aave V3 using GPT-4o and LangChain. It delivers human-readable reports v...
Access control for AI agents RBAC using Airtable and Telegram
Purpose This workflow allows granular control over the access to tools connected to AI Agents (including Multi-Agent setups) using Role Based Access Control....