Skip to main content

Generate AI avatar videos with GPT-5 & publish to social media platforms

Workflow preview

Workflow preview
100%
Generate AI avatar videos with GPT-5 & publish to social media platforms preview
Open on n8n.io

Important notice

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

1. Workflow Overview

This workflow contains community nodes that are only compatible with the self hosted version of n8n. Automate Social Media with HeyGen an...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.set, @blotato/n8n-nodes-blotato.blotato, n8n-nodes-base.merge, n8n-nodes-base.googlesheets, @n8n/n8n-nodes-langchain.openai, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.toolthink

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Generate AI avatar videos with GPT-5 & publish to social media platforms
Workflow name
Generate AI avatar videos with GPT-5 & publish to social media platforms

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

Automate Social Media with HeyGen and GPT-5: Publish Videos to TikTok, YouTube & Instagram


πŸ‘₯ Who is this for?

This workflow is designed for:

  • Content creators who want to scale their short-form video production
  • Marketing teams seeking consistent and automated publishing pipelines
  • Agencies managing multiple social accounts for clients
  • Entrepreneurs looking to save time by automating repetitive content tasks

πŸ’‘ What problem is this workflow solving?

Publishing on multiple platforms like YouTube Shorts, TikTok, and Instagram is often:

  • Time-consuming (manual editing, caption writing, uploads)
  • Inconsistent (different requirements for each platform)
  • Prone to delays (switching between tools)

This workflow solves these issues by creating a fully automated video pipeline powered by GPT-5, HeyGen, and Blotato.


βš™οΈ What this workflow does

  1. Capture voice idea via Telegram
  2. Transcribe voice to text using OpenAI Whisper
  3. Generate a catchy title and caption with GPT-5
  4. Create an AI avatar video with HeyGen
  5. Save and organize assets in Google Drive and Google Sheets
  6. Upload final video to Blotato
  7. Auto-publish to:
    • YouTube Shorts
    • TikTok
    • Instagram
    • (Optional: Facebook, X/Twitter, LinkedIn, Pinterest, Threads, Bluesky)
  8. Update logs in Google Sheets
  9. Send a Telegram confirmation once published

🧰 Setup

Before using this workflow, ensure you have:

  1. A Telegram Bot connected to n8n for voice input
  2. An OpenAI API key for transcription (Whisper) and GPT-5 processing
  3. A HeyGen account & API key for avatar video generation
  4. A Google Drive & Google Sheets integration for storing assets and logs
  5. A Blotato account (Pro plan) with API access enabled
  6. Verified Community Nodes enabled in n8n Admin Panel
  7. Blotato node installed and credentials configured

πŸ› οΈ How to customize this workflow

  • Prompts β†’ Adjust GPT-5 prompts to match your brand voice and niche
  • Avatars β†’ Use custom avatars or voices via HeyGen configuration
  • Platforms β†’ Activate only the social nodes you need (e.g., focus on TikTok & YouTube Shorts)
  • Approval steps β†’ Add Telegram or Slack confirmation before publishing
  • Analytics β†’ Extend the workflow to track engagement data in Google Sheets, Airtable, or Notion

This workflow turns a simple spoken idea into a viral-ready video β€” automatically generated, styled, and posted across your most important platforms.


πŸ“„ Documentation: Notion Guide


Need help customizing?

Contact me for consulting and support : Linkedin / Youtube

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 - ID Avatar

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

Block 2 - Upload Video to BLOTATO

Type / Role
@blotato/n8n-nodes-blotato.blotato - blotato
Config choices
Version 2

Block 3 - Youtube

Type / Role
@blotato/n8n-nodes-blotato.blotato - blotato
Config choices
Version 2

Block 4 - Tiktok

Type / Role
@blotato/n8n-nodes-blotato.blotato - blotato
Config choices
Version 2

Block 5 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 6 - Linkedin

Type / Role
@blotato/n8n-nodes-blotato.blotato - blotato
Config choices
Version 2

Block 7 - Facebook

Type / Role
@blotato/n8n-nodes-blotato.blotato - blotato
Config choices
Version 2

Block 8 - Instagram

Type / Role
@blotato/n8n-nodes-blotato.blotato - blotato
Config choices
Version 2

Block 9 - Threads

Type / Role
@blotato/n8n-nodes-blotato.blotato - blotato
Config choices
Version 2

Block 10 - Bluesky

Type / Role
@blotato/n8n-nodes-blotato.blotato - blotato
Config choices
Version 2

Block 11 - Pinterest

Type / Role
@blotato/n8n-nodes-blotato.blotato - blotato
Config choices
Version 2

Block 12 - Twitter (X)

Type / Role
@blotato/n8n-nodes-blotato.blotato - blotato
Config choices
Version 2

Block 13 - Get Google Drive ID

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

Block 14 - Google Sheets - Update Status

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

Block 15 - OpenAI - Transcribe Video to Text

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 16 - AI Agent - Generate Title & Caption

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

Block 17 - OpenAI Model GPT-5

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

Block 18 - LangChain - Think Tool

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

Block 19 - Google Sheets - Update Title & Caption

Type / Role
n8n-nodes-base.googleSheetsTool - googleSheetsTool
Config choices
Version 4.6

Block 20 - Sticky Note

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

Block 21 - Sticky Note1

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

Block 22 - Sticky Note2

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

Block 23 - Sticky Note4

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

Block 24 - Telegram Trigger: Receive Voice Message

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

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

3. Summary Table

Workflow Generate AI avatar videos with GPT-5 & publish to social media platforms
Complexity advanced
Nodes 41
Categories Content Creation, Multimodal AI
Author Dr. Firas
Published 21 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7715/7715.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 Generate AI avatar videos with GPT-5 & publish to social media platforms do?

This workflow contains community nodes that are only compatible with the self hosted version of n8n. Automate Social Media with HeyGen an...

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.