Automation library · Content

Create daily AI news LinkedIn posts with OpenAI and NewsAPI

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

LargeCalls a model: OpenAI

24 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
1Loop or waits
3Services it connects to

The flow

Starts it 1Model 4Logic 11Service 8

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

  1. 1Every Night at 8pmSchedule triggerStarts it
  2. 2Fetch AI News from NewsAPIHttp RequestService
  3. 3Extract Articles ArraySetLogic
  4. 4Split ArticlesSplit OutLogic
  5. 5Limit to Top 5LimitLogic
  6. 6Loop Over ArticlesSplit In BatchesLogic
  7. 7Aggregate SummariesCodeLogic
  8. 8Summarize Article with GPT-4o-miniOpen AiModel
  9. 9AI Article SelectorOpen AiModel
  10. 10Add Summary to ArticleSetLogic
  11. 11Create LinkedIn PostOpen AiModel
  12. 12Generate Image for Top ArticleOpen AiModel
  13. 13MergeMergeLogic
  14. 14Extract LinkedIn Post TextSetLogic
  15. 15Publish to LinkedInLinked InService
  16. 16Send a messageGmailService
  17. 17Save to Google SheetsGoogle SheetsService
  18. 18Send message and wait for responseGmailService
  19. 19Notify SuccessGmailService
  20. 20Check Approval ResponseIfLogic
  21. 21Prepare LinkedIn Post DataSetLogic
  22. 22Prepare Rejection DataSetLogic
  23. 23Save Rejection to Google SheetsGoogle SheetsService
  24. 24Notify RejectionGmailService

How it's built

Starts on
A clock
Steps
24, with 1 branch, 1 loop or waits
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 24 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 24 steps before you point it at anything that matters.