# Automated LinkedIn post generator with Gemini: n8n workflow

> Started by a change in a Google Sheet, and works across Google Drive, Google Sheets and LinkedIn. It hands the judgement calls to Gemini.

Source: https://millionrounds.com/workflow/automated-linkedin-post-generator-with-gemini (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 LinkedIn post generator with Gemini

Started by a change in a Google Sheet, and works across Google Drive, Google Sheets and LinkedIn. It hands the judgement calls to Gemini. 24 steps, 3 branches: large, and worth reading before you trust it with anything live.

Large Calls a model: Gemini

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautomated-linkedin-post-generator-with-gemini)

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

**3** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 3 Model 4 Logic 6 Service 11

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

- 1 **Google Sheets Trigger1** Google Sheets trigger *Starts it*
- 2 **Google Gemini Chat Model1** Lm Chat Google Gemini *Model*
- 3 **Google Gemini Chat Model** Lm Chat Google Gemini *Model*
- 4 **Google Sheets Trigger** Google Sheets trigger *Starts it*
- 5 **Google Sheets Trigger2** Google Sheets trigger *Starts it*
- 6 **Pending1** Switch *Logic*
- 7 **Basic LLM Chain** Chain Llm *Model*
- 8 **Basic LLM Chain1** Chain Llm *Model*
- 9 **Switch** Switch *Logic*
- 10 **Switch1** Switch *Logic*
- 11 **Limit1** Limit *Logic*
- 12 **AI Transform1** Ai Transform *Service*
- 13 **Google Sheets1** Google Sheets *Service*
- 14 **Limit** Limit *Logic*
- 15 **Limit2** Limit *Logic*
- 16 **HTTP Request1** Http Request *Service*
- 17 **HTTP Request** Http Request *Service*
- 18 **HTTP Request2** Http Request *Service*
- 19 **Convert to File** Convert To File *Service*
- 20 **LinkedIn** Linked In *Service*
- 21 **Google Drive** Google Drive *Service*
- 22 **Google Sheets2** Google Sheets *Service*
- 23 **Google Drive1** Google Drive *Service*
- 24 **Google Sheets** Google Sheets *Service*

## How it's built

- **Starts on:** A change in a Google Sheet
- **Steps:** 24, with 3 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Drive, Google Sheets, LinkedIn
- **Model:** Gemini

## Questions

What does it need to run?

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

What starts it?

It starts on a change in a Google Sheet.

Does it use AI?

Yes. It calls Gemini. 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%2Fautomated-linkedin-post-generator-with-gemini)
- **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 Drive](https://millionrounds.com/workflows?service=Google+Drive#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.

- [**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)
- [**Automate blog-to-social media with OpenAI and Reddit** 24 steps · calls a model · LinkedIn, Postgres](https://millionrounds.com/workflow/automate-blog-to-social-media-with-openai-and-reddit)
- [**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)
