# Create AI-generated UGC marketing videos with Telegram: n8n workflow

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

Source: https://millionrounds.com/workflow/create-ai-generated-ugc-marketing-videos-with-telegram (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 AI-generated UGC marketing videos with Telegram

Started by an incoming Telegram message, and works across Telegram. It hands the judgement calls to OpenAI. 26 steps, 3 branches, 3 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-ai-generated-ugc-marketing-videos-with-telegram)

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

**3** Branches: places the flow splits

**3** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 7 Logic 9 Service 9

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

- 1 **Think** Tool Think *Model*
- 2 **GPT** Lm Chat Open Ai *Model*
- 3 **Telegram Trigger** Telegram trigger *Starts it*
- 4 **UGC Video AI Agent** Agent *Model*
- 5 **UGC Image AI Agent** Agent *Model*
- 6 **Structured Output 1** Output Parser Structured *Model*
- 7 **Structured Output 2** Output Parser Structured *Model*
- 8 **Bot ID** Set *Logic*
- 9 **Split Out** Split Out *Logic*
- 10 **Create Image** Http Request *Service*
- 11 **Get Img Path** Http Request *Service*
- 12 **Create Video** Http Request *Service*
- 13 **Wait 3** Wait *Logic*
- 14 **Describe Img** Open Ai *Model*
- 15 **Wait 2** Wait *Logic*
- 16 **Get Image** Http Request *Service*
- 17 **In Progress** Telegram *Service*
- 18 **Get Video** Http Request *Service*
- 19 **If** If *Logic*
- 20 **If** If *Logic*
- 21 **Aggregate** Aggregate *Logic*
- 22 **Combine Clips** Http Request *Service*
- 23 **Wait** Wait *Logic*
- 24 **Get Final Video** Http Request *Service*
- 25 **If 2** If *Logic*
- 26 **Send Video** Telegram *Service*

## How it's built

- **Starts on:** An incoming Telegram message
- **Steps:** 26, with 3 branches, 3 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Telegram
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Telegram account, 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 26 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 26 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-ai-generated-ugc-marketing-videos-with-telegram)
- **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.

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

## Workflows like it

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

- [**Generate SEO-optimized blog content with Gemini and RSS** 26 steps · calls a model · RSS, S3](https://millionrounds.com/workflow/generate-seo-optimized-blog-content-with-gemini-and-rss)
- [**News collection & multi-platform publishing with OpenAI** 26 steps · calls a model · Discord, Gmail](https://millionrounds.com/workflow/news-collection-and-multi-platform-publishing-with-openai)
- [**Video speech enhancement with OpenAI Whisper** 26 steps · calls a model · FTP, Google Drive](https://millionrounds.com/workflow/video-speech-enhancement-with-openai-whisper)
- [**Automate post to multiple Facebook groups with Airtop** 26 steps · Google Sheets, Telegram](https://millionrounds.com/workflow/automate-post-to-multiple-facebook-groups-with-airtop)
- [**AI content creation and publishing engine with Mistral** 27 steps · calls a model · Telegram, YouTube](https://millionrounds.com/workflow/ai-content-creation-and-publishing-engine-with-mistral)
- [**Automate RSS-to-social media with Claude and Gemini** 25 steps · calls a model · Google Sheets, RSS](https://millionrounds.com/workflow/automate-rss-to-social-media-with-claude-and-gemini)
