Automation library · Content

Generate and post LinkedIn content with OpenAI

Started by a clock, and works across Google Drive, Google Sheets, LinkedIn and X. It hands the judgement calls to OpenAI. 25 steps, 1 loop or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

25 stepsLarge: read it before trusting it with anything live
0Branches: places the flow splits
1Loop or waits
4Services it connects to

The flow

Starts it 3Model 3Logic 8Service 11

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

  1. 1XTwitterService
  2. 2Prepare Data for Instagram APISetLogic
  3. 3OpenAI Chat ModelLm Chat Open AiModel
  4. 4Schedule TriggerSchedule triggerStarts it
  5. 5Schedule Trigger1Schedule triggerStarts it
  6. 6When clicking ‘Execute workflow’Manual triggerStarts it
  7. 7Create Instagram Media ContainerFacebook Graph ApiService
  8. 8Idea GeneratorAgentModel
  9. 9Get Past IdeasGoogle SheetsService
  10. 10Get Ready PostsGoogle SheetsService
  11. 11Wait for Container ProcessingWaitLogic
  12. 12Decode and setCodeLogic
  13. 13Join IdeasCodeLogic
  14. 14FilterFilterLogic
  15. 15Publish Post to InstagramFacebook Graph ApiService
  16. 16Image StyleGoogle DriveService
  17. 17MergeMergeLogic
  18. 18Pick OneLimitLogic
  19. 19Generate an imageOpen AiModel
  20. 20Save Post1Google SheetsService
  21. 21Download ImageGoogle DriveService
  22. 22Merge1MergeLogic
  23. 23Save ImageGoogle DriveService
  24. 24Publish PostLinked InService
  25. 25Update StatusGoogle SheetsService

How it's built

Starts on
A clock
Steps
25, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
Google Drive, Google Sheets, LinkedIn, X
Model
OpenAI

Questions

What does it need to run?

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

What starts it?

It starts on a clock.

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