🎬 Automated News-to-Video Workflow (n8n + Heygen + GPT-4o)
📄 Overview:
This n8n workflow turns news from an RSS feed (e.g., CNN) into short, AI-generated avatar videos using Heygen. It:
- Fetches news from an RSS feed.
- Logs headlines to Google Sheets.
- Uses GPT-4o or Google Gemini to generate a 30–60 sec script.
- Sends the script to Heygen to create an avatar video.
- Monitors and retrieves the final video.
- Logs video metadata (title, link, etc.) to Google Sheets.
🎯 Ideal for content creators, marketers, or media pages repurposing written news into video content at scale.
⚙️ Setup Guide (No Sensitive Info)
🔑 1. Heygen API
-
Paid Heygen plan required.
-
Add your API key in the Setup Heygen
node:
"heygen_api_key": "your_key_here"
-
Optional: Set "avatar_id"
and "voice_id"
as desired.
💡 2. AI Model: GPT-4o or Gemini
- GPT-4o: Use OpenAI’s node or HTTP request with your API key.
- Gemini: Link your Google Cloud project and connect the Gemini node using OAuth2 credentials.
📥 3. RSS Feed
- Add an RSS node (e.g., CNN).
- Extract
title
, link
, and content
.
📊 4. Google Sheets + Drive
-
Connect via OAuth2:
"Google Sheets account 2"
"Google Drive account 2"
-
Replace sheet IDs in:
Log news to sheets
Log video URL and title to sheets
📹 5. Create Video (Heygen)
- Send a
POST
request to Heygen's API using the generated script, avatar, and voice ID.
⏳ 6. Monitor Status
- Poll the status endpoint until video is ready.
- Capture the download link.
🧾 7. Log Final Output
- Save video metadata to a Google Sheet for publishing or archiving.
Set up video: Link in Workflow