This n8n workflow automates the creation of AI-generated news recap videos using HeyGen's avatar technology. The template scrapes daily newsletter content, uses AI to generate engaging scripts, and produces professional video summaries with synthetic avatars and voices—all without manual intervention.
The workflow operates in three main stages:
Stage 1 - Content Acquisition: The Apify Web Scraper node fetches the latest newsletter content from Morning Brew, extracting markdown-formatted text for processing.
Stage 2 - Script Generation: An AI agent powered by GPT-4 analyzes the content and creates a concise 40-60 word script highlighting the top 2-4 stories in an engaging, conversational tone perfect for short-form video.
Stage 3 - Video Production: The script is sent to HeyGen's API, which generates a video featuring your custom AI avatar delivering the content. The workflow includes intelligent polling to check video completion status before proceeding.
Follow these steps to configure your HeyGen + n8n automation workflow:
Go to HeyGen, create your AI avatar and voice.
Connect your HeyGen API key to the following nodes:
Generate VideoGet VideoGet AvatarsGet VoicesIf you want to test out the "Create video with polling" flow:
News.Make sure all credentials are properly stored and referenced in your environment or credentials store for best security and reuse.
To improve workflow readability, consider renaming these nodes:
| Current Name | Suggested Name | Purpose |
|---|---|---|
News |
Scrape Morning Brew Newsletter |
Fetches newsletter content |
Script Writer |
AI Script Generator |
Creates video script from content |
Generate Video1 |
HeyGen Video Creation |
Initiates video generation |
Get Video1 |
Check Video Status |
Polls for video completion |
30 Seconds |
Wait for Video Processing |
Initial wait period |
If |
Check if Video Complete |
Validates completion status |
Wait |
Retry Video Status Check |
Waits before re-polling |