Marketing

Generate AI-powered social videos and distribute across platforms

38 nodes 149 87 Automatic trigger
Download

Workflow Description

Receive video requests via Telegram, use artificial intelligence to create professional video content, and automatically publish to Instagram, Facebook, and TikTok while tracking performance metrics in Google Sheets.

How it works

  1. 1.Receive video request from Telegram with content specifications and target audience details
  2. 2.Process request through intelligent agent that analyzes requirements and determines video type and format
  3. 3.Generate script and video specifications using advanced OpenAI language model
  4. 4.Create finished video through specialized video generation API with effects and animations
  5. 5.Publish completed video to Instagram, Facebook, and TikTok with optimized captions
  6. 6.Record post metrics and engagement data in Google Sheets for performance tracking

Use cases

  • Digital marketing agencies managing multiple social media accounts across different platforms
  • Small to medium businesses requiring consistent video content production without dedicated creative teams
  • Marketing professionals seeking end-to-end automation from content creation to multi-platform distribution

Requirements

  • Active Telegram account with group or channel management permissions
  • API keys from OpenAI and video generation service provider
  • Connected Instagram, Facebook, and TikTok accounts with publishing permissions
  • Google Sheets document for logging records and performance analytics

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Telegram AI Agent OpenAI Google Sheets

Details

Trigger Automatic trigger
Nodes 38
Apps 4
Views 149
Downloads 87

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (38)

/

Sticky Note

Sticky Note

#1

Sticky Note1

Sticky Note

#2

Sticky Note3

Sticky Note

#3

Sticky Note4

Sticky Note

#4

Sticky Note2

Sticky Note

#5

Trigger: Telegram Prompt

Set

#6

Extract Prompt & Caption

Code

#7

Transform Prompt for Kling (GPT-4)

Agent

#8

OpenAI Model Bridge

OpenAI

#9

Generate Video via Kling API

HTTP Request

#10

Wait for Video Generation

Wait

#11

Get Generated Video URL

HTTP Request

#12

Generate Voice-Over Script

OpenAI

#13

Convert Script to Audio (TTS)

OpenAI

#14

Upload Audio to Cloudinary

HTTP Request

#15

Merge Audio + Video

HTTP Request

#16

Wait for Audio/Video Fusion

Wait

#17

Get Video URL with Audio

HTTP Request

#18

Wait Before Captioning

Wait

#19

Add Captions/Subtitles to Video

HTTP Request

#20

Wait for Caption Render

Wait

#21

Get Final Video URL (Audio + Captions)

HTTP Request

#22

Generate Social Caption from Voiceover

OpenAI

#23

Generate YouTube-Style Title

OpenAI

#24

Save Video Metadata to Google Sheets

Google Sheets

#25

Send Final Video to Telegram

Set

#26

Send Caption Link via Telegram

Set

#27

Assign Social Media IDs

Set

#28

Upload Video to Blotato

HTTP Request

#29

Post to Instagram

HTTP Request

#30

Post to YouTube

HTTP Request

#31

Post to TikTok

HTTP Request

#32

Post to Facebook Page

HTTP Request

#33

Post to Threads

HTTP Request

#34

Post to Twitter (X)

HTTP Request

#35

Post to LinkedIn

HTTP Request

#36

Post to Bluesky

HTTP Request

#37

Post to Pinterest

HTTP Request

#38