n8n

How to Automate Telegram Video Marketing?

From a simple Telegram message, your team can create a fully produced short video and publish it everywhere. The flow turns a short text prompt into video, voice, and captions, then posts it to nine social channels. It suits marketers, creators, and agencies who want steady output without extra staff.

A Telegram trigger cleans the message and sends it to an OpenAI step that rewrites the prompt for a text to video engine. The workflow calls a video API, waits for render, and fetches the file link. It then writes a voiceover script, converts it to audio, uploads the audio to Cloudinary, and merges it with the video. Captions are added, a title and social caption are generated, results are saved to Google Sheets, and a preview is sent back to Telegram before publishing through a posting API to nine platforms.

You will need keys for Telegram, OpenAI, Kling AI, Cloudinary, Google Sheets, and the publishing tool. After credentials are set, most runs finish in minutes and cut manual work from hours. Use it for product tips, quick news, event recaps, and daily social posts.

What are the key features?

  • Telegram message trigger with prompt cleanup and optional caption support.
  • OpenAI prompt optimization tailored for a text to video engine.
  • Video generation via API with wait steps that poll until the file is ready.
  • AI voiceover script creation and text to speech audio generation.
  • Cloudinary upload and media merge to combine audio with video.
  • Automated subtitle overlay with a style template and final URL retrieval.
  • AI generated social caption and YouTube style title.
  • Google Sheets logging for prompt, title, caption, and asset links.
  • Telegram delivery of the final video and caption link for quick review.
  • Multi platform posting through a publishing API to nine social networks.

What are the benefits?

  • Reduce manual work from 3 hours to 10 minutes
  • Publish to 9 channels at once without copying files
  • Automate 90% of repetitive editing and posting tasks
  • Connect Telegram, OpenAI, Kling AI, Cloudinary, Google Sheets, and Blotato in one flow
  • Improve title and caption consistency by 95% with AI
  • Track each video in a sheet for clear reporting

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Telegram, OpenAI, Kling AI, Cloudinary, Google Sheets and Blotato. See the Tools Required section above for links to create accounts with these services.
  3. Create a Telegram bot with BotFather, copy the bot token, then in n8n open the Telegram Trigger node and select or create a Telegram credential. Paste the token and set the chat to receive messages. Send a test message to confirm the trigger updates.
  4. In the n8n credentials manager, create an OpenAI API credential using your API key. Select it on the OpenAI nodes used for prompt optimization, script writing, text to speech, and title or caption generation.
  5. Get your Kling AI or provider API key. In n8n, create an HTTP Header Auth credential and set the required header for authorization. Attach it to the video generation and status check HTTP Request nodes.
  6. In your Cloudinary dashboard, copy the cloud name, API key, and API secret. In n8n, create an HTTP Basic Auth credential with the key and secret and configure the upload endpoint with your cloud name. Use this on the upload and media merge nodes.
  7. Connect Google Sheets in n8n by creating a Google Sheets OAuth2 credential. Choose the target spreadsheet and sheet in the Save to Google Sheets node and map fields like date, prompt, title, caption, and video URL.
  8. Set up the publishing API. Create a Header Auth credential with your Blotato API key and select it on the upload and all post nodes. Verify with a small test upload to confirm channels are connected.
  9. Open the Code node and adjust the command phrase or delimiter if your team uses a different Telegram message format. Send a sample message to ensure the prompt and caption parse correctly.
  10. Review each Wait node timing. If your renders are longer, increase the minutes or retry settings so the workflow does not time out before assets are ready.
  11. Run an end to end test by sending a Telegram message like 'Generate video product tip about feature X'. Watch the execution, confirm the video URL, audio merge, captions, and that Google Sheets logs the entry.
  12. Confirm distribution by checking the response codes on each posting node and verifying the posts in your social accounts or in the publishing tool dashboard.
  13. Troubleshoot common issues: if video never completes, check the status endpoint and headers; if audio merge fails, verify Cloudinary resource types and file formats; if captions do not appear, inspect the caption API response and extend the wait time.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Blotato

Sign up

Starter: $29 / mo (includes Social media API and n8n & Make official nodes)

Cloudinary

Sign up

Free plan: $0 / mo, includes API access (Upload widget, API, search) with 25 monthly credits

Google Sheets

Sign up

Free: $0 (Google Sheets API usage has no additional cost; quota limits apply)

Kling AI

Sign up

OpenAI

Sign up

Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens

Telegram

Sign up

Free: $0, Telegram Bot API usage is free for developers

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.