# Automated social media content creation with OpenAI: n8n workflow

> Started by someone submitting a form, and works across Gmail, Google Sheets, LinkedIn, Slack and one other. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/automated-social-media-content-creation-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)

# Automated social media content creation with OpenAI

Started by someone submitting a form, and works across Gmail, Google Sheets, LinkedIn, Slack and one other. It hands the judgement calls to OpenAI. 16 steps, 2 branches: a working afternoon to understand properly.

Medium Calls a model: OpenAI

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

**16 steps** Medium: a working afternoon

**2** Branches: places the flow splits

**0** Loops or waits

**5** Services it connects to

## The flow

Starts it 1 Model 6 Logic 2 Service 7

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

- 1 **Social Media Content** Output Parser Structured *Model*
- 2 **gpt-4o-mini** Lm Chat Open Ai *Model*
- 3 **gpt-4o LLM** Lm Chat Open Ai *Model*
- 4 **Submit Social Post Details** Form trigger *Starts it*
- 5 **Social Media Content Factory** Agent *Model*
- 6 **Prepare Content Review Email** Agent *Model*
- 7 **Gmail User for Approval** Gmail *Service*
- 8 **Is Content Approved?** If *Logic*
- 9 **If** If *Logic*
- 10 **Generate an image** Open Ai *Model*
- 11 **HTTP Request** Http Request *Service*
- 12 **LinkedIn Post** Linked In *Service*
- 13 **Create Tweet** Twitter *Service*
- 14 **Create a post** Linked In *Service*
- 15 **Send a message** Slack *Service*
- 16 **Append or update row in sheet** Google Sheets *Service*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 16, with 2 branches
- **Size:** Medium: a working afternoon
- **Connects to:** Gmail, Google Sheets, LinkedIn, Slack, X
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Sheets, LinkedIn, Slack 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 someone submitting a form.

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?

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%2Fautomated-social-media-content-creation-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.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)[LinkedIn](https://millionrounds.com/workflows?service=LinkedIn#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)[X](https://millionrounds.com/workflows?service=X#library)

## Workflows like it

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

- [**AI-powered sustainability newsletter for marketing with Gmail** 16 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/ai-powered-sustainability-newsletter-for-marketing-with-gmai)
- [**Auto-post Reddit tech trends to LinkedIn with Gemini and Groq** 16 steps · calls a model · LinkedIn, RSS](https://millionrounds.com/workflow/auto-post-reddit-tech-trends-to-linkedin-with-gemini-and-gro)
- [**Automate Twitter content with OpenAI and MCP** 16 steps · calls a model · MySQL, Slack](https://millionrounds.com/workflow/automate-twitter-content-with-openai-and-mcp)
- [**Automate professional LinkedIn posts with OpenAI and DALL-E** 16 steps · calls a model · Email, LinkedIn](https://millionrounds.com/workflow/automate-professional-linkedin-posts-with-openai-and-dall-e)
- [**Automate video creation with Gemini and Vertex AI** 16 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/automate-video-creation-with-gemini-and-vertex-ai)
- [**Blog-to-Avatar Video Creator & Multi-Platform Auto-Poster** 16 steps · calls a model · Gmail](https://millionrounds.com/workflow/blog-to-avatar-video-creator-and-multi-platform-auto-poster)
