Create AI news videos with HeyGen avatars and auto-post to social media
Needs changesNeeds 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-10-19.
What to replace before upgrading
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent (v1.8) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (8)
- HTTP Request
n8n-nodes-base.httpRequest - OpenAI
@n8n/n8n-nodes-langchain.openAi - Schedule Trigger
n8n-nodes-base.scheduleTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - Hacker News Tool
n8n-nodes-base.hackerNewsTool - Wait
n8n-nodes-base.wait - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Edit Fields (Set)
n8n-nodes-base.set
What it does
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: 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: 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: !Screen Shot 20250415 at 23.05.43.png(fileId:1115) 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.