# Create & track LinkedIn posts with Google Sheets and OpenAI: n8n workflow

> Started by a clock, and works across Gmail, Google Sheets and LinkedIn. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/create-and-track-linkedin-posts-with-google-sheets-and-opena (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 & track LinkedIn posts with Google Sheets and OpenAI

Started by a clock, and works across Gmail, Google Sheets and LinkedIn. It hands the judgement calls to OpenAI. 27 steps, 4 branches: 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%2Fcreate-and-track-linkedin-posts-with-google-sheets-and-opena)

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

**4** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 1 Model 8 Logic 8 Service 10

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

- 1 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 2 **Structured Output Parser** Output Parser Structured *Model*
- 3 **OpenAI Chat Model1** Lm Chat Open Ai *Model*
- 4 **Schedule Trigger** Schedule trigger *Starts it*
- 5 **Structured Output Parser1** Output Parser Structured *Model*
- 6 **GPT-4.1-mini** Lm Chat Open Ai *Model*
- 7 **AI Content Generation** Agent *Model*
- 8 **Format Content to HTML** Agent *Model*
- 9 **Get Post Idea** Google Sheets *Service*
- 10 **Choose Image** Agent *Model*
- 11 **Post Formatter** Code *Logic*
- 12 **Send Post Preview** Gmail *Service*
- 13 **Limit to One Post** Limit *Logic*
- 14 **Download Image** Http Request *Service*
- 15 **Validate Post Quality** If *Logic*
- 16 **Send email for confirmation** Gmail *Service*
- 17 **Update Post Status** Google Sheets *Service*
- 18 **Create a post with image** Linked In *Service*
- 19 **Check Email Approval** If *Logic*
- 20 **Update Post Status to Posted** Google Sheets *Service*
- 21 **Check Image Preference** If *Logic*
- 22 **Update Post Status to Rejected** Google Sheets *Service*
- 23 **Validate Image URL** If *Logic*
- 24 **Create a post** Linked In *Service*
- 25 **Convert Share Link to Download Link** Code *Logic*
- 26 **Get Image in Unsplash** Http Request *Service*
- 27 **Get Result Descriptions and Links** Code *Logic*

## How it's built

- **Starts on:** A clock
- **Steps:** 27, with 4 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Google Sheets, LinkedIn
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Sheets and LinkedIn accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

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 27 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 27 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-track-linkedin-posts-with-google-sheets-and-opena)
- **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)

## Workflows like it

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

- [**Convert RSS feeds into LinkedIn & X posts with OpenAI** 27 steps · calls a model · Gmail, LinkedIn](https://millionrounds.com/workflow/convert-rss-feeds-into-linkedin-and-x-posts-with-openai)
- [**Create content from form inputs and save it to Google Drive** 27 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/create-content-from-form-inputs-and-save-it-to-google-drive)
- [**Create hours-long wave music videos with Suno and YouTube** 27 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/create-hours-long-wave-music-videos-with-suno-and-youtube)
- [**Curate and publish LinkedIn tech posts with NewsData** 27 steps · calls a model · LinkedIn, Slack](https://millionrounds.com/workflow/curate-and-publish-linkedin-tech-posts-with-newsdata)
- [**Generate quality-checked YouTube thumbnails with OpenAI** 27 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/generate-quality-checked-youtube-thumbnails-with-openai)
- [**Generate riddle shorts & post on YouTube with Pinecone** 27 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/generate-riddle-shorts-and-post-on-youtube-with-pinecone)
