Create AI News Videos with HeyGen Avatars and Auto-Post to Social Media
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: 1. Fetches trending news from Hacker News 2. Generates a short script using ChatGPT 3. Creates an AI avatar video with HeyGen 4. Generates platform-specific captions 5. 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** 1. Open your self-hosted n8n instance 2. Go to Workflows > Create Workflow 3. Click the three dots () > Import from File 4. 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: 1. Log into your HeyGen Dashboard 2. Navigate to Avatars → choose or create an avatar → copy the Avatar ID 3. 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: 1. Shorten the AI script in the prompt to 5 seconds 2. Enable only one social media platform 3. Adjust the wait time to 2 minutes to speed up testing 4. 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.
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 IDPrepare 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.
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Related bundle
Content Repurposing Engine
8 hand-picked workflows for $29.00.
That is $3.63 each, vs $14.99 for this one alone.
View bundleSecure checkout powered by Stripe
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Media & Entertainment workflows
- Automate AI Video Creation and Social Media Publishing$24.99
- Automate AI-Driven YouTube Shorts with VEO3 and Google Gemini$9.99
- Automate Cinematic Video Creation from Story Ideas via Slack$19.99
- Automate ASMR YouTube Shorts Creation with AI and Seamless Publishing$19.99
- Automate Video Downloads to Google Drive Using RapidAPI$14.99
- Transform Podcasts into Viral TikTok Clips with Gemini+ Multi-Platform Posting$24.99
More from Sam Yassine
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.