Skip to main content

Generate & auto-post social videos to multiple platforms with GPT-4 and Kling AI

Workflow preview

Workflow preview
100%
Generate & auto-post social videos to multiple platforms with GPT-4 and Kling AI preview
Open on n8n.io

Important notice

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

1. Workflow Overview

AI Powered Social Video Generator with Auto Posting to Instagram, TikTok, YouTube, Facebook, LinkedIn, Thread...

Best for

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

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.telegramtrigger, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.httprequest, n8n-nodes-base.wait, @n8n/n8n-nodes-langchain.openai

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 & auto-post social videos to multiple platforms with GPT-4 and Kling AI
Workflow name
Generate & auto-post social videos to multiple platforms with GPT-4 and Kling AI

AI-Powered Social Video Generator with Auto-Posting to Instagram, TikTok, YouTube, Facebook, LinkedIn, Threads, Pinterest, Twitter (X), and Bluesky

Who is this workflow for?

This workflow is ideal for content creators, marketers, social media managers, and automation enthusiasts who want to generate, customize, and publish short-form videos across multiple platforms without manual editing or posting. If you use tools like ChatGPT, Kling, or Blotato and want to streamline your content creation process, this workflow is made for you.

What problem does this workflow solve?

Publishing regular video content on multiple platforms is time-consuming—especially when adding voice-overs, captions, and managing distribution. This workflow solves that by:

  • Automating video generation using AI (Kling + GPT-4)
  • Adding realistic voice narration
  • Styling subtitles for social media
  • Creating titles and social captions
  • Auto-posting to Instagram, TikTok, YouTube, Facebook, Threads, Twitter (X), LinkedIn, Pinterest, and Bluesky

All of this is triggered by a simple message sent via Telegram.

How the workflow works

This end-to-end automation transforms a short Telegram message into a fully produced and published social video:

  1. Receives a text prompt from Telegram
  2. Transforms it into a detailed video scene using GPT-4
  3. Generates a cinematic video with Kling
  4. Creates a voice-over script and converts it to audio
  5. Merges the video and the audio
  6. Adds styled captions
  7. Writes a social caption and an SEO-optimized title
  8. Saves metadata to Google Sheets
  9. Sends a preview via Telegram
  10. Publishes the video to 9 social platforms using Blotato

Setup

  1. Connect your Telegram bot to the "Telegram Trigger" node
  2. Add your OpenAI API key to all GPT-related nodes
  3. Configure Kling API access in the "Generate Video" node
  4. Link your Cloudinary account for audio upload
  5. Connect JSON2Video to handle video merging and captioning
  6. Set up Google Sheets with your preferred spreadsheet ID
  7. Connect your Blotato API key and fill in the platform IDs (Instagram, TikTok, etc.)
  8. Test by sending a Telegram message like:
    generate video A robot exploring Mars, Why AI will reshape humanity > Disclaimer: This workflow uses Community Nodes, which are only available on self-hosted instances of n8n.

How to customize this workflow to your needs

  • Change the visual style: Adjust the GPT-4 prompt formatting to reflect your brand tone
  • Edit voice style: Replace the TTS provider or tweak OpenAI's voice settings
  • Revise captions or titles: Fine-tune the system prompts in the "Create Description" or "Create Title" nodes
  • Target fewer platforms: Disable or remove nodes for platforms you don’t use
  • Add approval steps: Insert a Telegram confirmation step before auto-publishing

📄 Documentation: Notion Guide

Demo Video

🎥 Watch the full tutorial here: YouTube Demo

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 - Sticky Note

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

Block 2 - Sticky Note1

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

Block 3 - Sticky Note3

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

Block 4 - Sticky Note4

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

Block 5 - Sticky Note2

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

Block 6 - Trigger: Telegram Prompt

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

Block 7 - Extract Prompt & Caption

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Transform Prompt for Kling (GPT-4)

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

Block 9 - OpenAI Model Bridge

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

Block 10 - Generate Video via Kling API

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 11 - Wait for Video Generation

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 12 - Get Generated Video URL

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 13 - Generate Voice-Over Script

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

Block 14 - Convert Script to Audio (TTS)

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

Block 15 - Upload Audio to Cloudinary

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 16 - Merge Audio + Video

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 17 - Wait for Audio/Video Fusion

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 18 - Get Video URL with Audio

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 19 - Wait Before Captioning

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 20 - Add Captions/Subtitles to Video

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 21 - Wait for Caption Render

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 22 - Get Final Video URL (Audio + Captions)

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 23 - Generate Social Caption from Voiceover

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

Block 24 - Generate YouTube-Style Title

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

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

3. Summary Table

Workflow Generate & auto-post social videos to multiple platforms with GPT-4 and Kling AI
Complexity advanced
Nodes 38
Categories Content Creation, Multimodal AI
Author Dr. Firas
Published 09 Apr 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3501/3501.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 & auto-post social videos to multiple platforms with GPT-4 and Kling AI do?

AI Powered Social Video Generator with Auto Posting to Instagram, TikTok, YouTube, Facebook, LinkedIn, Thread...

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.