# Create and publish UGC social videos from Telegram with OpenAI: n8n workflow

> Started by an incoming Telegram message, and works across Google Drive, Google Sheets and Telegram. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/create-and-publish-ugc-social-videos-from-telegram-with-open (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Content](https://millionrounds.com/workflows?category=Content#library)

# Create and publish UGC social videos from Telegram with OpenAI

Started by an incoming Telegram message, and works across Google Drive, Google Sheets and Telegram. It hands the judgement calls to OpenAI. 41 steps, 2 loops or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fcreate-and-publish-ugc-social-videos-from-telegram-with-open)

**41 steps** Large: read it before trusting it with anything live

**0** Branches: places the flow splits

**2** Loops or waits

**3** Services it connects to

## The flow

Starts it 1 Model 9 Logic 6 Service 25

The steps in the order they run, from what starts it.

- 1 **OpenAI Video Prompt Generator** Lm Chat Open Ai *Model*
- 2 **Reasoning Analyzer** Tool Think *Model*
- 3 **Parse Video Prompt JSON** Output Parser Structured *Model*
- 4 **When Image Received in Telegram** Telegram trigger *Starts it*
- 5 **Parse Image Prompt JSON** Output Parser Structured *Model*
- 6 **OpenAI Image Prompt Generator** Lm Chat Open Ai *Model*
- 7 **AI Video Prompt Generator** Agent *Model*
- 8 **Set Telegram Bot Token** Set *Logic*
- 9 **Download Image from Telegram** Telegram *Service*
- 10 **UGC Image Prompt Generator** Agent *Model*
- 11 **Format VEO3 API Request** Code *Logic*
- 12 **Resolve Image URL from Telegram** Http Request *Service*
- 13 **Upload Image to Google Drive** Google Drive *Service*
- 14 **Generate Edited Image** Http Request *Service*
- 15 **Generate Video with VEO3** Http Request *Service*
- 16 **Analyze Image with OpenAI** Open Ai *Model*
- 17 **Log Idea in Google Sheets** Google Sheets *Service*
- 18 **Wait for Image Render** Wait *Logic*
- 19 **Wait for Video Render** Wait *Logic*
- 20 **Save Image Analysis to Sheets** Google Sheets *Service*
- 21 **Fetch Generated Image** Http Request *Service*
- 22 **Fetch Rendered Video** Http Request *Service*
- 23 **Read Video Configuration** Google Sheets *Service*
- 24 **Create Social Caption with OpenAI** Open Ai *Model*
- 25 **Set Video Prompt Schema** Set *Logic*
- 26 **Save Video Metadata to Sheets** Google Sheets *Service*
- 27 **Notify Telegram with Video URL** Telegram *Service*
- 28 **Send Video Preview to Telegram** Telegram *Service*
- 29 **Upload Video to Blotato** Blotato *Service*
- 30 **Publish Video to TikTok** Blotato *Service*
- 31 **Publish Video to LinkedIn** Blotato *Service*
- 32 **Publish Video to Facebook** Blotato *Service*
- 33 **Publish Video to Instagram** Blotato *Service*
- 34 **Publish Video to X** Blotato *Service*
- 35 **Publish Video to YouTube** Blotato *Service*
- 36 **Publish Video to Threads** Blotato *Service*
- 37 **Publish Video to Bluesky** Blotato *Service*
- 38 **Publish Video to Pinterest** Blotato *Service*
- 39 **Merge Publishing Results** Merge *Logic*
- 40 **Update Status in Sheets** Google Sheets *Service*
- 41 **Notify Telegram of Publication** Telegram *Service*

## How it's built

- **Starts on:** An incoming Telegram message
- **Steps:** 41, 2 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Drive, Google Sheets, Telegram
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Google Drive, Google Sheets and Telegram accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an incoming Telegram message.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 41 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 41 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fcreate-and-publish-ugc-social-videos-from-telegram-with-open)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Google Drive](https://millionrounds.com/workflows?service=Google+Drive#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

Also content, with the same services where possible, closest in size first.

- [**Create & share AI videos with Telegram and Gemini** 41 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/create-and-share-ai-videos-with-telegram-and-gemini)
- [**Generate monthly SEO analytics reports with Search Console** 41 steps · calls a model · Discord, Google Sheets](https://millionrounds.com/workflow/generate-monthly-seo-analytics-reports-with-search-console)
- [**Host a Telegram AI bot with a local model and Redis** 41 steps · calls a model · Redis, Telegram](https://millionrounds.com/workflow/host-a-telegram-ai-bot-with-a-local-model-and-redis)
- [**Verify Telegram channel subscriptions with Postgres** 41 steps · Google Drive, Postgres](https://millionrounds.com/workflow/verify-telegram-channel-subscriptions-with-postgres)
- [**Automatic Instagram content creation with OpenAI and Telegram** 42 steps · calls a model · Airtable, Telegram](https://millionrounds.com/workflow/automatic-instagram-content-creation-with-openai-and-telegra)
- [**Convert Reddit business pain points to LinkedIn posts** 40 steps · calls a model · Google Sheets, LinkedIn](https://millionrounds.com/workflow/convert-reddit-business-pain-points-to-linkedin-posts)
