# LinkedIn post automation with Slack: n8n workflow template

> Started by another system calling it, and works across Google Sheets and Slack. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/linkedin-post-automation-with-slack (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)

# LinkedIn post automation with Slack

Started by another system calling it, and works across Google Sheets and Slack. It hands the judgement calls to OpenAI. 24 steps, 2 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%2Flinkedin-post-automation-with-slack)

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

**2** Branches: places the flow splits

**1** Loop or waits

**2** Services it connects to

## The flow

Starts it 2 Model 3 Logic 10 Service 9

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

- 1 **Structured Output Parser** Output Parser Structured *Model*
- 2 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 3 **Webhook** Webhook *Starts it*
- 4 **Linkedin-Post-Topic** Google Sheets trigger *Starts it*
- 5 **Linedin-Post-Creator** Agent *Model*
- 6 **Set Topics and Images for Processing** Code *Logic*
- 7 **Validate-Status** If *Logic*
- 8 **Format-Content** Code *Logic*
- 9 **Format-Response** Code *Logic*
- 10 **Limit** Limit *Logic*
- 11 **Approval-on-Slack** Slack *Service*
- 12 **Validate-Response** If *Logic*
- 13 **Edit Fields** Set *Logic*
- 14 **Set-Final-Message** Set *Logic*
- 15 **Linkedin-User-Detail** Http Request *Service*
- 16 **Register Image** Http Request *Service*
- 17 **Upload-Image-data** Set *Logic*
- 18 **Get Image Binary** Http Request *Service*
- 19 **Upload Image** Http Request *Service*
- 20 **Linkedin-post** Http Request *Service*
- 21 **Get-Group-id** Google Sheets *Service*
- 22 **Pick 1 by 1** Split In Batches *Logic*
- 23 **Update-Status** Google Sheets *Service*
- 24 **Post-Linkedin-Groups** Http Request *Service*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 24, with 2 branches, 1 loop or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Sheets, Slack
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Google Sheets and Slack 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%2Flinkedin-post-automation-with-slack)
- **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.

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

## Workflows like it

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

- [**AI content creation and auto WordPress publishing** 24 steps · calls a model · Google Sheets, WordPress](https://millionrounds.com/workflow/ai-content-creation-and-auto-wordpress-publishing)
- [**Auto-generate Instagram carousels with OpenAI** 24 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/auto-generate-instagram-carousels-with-openai)
- [**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)
- [**Automated Thai content creation & publishing with Ollama** 24 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/automated-thai-content-creation-and-publishing-with-ollama)
- [**Create and publish AI videos with Sora 2 Cameos and Gemini** 24 steps · calls a model · Apify, Google Sheets](https://millionrounds.com/workflow/create-and-publish-ai-videos-with-sora-2-cameos-and-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)
