Automation library · Content

AI agent for LinkedIn post with OpenAI and Google Sheets

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

LargeCalls a model: OpenAI

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

The flow

Starts it 1Model 4Logic 9Service 7

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

  1. 1OpenAI Chat ModelLm Chat Open AiModel
  2. 2Schedule TriggerSchedule triggerStarts it
  3. 3AI AgentAgentModel
  4. 4AI Agent1AgentModel
  5. 5Google SheetsGoogle SheetsService
  6. 6AggregateAggregateLogic
  7. 7CodeCodeLogic
  8. 8LimitLimitLogic
  9. 9OpenAIOpen AiModel
  10. 10HTTP RequestHttp RequestService
  11. 11Code1CodeLogic
  12. 12XMLXmlLogic
  13. 13FEATURED IMAGE GENHttp RequestService
  14. 14Split OutSplit OutLogic
  15. 15GENERATING IMAGEWaitLogic
  16. 16Limit1LimitLogic
  17. 17Get imageHttp RequestService
  18. 18Edit FieldsSetLogic
  19. 19IMAGE DOWNLOADHttp RequestService
  20. 20LinkedInLinked InService
  21. 21Google Sheets1Google SheetsService

How it's built

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

Questions

What does it need to run?

An n8n account, plus your own 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 21 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 21 steps before you point it at anything that matters.