π¬ 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