Skip to main content

Automate AI news videos to social media with GPT-4o & HeyGen and Postiz

Workflow preview

Workflow preview
100%
Automate AI news videos to social media with GPT-4o & HeyGen and Postiz preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Automated AI News Video Creation and Social Media Publishing Workflow ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Overview: This workflow fully automates the creation and social media distri...

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.rssfeedread, n8n-nodes-base.limit, n8n-nodes-base.googlesheets, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.code, n8n-nodes-base.set

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Automate AI news videos to social media with GPT-4o & HeyGen and Postiz
Workflow name
Automate AI news videos to social media with GPT-4o & HeyGen and Postiz

🤖 Automated AI News Video Creation and Social Media Publishing Workflow

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 Overview:

This workflow fully automates the creation and social media distribution of AI-generated news videos. It fetches news, crafts captions, generates avatar videos via HeyGen, stores them, and publishes them across Instagram, Facebook, and YouTube via Postiz.


🔄 WORKFLOW PROCESS:

  1. News Fetching: Reads the latest news from an RSS feed.
  2. AI Captioning: Generates concise, engaging captions using an AI agent (GPT-4o-mini).
  3. Video Generation: Creates an AI avatar video using HeyGen with the generated caption.
  4. Video Storage: Downloads the video and uploads it to Google Drive for archival.
  5. Data Logging: Records all news and video metadata into Google Sheets.
  6. Postiz Upload: Uploads the video to Postiz's internal storage for publishing.
  7. Social Publishing: Fetches Postiz integrations and routes the video to Instagram, Facebook, and YouTube after platform-specific content cleaning.

⚙️ KEY TECHNOLOGIES:

  • RSS Feeds: News source.
  • LangChain (n8n nodes): AI Agent and Chat OpenAI for caption generation.
  • HeyGen API: AI avatar video creation.
  • Google Drive: Video file storage.
  • Google Sheets: Data logging and tracking.
  • Postiz API: Unified social media publishing platform.

⚠️CRITICAL CONFIGURATIONS:

  • API Keys: Ensure HeyGen and Postiz API keys are correctly set in credentials and the 'Setup Heygen Parameters' node.
  • HeyGen IDs: Verify avatar_id and voice_id in 'Setup Heygen Parameters'.
  • Postiz URL: Confirm https://postiz.yourdomain.com is your correct Postiz instance URL across all HTTP Request nodes.
  • Credentials: All Google, OpenAI, and Postiz credentials must be properly linked.

📈BENEFITS:

  • Automated content creation and distribution, saving significant time.
  • Consistent branding and messaging across multiple platforms.
  • Centralized logging for tracking and performance analysis.
  • Scalable solution for high-volume content demands.

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 - RSS Read

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

Block 3 - Limit1

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

Block 4 - Log news to sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 5 - AI Agent

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

Block 6 - write script

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

Block 7 - Parse Caption

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Setup Heygen Parameters

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3

Block 9 - Create Avatar Video (HeyGen)

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

Block 10 - Wait for Video (HeyGen)

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

Block 11 - Get Avatar Video Status (HeyGen)

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

Block 12 - Download Video

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

Block 13 - Upload to Google Drive

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 14 - Log Video Details to Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 15 - Upload Video to Postiz

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

Block 16 - Get Postiz Integrations

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

Block 17 - Video Platform Router

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3

Block 18 - Clean Instagram Caption

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 19 - Instagram Video Publisher

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

Block 20 - Clean Facebook Video Caption

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 21 - Facebook Video Publisher

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

Block 22 - YouTube Video Publisher

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

Block 23 - Sticky Note

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

Block 24 - Sticky Note1

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

Showing the first 24 of 37 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Automate AI news videos to social media with GPT-4o & HeyGen and Postiz
Complexity advanced
Nodes 37
Categories Content Creation, Multimodal AI
Author David Olusola
Published 27 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6524/6524.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 Automate AI news videos to social media with GPT-4o & HeyGen and Postiz do?

Automated AI News Video Creation and Social Media Publishing Workflow ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Overview: This workflow fully automates the creation and social media distri...

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.