# Generate and schedule LinkedIn, X, and Instagram posts: n8n workflow

> Started by another system calling it. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/generate-and-schedule-linkedin-x-and-instagram-posts (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Scheduling](https://millionrounds.com/workflows?category=Scheduling#library)

# Generate and schedule LinkedIn, X, and Instagram posts

Started by another system calling it. It calls services over plain HTTP rather than through connectors. It hands the judgement calls to OpenAI. 26 steps, 3 loops 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%2Fgenerate-and-schedule-linkedin-x-and-instagram-posts)

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

**0** Branches: places the flow splits

**3** Loops or waits

**0** Services by connector: it calls them over plain HTTP

## The flow

Starts it 3 Model 4 Logic 10 Service 9

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

- 1 **Webhook - Content Request** Webhook *Starts it*
- 2 **Schedule Trigger - Content Calendar** Schedule trigger *Starts it*
- 3 **OpenAI - Agent 1 Model** Lm Chat Open Ai *Model*
- 4 **OpenAI - Agent 2 Model** Lm Chat Open Ai *Model*
- 5 **Normalize Input** Set *Logic*
- 6 **Agent 1 - Trend Research AI** Agent *Model*
- 7 **Agent 2 - Content Generation AI** Agent *Model*
- 8 **JS - Parse & Validate Trend Report** Code *Logic*
- 9 **JS - Parse & Validate Content Bundle** Code *Logic*
- 10 **Wait - Rate Limit Agent 1** Wait *Logic*
- 11 **Gate - Content Generation Succeeded?** Filter *Logic*
- 12 **DALL-E - Generate LinkedIn Image** Http Request *Service*
- 13 **DALL-E - Generate Twitter Image** Http Request *Service*
- 14 **DALL-E - Generate Instagram Image** Http Request *Service*
- 15 **JS - Merge Image URLs into Bundle** Code *Logic*
- 16 **Wait - Rate Limit Agent 2** Wait *Logic*
- 17 **Agent 3 - Post to LinkedIn** Http Request *Service*
- 18 **Agent 3 - Post to X (Twitter)** Http Request *Service*
- 19 **Agent 3 - Create Instagram Container** Http Request *Service*
- 20 **Wait For Data** Wait *Logic*
- 21 **JS - Build Publish Report** Code *Logic*
- 22 **Agent 3 - Publish Instagram Post** Http Request *Service*
- 23 **Log to Google Sheet Tracker** Http Request *Service*
- 24 **Filter - Any Platform Failed?** Filter *Logic*
- 25 **Respond - Webhook Success** Respond To Webhook *Starts it*
- 26 **Alert - Send Failure Email** Http Request *Service*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 26, 3 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Nothing by connector; it calls services over plain HTTP
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, 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 26 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 26 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%2Fgenerate-and-schedule-linkedin-x-and-instagram-posts)
- **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.

## Workflows like it

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

- [**Categorize emails, chat with PDFs and OpenAI** 26 steps · calls a model · Gmail, Pinecone](https://millionrounds.com/workflow/categorize-emails-chat-with-pdfs-and-openai)
- [**Create ClickUp meeting action items from transcripts** 26 steps · calls a model · Airtable, ClickUp](https://millionrounds.com/workflow/create-clickup-meeting-action-items-from-transcripts)
- [**Manage dental patient chat, bookings, and reminders** 26 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/manage-dental-patient-chat-bookings-and-reminders)
- [**Prep meeting agendas from Google Calendar with Gmail** 26 steps · calls a model · Airtable, Gmail](https://millionrounds.com/workflow/prep-meeting-agendas-from-google-calendar-with-gmail)
- [**Process meeting transcripts into Notion notes & tasks** 26 steps · calls a model · Google Drive, Notion](https://millionrounds.com/workflow/process-meeting-transcripts-into-notion-notes-and-tasks)
- [**WhatsApp assistant with Gemini and Evolution API** 26 steps · calls a model · Google Calendar](https://millionrounds.com/workflow/whatsapp-assistant-with-gemini-and-evolution-api)
