WorkflowGoogle SheetsOpen

Telegram n8n workflow: prompt to Kling AI video with Blotato

This n8n workflow turns a prompt sent on Telegram into a finished social video and posts it through Blotato to Instagram, Facebook, TikTok and other networks. It fits solo marketers who want to create and publish AI videos from their phone with one message.

What it does

The Telegram trigger extracts the prompt and caption, GPT-4 rewrites the prompt for the Kling video engine, and the Kling API renders the clip. GPT-4 then writes a short voice-over script, text to speech turns it into audio, and the audio is merged with the video before publishing.

How to use it

Connect Telegram, OpenAI and Google Sheets, and add your Kling and Blotato API keys to the HTTP request nodes.

Requirements and limits

Kling, text to speech and Blotato are external services that need their own accounts.

More in Google Sheets and the n8n workflow library.

Full text

Front matter
name: 💥AI Social Video Generator with GPT-4, Kling & Blotato —Auto-Post to Instagram, Facebook,, TikTok...
description: Triggered manually or by an app event. Connects Code, Google Sheets, HTTP request, Telegram, Wait. # 🟫 STEP 1 — Create Video Using AI ## This step handles the full video creation pipeline using AI. ### It starts from a Telegram message containing a prompt, ### refines the prompt with GPT-4 to suit Kling’s video engine, ### and generates a cinematic video based entirely on text input. # 🟫 STEP 2 — Add Voice-Over to Video ## Here, a short-form voice-over script is generated using GPT-4 based on the topic. ### The script is converted to speech, uploaded, and merged with the AI-generated video
category: Automation
kind: Workflow
software: Code|Google Sheets|HTTP request|Telegram|Wait

💥AI Social Video Generator with GPT-4, Kling & Blotato —Auto-Post to Instagram, Facebook,, TikTok...

Triggered manually or by an app event. Connects Code, Google Sheets, HTTP request, Telegram, Wait. # 🟫 STEP 1 — Create Video Using AI

This step handles the full video creation pipeline using AI.

It starts from a Telegram message containing a prompt,

refines the prompt with GPT-4 to suit Kling’s video engine,

and generates a cinematic video based entirely on text input.

# 🟫 STEP 2 — Add Voice-Over to Video

Here, a short-form voice-over script is generated using GPT-4 based on the topic.

The script is converted to speech, uploaded, and merged with the AI-generated video

Steps

  • Sticky Note (stickyNote)
  • Sticky Note1 (stickyNote)
  • Sticky Note3 (stickyNote)
  • Sticky Note4 (stickyNote)
  • Sticky Note2 (stickyNote)
  • Trigger: Telegram Prompt (telegramTrigger)
  • Extract Prompt & Caption (code)
  • Transform Prompt for Kling (GPT-4) (noOp)
  • OpenAI Model Bridge (noOp)
  • Generate Video via Kling API (httpRequest)
  • Wait for Video Generation (wait)
  • Get Generated Video URL (httpRequest)
  • Generate Voice-Over Script (noOp)
  • Convert Script to Audio (TTS) (noOp)
  • Upload Audio to Cloudinary (httpRequest)
  • Merge Audio + Video (httpRequest)
  • Wait for Audio/Video Fusion (wait)
  • Get Video URL with Audio (httpRequest)
  • Wait Before Captioning (wait)
  • Add Captions/Subtitles to Video (httpRequest)
  • Wait for Caption Render (wait)
  • Get Final Video URL (Audio + Captions) (httpRequest)
  • Generate Social Caption from Voiceover (noOp)
  • Generate YouTube-Style Title (noOp)
  • Save Video Metadata to Google Sheets (googleSheets)
  • Send Final Video to Telegram (telegram)
  • Send Caption Link via Telegram (telegram)
  • Assign Social Media IDs (set)
  • Upload Video to Blotato (httpRequest)
  • Post to Instagram (httpRequest)
  • Post to YouTube (httpRequest)
  • Post to TikTok (httpRequest)
  • Post to Facebook Page (httpRequest)
  • Post to Threads (httpRequest)
  • Post to Twitter (X) (httpRequest)
  • Post to LinkedIn (httpRequest)
  • Post to Bluesky (httpRequest)
  • Post to Pinterest (httpRequest)

Import

Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).

Source and license

Source: https://github.com/Zie619/n8n-workflows/blob/main/Telegram/1288_Telegram_Wait_Automation_Webhook.md

Author: Zie619, n8n workflow collection. License: MIT.

Shown here with formatting for the web. Keep the author and license notice when you reuse it.

Related entries

There are more like this in the members library

The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.