# Social media content generator and publisher | X, LinkedIn: n8n workflow

> Started by someone submitting a form, and works across LinkedIn and X. It hands the judgement calls to Gemini.

Source: https://millionrounds.com/workflow/social-media-content-generator-and-publisher-x-linkedin (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)

# Social media content generator and publisher | X, LinkedIn

Started by someone submitting a form, and works across LinkedIn and X. It hands the judgement calls to Gemini. 8 steps: small enough to read in one sitting and change without fear.

Small Calls a model: Gemini

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fsocial-media-content-generator-and-publisher-x-linkedin)

**8 steps** Small: readable in one sitting

**0** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 3 Logic 1 Service 3

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

- 1 **Google Gemini Chat Model** Lm Chat Google Gemini *Model*
- 2 **Receive Post Title** Form trigger *Starts it*
- 3 **Format AI Output** Output Parser Structured *Model*
- 4 **Generate AI Content** Agent *Model*
- 5 **Post to X** Twitter *Service*
- 6 **Post to LinkedIn** Linked In *Service*
- 7 **Append Linkedin And X Publishing Responses** Merge *Logic*
- 8 **Show Confirmation** Form *Service*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 8
- **Size:** Small: readable in one sitting
- **Connects to:** LinkedIn, X
- **Model:** Gemini

## Questions

What does it need to run?

An n8n account, plus your own LinkedIn and X accounts, and a key for Gemini. 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 Gemini. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Not long. At 8 steps it can be read in one sitting and changed without fear.

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 8 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%2Fsocial-media-content-generator-and-publisher-x-linkedin)
- **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.

[LinkedIn](https://millionrounds.com/workflows?service=LinkedIn#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 agent to upload LinkedIn post with Gemini and HuggingFace** 8 steps · calls a model · LinkedIn](https://millionrounds.com/workflow/ai-agent-to-upload-linkedin-post-with-gemini-and-huggingface)
- [**Automate Twitter posting with OpenAI and Google Sheets** 8 steps · calls a model · Google Sheets, X](https://millionrounds.com/workflow/automate-twitter-posting-with-openai-and-google-sheets)
- [**Automate social media posts with LinkedIn and Facebook** 8 steps · calls a model · Google Sheets, LinkedIn](https://millionrounds.com/workflow/automate-social-media-posts-with-linkedin-and-facebook)
- [**Generate AI-Powered LinkedIn Posts with Gemini and Gen-Imager** 8 steps · calls a model · LinkedIn](https://millionrounds.com/workflow/generate-ai-powered-linkedin-posts-with-gemini-and-gen-image)
- [**LinkedIn post automation template with OpenAI** 8 steps · calls a model · Google Sheets, LinkedIn](https://millionrounds.com/workflow/linkedin-post-automation-template-with-openai)
- [**Medium Blog to X/Twitter Auto-Poster with Claude** 8 steps · calls a model · RSS, X](https://millionrounds.com/workflow/medium-blog-to-x-twitter-auto-poster-with-claude)
