Automation library · Content

Automate LinkedIn content creation with OpenAI and Notion

Started by someone submitting a form, and works across Gmail, Google Drive, Google Slides, LinkedIn and one other. It hands the judgement calls to OpenAI. 29 steps, 5 branches, 1 loop or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

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

The flow

Starts it 3Model 3Logic 9Service 14

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

  1. 1On form submissionForm triggerStarts it
  2. 2Schedule TriggerSchedule triggerStarts it
  3. 3Notion TriggerNotion triggerStarts it
  4. 4file uploaded?IfLogic
  5. 5Get Ready PostsNotionService
  6. 6Get many database pagesNotionService
  7. 7Upload fileGoogle DriveService
  8. 8Idea available?SwitchLogic
  9. 9LinkedIn Media?IfLogic
  10. 10Message a modelOpen AiModel
  11. 11Set File UrlSetLogic
  12. 12Create 10 LinkedIn PostsOpen AiModel
  13. 13Create 3 LinkedIn Posts from ideaOpen AiModel
  14. 14Get fileHttp RequestService
  15. 15Create a postLinked InService
  16. 16Copy fileGoogle DriveService
  17. 17Split OutSplit OutLogic
  18. 18ExtensionSwitchLogic
  19. 19Update Notion Posted StatusNotionService
  20. 20Replace textGoogle SlidesService
  21. 21Loop Over ItemsSplit In BatchesLogic
  22. 22Create a post with imageLinked InService
  23. 23Create a post with documentLinked InService
  24. 24Update a database pageNotionService
  25. 25Set fieldsSetLogic
  26. 26Send a messageGmailService
  27. 27Create a database pageNotionService
  28. 28File uploadedIfLogic
  29. 29Update database page (with file)NotionService

How it's built

Starts on
Someone submitting a form
Steps
29, with 5 branches, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Drive, Google Slides, LinkedIn, Notion
Model
OpenAI

Questions

What does it need to run?

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

How long does it take to set up?

Take your time. At 29 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 29 steps before you point it at anything that matters.