🎬 Automated news video generation with HeyGen AI, Apify, and GPT-4.1 Mini

⚡ 873 views · 🎬 Content Creation & Video

💡 Pro Tip — Since TikTok doesn’t have a public API, getting data usually means fragile HTTP scraping. ScraperNode is a community node that gives you clean JSON for TikTok profiles, videos, and comments — drop it into your workflow and skip the parsing.

View All Scrapers

Description

Overview

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.

Use Cases

  1. Daily News Digests: Automatically convert Morning Brew or similar newsletters into short-form video content for social media platforms like TikTok, Instagram Reels, or YouTube Shorts.
  2. Content Repurposing: Transform written blog posts, articles, or reports into engaging video summaries for broader audience reach.
  3. Automated Social Media Content: Schedule daily video updates for your audience without recording equipment or on-camera presence.

How It Works

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.

Customization Options

Prerequisites


🛠️ Setup Guide

Author: Jadai Kongolo

Follow these steps to configure your HeyGen + n8n automation workflow:

  1. Go to HeyGen, create your AI avatar and voice.

    • You can import your ElevenLabs voice clone, or let HeyGen clone your voice automatically.
  2. Connect your HeyGen API key to the following nodes:

    • Generate Video
    • Get Video
    • Get Avatars
    • Get Voices
  3. If you want to test out the “Create video with polling” flow:

    • Connect your OpenRouter API key.
    • Connect your Apify token in the node called 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 NameSuggested NamePurpose
NewsScrape Morning Brew NewsletterFetches newsletter content
Script WriterAI Script GeneratorCreates video script from content
Generate Video1HeyGen Video CreationInitiates video generation
Get Video1Check Video StatusPolls for video completion
30 SecondsWait for Video ProcessingInitial wait period
IfCheck if Video CompleteValidates completion status
WaitRetry Video Status CheckWaits before re-polling

đź”— Nodes Used

HTTP Request, AI Agent, OpenRouter Chat Model

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup