# Automate blog-to-social media with OpenAI and Reddit: n8n workflow

> Started by another system calling it, and works across LinkedIn, Postgres, RSS, Reddit and one other. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/automate-blog-to-social-media-with-openai-and-reddit (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)

# Automate blog-to-social media with OpenAI and Reddit

Started by another system calling it, and works across LinkedIn, Postgres, RSS, Reddit and one other. It hands the judgement calls to OpenAI. 24 steps, 1 branch, 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%2Fautomate-blog-to-social-media-with-openai-and-reddit)

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

**1** Branch: places the flow splits

**3** Loops or waits

**5** Services it connects to

## The flow

Starts it 4 Model 3 Logic 8 Service 9

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

- 1 **When clicking ‘Execute workflow’** Manual trigger *Starts it*
- 2 **Schedule Trigger** Schedule trigger *Starts it*
- 3 **Pass URL** Webhook *Starts it*
- 4 **Edit Fields** Set *Logic*
- 5 **RSS Read** Rss Feed Read *Service*
- 6 **Set Link** Set *Logic*
- 7 **Post Social Manual** Http Request *Service*
- 8 **Execute a SQL query** Postgres *Service*
- 9 **HTTP Request** Http Request *Service*
- 10 **If** If *Logic*
- 11 **HTML** Html *Logic*
- 12 **Loop Over Items** Split In Batches *Logic*
- 13 **Message a model** Open Ai *Model*
- 14 **Call Post Social** Http Request *Service*
- 15 **Wait** Wait *Logic*
- 16 **Wait 5s** Wait *Logic*
- 17 **Post Reddit** Reddit *Service*
- 18 **Generate Image for X** Open Ai *Model*
- 19 **Generate an image for LinkedIn** Open Ai *Model*
- 20 **Merge Results For Response** Merge *Logic*
- 21 **Twitter Post Media** Http Request *Service*
- 22 **Create a post** Linked In *Service*
- 23 **Respond to Webhook** Respond To Webhook *Starts it*
- 24 **Create Tweet** Twitter *Service*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 24, with 1 branch, 3 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** LinkedIn, Postgres, RSS, Reddit, X
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own LinkedIn, Postgres, RSS, Reddit and X accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

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 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%2Fautomate-blog-to-social-media-with-openai-and-reddit)
- **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.

[LinkedIn](https://millionrounds.com/workflows?service=LinkedIn#library)[Postgres](https://millionrounds.com/workflows?service=Postgres#library)[RSS](https://millionrounds.com/workflows?service=RSS#library)[Reddit](https://millionrounds.com/workflows?service=Reddit#library)[X](https://millionrounds.com/workflows?service=X#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)
- [**Automate RSS to Instagram with Cloudinary** 24 steps · calls a model · RSS](https://millionrounds.com/workflow/automate-rss-to-instagram-with-cloudinary)
- [**Automated LinkedIn post generator with Gemini** 24 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/automated-linkedin-post-generator-with-gemini)
- [**Create daily AI news LinkedIn posts with OpenAI and NewsAPI** 24 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/create-daily-ai-news-linkedin-posts-with-openai-and-newsapi)
- [**Generate and publish LinkedIn posts with OpenAI and Gmail** 24 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/generate-and-publish-linkedin-posts-with-openai-and-gmail)
- [**Extract & filter Reddit posts & comments** 24 steps · Reddit](https://millionrounds.com/workflow/extract-and-filter-reddit-posts-and-comments)
