Automation library · Content

Generate and publish LinkedIn posts with Anthropic and OpenAI

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

LargeCalls a model: Claude

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

The flow

Starts it 4Model 3Logic 4Service 14

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

  1. 1Structured Output ParserOutput Parser StructuredModel
  2. 2Anthropic Chat ModelLm Chat AnthropicModel
  3. 3ScheduleSchedule triggerStarts it
  4. 4Schedule 2Schedule triggerStarts it
  5. 5When clicking ‘Execute workflow’Manual triggerStarts it
  6. 6XTwitterService
  7. 7Prepare Data for Instagram APISetLogic
  8. 8Error TriggerError triggerStarts it
  9. 9Idea GeneratorAgentModel
  10. 10Get Past IdeasGoogle SheetsService
  11. 11Get Ready PostsGoogle SheetsService
  12. 12Create Instagram Media ContainerFacebook Graph ApiService
  13. 13Send Error AlertGmailService
  14. 14Image StyleGoogle DriveService
  15. 15Join IdeasCodeLogic
  16. 16Pick OneLimitLogic
  17. 17Wait for Container ProcessingWaitLogic
  18. 18OpenAI ImageHttp RequestService
  19. 19Download ImageGoogle DriveService
  20. 20Publish Post to InstagramFacebook Graph ApiService
  21. 21Convert to FileConvert To FileService
  22. 22Publish PostLinked InService
  23. 23Save ImageGoogle DriveService
  24. 24Update StatusGoogle SheetsService
  25. 25Save PostGoogle 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
Gmail, Google Drive, Google Sheets, LinkedIn, X
Model
Claude

Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Drive, Google Sheets, LinkedIn and X accounts, and a key for Claude. 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 Claude. 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.