Templates / Viral video generator: HeyGen to TikTok & Instagram auto-post + any content

Viral video generator: HeyGen to TikTok & Instagram auto-post + any content

Needs changes

by Reddit Dev ✓ · 1,296 views · created 2025-07-17 · Content Creation, Multimodal AI

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: OpenAI (legacy). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 21 nodes and runs on a schedule (every day) (plus 1 other trigger). Along the way it connects Google Sheets.

How it runs

Trigger: On a schedule (every day) (plus 1 other trigger).

  1. Process HeyGen Callback (Code): runs custom JavaScript code
  2. Get Caption from Sheets (Google Sheets): uses Google Sheets
  3. Combine Data (Code): runs custom JavaScript code
  4. Upload to Blotato (HTTP Request): calls an HTTP API
  5. Extract Blotato URL (Code): runs custom JavaScript code
  6. Assign Social Media IDs (Edit Fields (Set)): sets or maps fields
  7. INSTAGRAM (HTTP Request): calls an HTTP API
  8. TIKTOK (HTTP Request): calls an HTTP API
  9. Perplexity: uses Perplexity
  10. Write Video Script (OpenAI): uses OpenAI

…plus 9 more steps. See the full node list below.

Services it uses

Google Sheets

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • OpenAI (legacy) in Write Video Script, Write Video Caption: replace with OpenAI node (AI section).

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
OpenAI (legacy)
Write Video Script, Write Video Caption
OpenAI node (AI section)

Nodes used (8)

From the author

HeyGen AI Video Generation with Social Media Publishing Description This workflow automates the entire process of creating AI-generated videos from trending news content and publishing them to social media platforms (Instagram and TikTok). It runs daily at 6…

Excerpt from Reddit Dev 's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.