AutomationFlowsAI & RAG › Create AI News Videos with Heygen Avatars and Auto-post to Social Media

Create AI News Videos with Heygen Avatars and Auto-post to Social Media

BySam Yassine @samyassine on n8n.io

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. n8n (Self-hosted required due to Community Nodes) HeyGen (for creating AI avatar videos) OpenAI (for script…

Cron / scheduled trigger★★★★☆ complexityAI-powered29 nodesHTTP RequestOpenAIAgentHacker News ToolOpenAI Chat
AI & RAG Trigger: Cron / scheduled Nodes: 29 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #3538 — we link there as the canonical source.

This workflow follows the Agent → HTTP Request recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "VkHyB2EyishNRVIv",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "AI Avatar for Trending News",
  "tags": [],
  "nodes": [
    {
      "id": "5b4a543d-fce2-447d-8363-4d27fbcb5e8b",
      "name": "Upload to Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        760,
        660
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "c9635f38-486a-4e12-a2dd-61e9306bb3d3",
      "name": "[Instagram] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1000,
        -140
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "7b238918-f7c0-404c-8059-f03e39b8d44b",
      "name": "[Facebook] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "disabled": true,
      "position": [
        1000,
        200
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "3ba2e6eb-697a-4585-9697-09fc8a66cdf8",
      "name": "[Linkedin] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "disabled": true,
      "position": [
        1000,
        660
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "b522909f-98b1-4c37-b6eb-656644574962",
      "name": "[Tiktok] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1000,
        1060
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "d7e78166-3c88-4d4b-8c32-9c70af3bebe4",
      "name": "OpenAI",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "disabled": true,
      "position": [
        1000,
        1460
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "b65f2a46-e2f0-4a89-b1c5-51cbb96a194e",
      "name": "Upload to Blotato - Image",
      "type": "n8n-nodes-base.httpRequest",
      "disabled": true,
      "position": [
        1220,
        1460
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "7a94af85-f109-497b-99c0-94de4efc8a54",
      "name": "[Pinterest] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "disabled": true,
      "position": [
        1440,
        1460
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "5d5903a6-e10d-41d9-8b96-08d3579824b7",
      "name": "[Youtube] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1360,
        -140
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "a2d992b5-8865-42a4-b45d-12d19e779b2d",
      "name": "[Threads] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "disabled": true,
      "position": [
        1360,
        200
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "2f03a979-367e-4ecf-bc7c-95e6fc47175e",
      "name": "[Twitter] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1360,
        660
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "6c6cda6d-5066-4789-9dc4-b7ae9356dcb6",
      "name": "[Bluesky] Publish via Blotato",
      "type": "n8n-nodes-base.httpRequest",
      "disabled": true,
      "position": [
        1360,
        1060
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "6858b2a1-a007-470a-93a2-d2ab603d8021",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1400,
        660
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "5971571e-447d-4f16-9c05-a319ce82a4c0",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1200,
        660
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "f6724264-d4a8-4f6f-8297-39a76b1b6d7e",
      "name": "Fetch HN Article",
      "type": "n8n-nodes-base.hackerNewsTool",
      "position": [
        -960,
        860
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9c47a06b-1a89-45cc-a41e-df9ff24f94eb",
      "name": "Fetch HN Front Page",
      "type": "n8n-nodes-base.hackerNewsTool",
      "position": [
        -1120,
        860
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "de058e34-5d90-4030-bf63-ca6ecdfc31aa",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        0,
        660
      ],
      "parameters": {},
      "typeVersion": 1.1,
      "alwaysOutputData": false
    },
    {
      "id": "a4675711-4849-4535-8bb3-214a356744be",
      "name": "Write Script",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1260,
        860
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "cf0bd094-d8eb-4a0b-a69c-5eee330a6102",
      "name": "Setup Heygen",
      "type": "n8n-nodes-base.set",
      "position": [
        -320,
        660
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "760a0575-a220-44f6-b9b1-7b44488560db",
      "name": "Get Avatar Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        240,
        660
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "313dab41-1587-4a55-8ad0-1449dc68ed50",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1440,
        -300
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a1a5161f-4235-41fa-b8fe-d054b05a3bbd",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -380,
        -300
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "274e4f85-9caa-40af-8a7b-b793a5e01936",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        540,
        -300
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ff057b1c-5dcb-4b2b-8663-93c28e3da51e",
      "name": "Prepare for Publish",
      "type": "n8n-nodes-base.set",
      "position": [
        600,
        660
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "d6dfad8a-ff48-4686-8857-60366a01f9e3",
      "name": "Write Long Caption",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -840,
        540
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "f70ec7fd-1da9-4cad-af29-2ca2ed8cfd0b",
      "name": "Write Short Caption",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -840,
        780
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "a84edd4b-ce9a-473f-a36e-adab3561a20e",
      "name": "Create Avatar Video",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -160,
        660
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "1b8eb507-6b94-438e-b389-92e312c504a3",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -340,
        840
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e6eaaab4-adcb-424b-8102-abcd60c4fe0e",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        580,
        840
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "37028c1c-3db9-446e-9587-21bd4fa3fd5a",
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "Get Avatar Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI": {
      "main": [
        [
          {
            "node": "Upload to Blotato - Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Write Long Caption",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Setup Heygen": {
      "main": [
        [
          {
            "node": "Create Avatar Video",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write Script": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Fetch HN Article": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Avatar Video": {
      "main": [
        [
          {
            "node": "Prepare for Publish",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload to Blotato": {
      "main": [
        [
          {
            "node": "[Instagram] Publish via Blotato",
            "type": "main",
            "index": 0
          },
          {
            "node": "[Facebook] Publish via Blotato",
            "type": "main",
            "index": 0
          },
          {
            "node": "[Linkedin] Publish via Blotato",
            "type": "main",
            "index": 0
          },
          {
            "node": "[Tiktok] Publish via Blotato",
            "type": "main",
            "index": 0
          },
          {
            "node": "OpenAI",
            "type": "main",
            "index": 0
          },
          {
            "node": "[Youtube] Publish via Blotato",
            "type": "main",
            "index": 0
          },
          {
            "node": "[Threads] Publish via Blotato",
            "type": "main",
            "index": 0
          },
          {
            "node": "[Twitter] Publish via Blotato",
            "type": "main",
            "index": 0
          },
          {
            "node": "[Bluesky] Publish via Blotato",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write Long Caption": {
      "main": [
        [
          {
            "node": "Write Short Caption",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Avatar Video": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch HN Front Page": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Prepare for Publish": {
      "main": [
        [
          {
            "node": "Upload to Blotato",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Write Short Caption": {
      "main": [
        [
          {
            "node": "Setup Heygen",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload to Blotato - Image": {
      "main": [
        [
          {
            "node": "[Pinterest] Publish via Blotato",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

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. n8n (Self-hosted required due to Community Nodes) HeyGen (for creating AI avatar videos) OpenAI (for script…

Source: https://n8n.io/workflows/3538/ — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

Agent, Hacker News Tool, OpenAI Chat +3
AI & RAG

AI Avatar for Trending News. Uses httpRequest, openAi, scheduleTrigger, agent. Scheduled trigger; 29 nodes.

HTTP Request, OpenAI, Agent +2
AI & RAG

Turn your ideas into engaging videos, talking avatars, and scheduled posts — all on autopilot.

HTTP Request, OpenAI, Agent +2
AI & RAG

Complete PostgreSQL-backed system: Keyword scoring → AI research → Multi-part content generation → fal.ai Nano Banana image generation → WordPress publishing

WordPress, OpenAI, Perplexity +8
AI & RAG

We’ve released Version 4 of our AI Powered Blog Automation workflow. We heard your complains and made a complete redesign built for serious content creators.

RSS Feed Read, OpenAI Chat, Text Classifier +6