Automation library · Content

Create & track LinkedIn posts with Google Sheets and OpenAI

Started by a clock, and works across Gmail, Google Sheets and LinkedIn. It hands the judgement calls to OpenAI. 27 steps, 4 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

27 stepsLarge: read it before trusting it with anything live
4Branches: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 1Model 8Logic 8Service 10

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

  1. 1OpenAI Chat ModelLm Chat Open AiModel
  2. 2Structured Output ParserOutput Parser StructuredModel
  3. 3OpenAI Chat Model1Lm Chat Open AiModel
  4. 4Schedule TriggerSchedule triggerStarts it
  5. 5Structured Output Parser1Output Parser StructuredModel
  6. 6GPT-4.1-miniLm Chat Open AiModel
  7. 7AI Content GenerationAgentModel
  8. 8Format Content to HTMLAgentModel
  9. 9Get Post IdeaGoogle SheetsService
  10. 10Choose ImageAgentModel
  11. 11Post FormatterCodeLogic
  12. 12Send Post PreviewGmailService
  13. 13Limit to One PostLimitLogic
  14. 14Download ImageHttp RequestService
  15. 15Validate Post QualityIfLogic
  16. 16Send email for confirmationGmailService
  17. 17Update Post StatusGoogle SheetsService
  18. 18Create a post with imageLinked InService
  19. 19Check Email ApprovalIfLogic
  20. 20Update Post Status to PostedGoogle SheetsService
  21. 21Check Image PreferenceIfLogic
  22. 22Update Post Status to RejectedGoogle SheetsService
  23. 23Validate Image URLIfLogic
  24. 24Create a postLinked InService
  25. 25Convert Share Link to Download LinkCodeLogic
  26. 26Get Image in UnsplashHttp RequestService
  27. 27Get Result Descriptions and LinksCodeLogic

How it's built

Starts on
A clock
Steps
27, with 4 branches
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Sheets, LinkedIn
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Sheets and LinkedIn 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 27 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 27 steps before you point it at anything that matters.