Generate & auto-post social videos to multiple platforms with GPT-4 and Kling AI
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.
What to replace before upgrading
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Transform Prompt for Kling (GPT-4) (v1.8) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (10)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - OpenAI
@n8n/n8n-nodes-langchain.openAi - Google Sheets
n8n-nodes-base.googleSheets - Telegram
n8n-nodes-base.telegram - Edit Fields (Set)
n8n-nodes-base.set
What it does
!Workflow Screenshot 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