Skip to main content

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

Workflow preview

Workflow preview
100%
Automated news video generation with HeyGen AI, Apify, and GPT-4.1 Mini preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow 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...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.httprequest, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenrouter, n8n-nodes-base.wait, n8n-nodes-base.if

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Jadai kongolo.

Original n8n.io source

1.1 Workflow description

Title
Automated news video generation with HeyGen AI, Apify, and GPT-4.1 Mini
Workflow name
Automated news video generation with HeyGen AI, Apify, and GPT-4.1 Mini

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

  • Avatar & Voice Selection: Use the "Get Avatars" and "Get Voices" nodes to browse available options and customize your video presenter
  • Content Source: Modify the News Scraper node URL to pull from any website or RSS feed
  • Script Style: Adjust the AI prompt in the Script Writer node to change tone, length, or focus areas
  • Video Dimensions: Configure aspect ratios (landscape, portrait, square) for different platforms

Prerequisites

  • HeyGen API key (for video generation)
  • OpenRouter API key (for AI script writing)
  • Apify token (for web scraping)

🛠️ 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.


Recommended Node Renaming for Clarity

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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking ‘Test workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Generate Video

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - Get Voices

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Get Avatars

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 5 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Get Video

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 8 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - News

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 10 - Script Writer

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.9

Block 11 - GPT 4.1 Mini

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 12 - Get Video1

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 13 - 30 Seconds

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 14 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 15 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 16 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Generate Video1

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 19 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Automated news video generation with HeyGen AI, Apify, and GPT-4.1 Mini
Complexity advanced
Nodes 19
Categories Content Creation, Multimodal AI
Author Jadai kongolo
Published 25 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10158/10158.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automated news video generation with HeyGen AI, Apify, and GPT-4.1 Mini do?

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...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.