Create AI news videos with HeyGen avatars and auto-post to social media
Needs changesWhat this workflow does
This AI workflow has 24 nodes and runs on a schedule (every day). Along the way it connects OpenAI, Hacker News and OpenAI Chat Model.
How it runs
Trigger: On a schedule (every day).
- AI Agent: runs an AI agent, with model: Write Script; 2 tools (Fetch HN Article, Fetch HN Front Page)
- Write Long Caption (OpenAI): uses OpenAI
- Write Short Caption (OpenAI): uses OpenAI
- Setup Heygen (Edit Fields (Set)): sets or maps fields
- Create Avatar Video (HTTP Request): calls an HTTP API
- Wait: pauses before continuing
- Get Avatar Video (HTTP Request): calls an HTTP API
- Prepare for Publish (Edit Fields (Set)): sets or maps fields
- Upload to Blotato (HTTP Request): calls an HTTP API
- [Instagram] Publish via Blotato (HTTP Request): calls an HTTP API
…plus 10 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI Agent (v1.8): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent (v1.8) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (8)
- HTTP Request
n8n-nodes-base.httpRequest - OpenAI
@n8n/n8n-nodes-langchain.openAi - Schedule Trigger
n8n-nodes-base.scheduleTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - Hacker News Tool
n8n-nodes-base.hackerNewsTool - Wait
n8n-nodes-base.wait - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Edit Fields (Set)
n8n-nodes-base.set
From the author
Automatically generate short AI avatar videos based on trending news, then post them across social media platforms—fully automated using n8n, HeyGen, ChatGPT, and Blotato. Tools & Services Used: - n8n (Self-hosted required due to Community Nodes) - HeyGen…