π¬ Automate AI news videos to social media with GPT-4o & HeyGen and Postiz
β‘ 11,411 views Β· π¬ Content Creation & Video
Description
π€ 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:
- News Fetching: Reads the latest news from an RSS feed.
- AI Captioning: Generates concise, engaging captions using an AI agent (GPT-4o-mini).
- Video Generation: Creates an AI avatar video using HeyGen with the generated caption.
- Video Storage: Downloads the video and uploads it to Google Drive for archival.
- Data Logging: Records all news and video metadata into Google Sheets.
- Postiz Upload: Uploads the video to Postizβs internal storage for publishing.
- 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_idandvoice_idin βSetup Heygen Parametersβ. - Postiz URL: Confirm
https://postiz.yourdomain.comis 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.
π Nodes Used
Google Sheets, HTTP Request, RSS Read, Google Drive, AI Agent, OpenAI Chat Model
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File