# Create and publish AI videos from Telegram with VEED: n8n workflow

> Started by an incoming Telegram message, and works across Telegram. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply...

Source: https://millionrounds.com/workflow/create-and-publish-ai-videos-from-telegram-with-veed (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 AI videos from Telegram with VEED

Started by an incoming Telegram message, and works across Telegram. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 24 steps, 2 branches: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI Retrieval

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

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

**2** Branches: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 4 Logic 5 Service 14

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

- 1 **📩 Telegram Trigger** Telegram trigger *Starts it*
- 2 **🧠 OpenAI Chat Model** Lm Chat Open Ai *Model*
- 3 **💾 Conversation Memory** Memory Buffer Window *Model*
- 4 **🎬 VEED MCP Tools** Mcp Client Tool *Model*
- 5 **🤖 AI Video Agent** Agent *Model*
- 6 **📤 Send Agent Response** Telegram *Service*
- 7 **📋 Extract Video URL** Code *Logic*
- 8 **✅ Has Video URL?** If *Logic*
- 9 **📩 Publish to Social Media?** Telegram *Service*
- 10 **✅ Approved?** If *Logic*
- 11 **⚙️ Set Caption** Set *Logic*
- 12 **📤 Send Skipped Message** Telegram *Service*
- 13 **📤 Upload Video to Blotato** Blotato *Service*
- 14 **TikTok** Blotato *Service*
- 15 **YouTube** Blotato *Service*
- 16 **Instagram** Blotato *Service*
- 17 **LinkedIn** Blotato *Service*
- 18 **Facebook** Blotato *Service*
- 19 **Twitter (X)** Blotato *Service*
- 20 **Threads** Blotato *Service*
- 21 **Bluesky** Blotato *Service*
- 22 **Pinterest** Blotato *Service*
- 23 **Merge** Merge *Logic*
- 24 **📤 Send Publish Summary** Telegram *Service*

## How it's built

- **Starts on:** An incoming Telegram message
- **Steps:** 24, with 2 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Telegram
- **Model:** OpenAI
- **Retrieval:** Answers are drawn from documents you supply, not from the model alone

## 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. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 24 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 24 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-ai-videos-from-telegram-with-veed)
- **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.

- [**Automate AI news posting on X/Twitter with Telegram** 24 steps · calls a model · RSS, Telegram](https://millionrounds.com/workflow/automate-ai-news-posting-on-x-twitter-with-telegram)
- [**Automated Thai content creation & publishing with Ollama** 24 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/automated-thai-content-creation-and-publishing-with-ollama)
- [**Generate frozen ASMR product videos with Gemini and Veo3** 24 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/generate-frozen-asmr-product-videos-with-gemini-and-veo3)
- [**Plan and publish LinkedIn posts from Google Sheets** 24 steps · calls a model · Email, Google Sheets](https://millionrounds.com/workflow/plan-and-publish-linkedin-posts-from-google-sheets)
- [**Publish Google Drive videos to Instagram, TikTok and YouTube** 24 steps · calls a model · Airtable, Google Drive](https://millionrounds.com/workflow/publish-google-drive-videos-to-instagram-tiktok-and-youtube-2)
- [**Analyze articles with Telegram and Groq** 23 steps · calls a model · Telegram](https://millionrounds.com/workflow/analyze-articles-with-telegram-and-groq)
