# Automate LinkedIn content creation with OpenAI and Notion: n8n workflow

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

Source: https://millionrounds.com/workflow/automate-linkedin-content-creation-with-openai-and-notion (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 LinkedIn content creation with OpenAI and Notion

Started by someone submitting a form, and works across Gmail, Google Drive, Google Slides, LinkedIn and one other. It hands the judgement calls to OpenAI. 29 steps, 5 branches, 1 loop 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-linkedin-content-creation-with-openai-and-notion)

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

**5** Branches: places the flow splits

**1** Loop or waits

**5** Services it connects to

## The flow

Starts it 3 Model 3 Logic 9 Service 14

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

- 1 **On form submission** Form trigger *Starts it*
- 2 **Schedule Trigger** Schedule trigger *Starts it*
- 3 **Notion Trigger** Notion trigger *Starts it*
- 4 **file uploaded?** If *Logic*
- 5 **Get Ready Posts** Notion *Service*
- 6 **Get many database pages** Notion *Service*
- 7 **Upload file** Google Drive *Service*
- 8 **Idea available?** Switch *Logic*
- 9 **LinkedIn Media?** If *Logic*
- 10 **Message a model** Open Ai *Model*
- 11 **Set File Url** Set *Logic*
- 12 **Create 10 LinkedIn Posts** Open Ai *Model*
- 13 **Create 3 LinkedIn Posts from idea** Open Ai *Model*
- 14 **Get file** Http Request *Service*
- 15 **Create a post** Linked In *Service*
- 16 **Copy file** Google Drive *Service*
- 17 **Split Out** Split Out *Logic*
- 18 **Extension** Switch *Logic*
- 19 **Update Notion Posted Status** Notion *Service*
- 20 **Replace text** Google Slides *Service*
- 21 **Loop Over Items** Split In Batches *Logic*
- 22 **Create a post with image** Linked In *Service*
- 23 **Create a post with document** Linked In *Service*
- 24 **Update a database page** Notion *Service*
- 25 **Set fields** Set *Logic*
- 26 **Send a message** Gmail *Service*
- 27 **Create a database page** Notion *Service*
- 28 **File uploaded** If *Logic*
- 29 **Update database page (with file)** Notion *Service*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 29, with 5 branches, 1 loop or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Google Drive, Google Slides, LinkedIn, Notion
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Drive, Google Slides, LinkedIn and Notion 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?

Take your time. At 29 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 29 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-linkedin-content-creation-with-openai-and-notion)
- **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 Drive](https://millionrounds.com/workflows?service=Google+Drive#library)[Google Slides](https://millionrounds.com/workflows?service=Google+Slides#library)[LinkedIn](https://millionrounds.com/workflows?service=LinkedIn#library)[Notion](https://millionrounds.com/workflows?service=Notion#library)

## Workflows like it

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

- [**Analyze website content changes with Gemini** 29 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/analyze-website-content-changes-with-gemini)
- [**Create faceless videos with Gemini and ElevenLabs** 29 steps · calls a model · Google Drive](https://millionrounds.com/workflow/create-faceless-videos-with-gemini-and-elevenlabs)
- [**Draft and track incident postmortems with OpenAI** 29 steps · calls a model · Discord, Gmail](https://millionrounds.com/workflow/draft-and-track-incident-postmortems-with-openai)
- [**GPT-4o, RunwayML, ElevenLabs for Social Media with Gemini** 29 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/gpt-4o-runwayml-elevenlabs-for-social-media-with-gemini)
- [**Generate and post Apple App Store review replies with Claude** 29 steps · calls a model · Google Drive, Slack](https://millionrounds.com/workflow/generate-and-post-apple-app-store-review-replies-with-claude)
- [**Generate and publish Instagram carousels with Gemini** 29 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/generate-and-publish-instagram-carousels-with-gemini)
