Automation library · Scheduling

Generate & schedule social posts with Gemini and OpenAI

Started by someone submitting a form, and works across Google Sheets, LinkedIn, Slack and X. It hands the judgement calls to Gemini and OpenAI. 14 steps: a working afternoon to understand properly.

MediumCalls a model: Gemini, OpenAI

14 stepsMedium: a working afternoon
0Branches: places the flow splits
0Loops or waits
4Services it connects to

The flow

Starts it 2Model 4Logic 2Service 6

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

  1. 1Google Gemini Chat ModelLm Chat Google GeminiModel
  2. 2Receive Post TitleForm triggerStarts it
  3. 3Format AI OutputOutput Parser StructuredModel
  4. 4Schedule TriggerSchedule triggerStarts it
  5. 5Generate AI ContentAgentModel
  6. 6Fetch LinkedIn PostsHttp RequestService
  7. 7Post to XTwitterService
  8. 8Post to LinkedInLinked InService
  9. 9Filter High Engagement PostsFunctionLogic
  10. 10Append Linkedin And X Publishing ResponsesMergeLogic
  11. 11Generate Post Ideas (OpenAI)Open AiModel
  12. 12Show ConfirmationFormService
  13. 13Save Drafts to Google SheetsGoogle SheetsService
  14. 14Notify Reviewer (Slack)SlackService

How it's built

Starts on
Someone submitting a form
Steps
14
Size
Medium: a working afternoon
Connects to
Google Sheets, LinkedIn, Slack, X
Model
Gemini, OpenAI

Questions

What does it need to run?

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

How long does it take to set up?

Plan an afternoon. 14 steps is enough that you should read each one before running it.

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 14 steps before you point it at anything that matters.