# Create marketing content with OpenAI: n8n workflow template

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

Source: https://millionrounds.com/workflow/create-marketing-content-with-openai (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 marketing content with OpenAI

Started by an incoming Telegram message, and works across Telegram. It puts OpenAI and OpenRouter behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 16 steps, 1 branch: a working afternoon to understand properly.

Medium Calls a model: OpenAI, OpenRouter Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fcreate-marketing-content-with-openai)

**16 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 11 Logic 2 Service 2

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

- 1 **GPT 4.1** Lm Chat Open Router *Model*
- 2 **Create Image** Tool Workflow *Model*
- 3 **Simple Memory** Memory Buffer Window *Model*
- 4 **Edit Image** Tool Workflow *Model*
- 5 **Search Images** Tool Workflow *Model*
- 6 **Blog Post** Tool Workflow *Model*
- 7 **LinkedIn Post** Tool Workflow *Model*
- 8 **Telegram Trigger** Telegram trigger *Starts it*
- 9 **Video** Tool Workflow *Model*
- 10 **Think** Tool Think *Model*
- 11 **Marketing Team Agent** Agent *Model*
- 12 **Switch** Switch *Logic*
- 13 **Telegram** Telegram *Service*
- 14 **Download Voice File** Telegram *Service*
- 15 **Set 'Text'** Set *Logic*
- 16 **Transcribe Audio** Open Ai *Model*

## How it's built

- **Starts on:** An incoming Telegram message
- **Steps:** 16, with 1 branch
- **Size:** Medium: a working afternoon
- **Connects to:** Telegram
- **Model:** OpenAI, OpenRouter
- **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 and OpenRouter. 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 and OpenRouter. 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?

Plan an afternoon. 16 steps is enough that you should read each one before running it.

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 16 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-marketing-content-with-openai)
- **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.

- [**AI video automation engine - generate & publish YT shorts** 16 steps · calls a model · Telegram, YouTube](https://millionrounds.com/workflow/ai-video-automation-engine-generate-and-publish-yt-shorts)
- [**AI-powered Instagram content automation with OpenRouter** 16 steps · calls a model · Airtable, Telegram](https://millionrounds.com/workflow/ai-powered-instagram-content-automation-with-openrouter)
- [**Auto-Generate & Publish SEO Blog Posts to WordPress** 16 steps · calls a model · Discord, Telegram](https://millionrounds.com/workflow/auto-generate-and-publish-seo-blog-posts-to-wordpress)
- [**Create social media posts from blog links with Templated.io** 16 steps · calls a model · Telegram](https://millionrounds.com/workflow/create-social-media-posts-from-blog-links-with-templated-io)
- [**Daily news curation with Gemini and Telegram** 16 steps · calls a model · Notion, RSS](https://millionrounds.com/workflow/daily-news-curation-with-gemini-and-telegram)
- [**Generate Instagram posts with OpenAI and RSS** 16 steps · calls a model · RSS, S3](https://millionrounds.com/workflow/generate-instagram-posts-with-openai-and-rss)
