Automation library · Content

Create AI news LinkedIn posts from Google Trends with Tavily

Started by a clock, and works across LinkedIn. It puts Gemini and OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 23 steps, 1 branch: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini, OpenAIRetrieval

23 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 1Model 7Logic 8Service 7

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

  1. 1Schedule TriggerSchedule triggerStarts it
  2. 2OpenAILm Chat Open AiModel
  3. 3MemoryMemory Buffer WindowModel
  4. 4Output ParserOutput Parser StructuredModel
  5. 5Structured Output ParserOutput Parser StructuredModel
  6. 6Google Gemini Chat ModelLm Chat Google GeminiModel
  7. 7Google_trends_trending_now searchSerp ApiService
  8. 8AI AgentAgentModel
  9. 9Basic LLM ChainChain LlmModel
  10. 10Code in JavaScriptCodeLogic
  11. 11HTTP Request1Http RequestService
  12. 12IfIfLogic
  13. 13AggregateAggregateLogic
  14. 14HTTP Request2Http RequestService
  15. 15HTTP RequestHttp RequestService
  16. 16Google searchSerp ApiService
  17. 17LinkedIn1Linked InService
  18. 18Code in JavaScript1CodeLogic
  19. 19Code in JavaScript2CodeLogic
  20. 20Aggregate1AggregateLogic
  21. 21Aggregate2AggregateLogic
  22. 22HTTP Request3Http RequestService
  23. 23Code in JavaScript3CodeLogic

How it's built

Starts on
A clock
Steps
23, with 1 branch
Size
Large: read it before trusting it with anything live
Connects to
LinkedIn
Model
Gemini, OpenAI
Retrieval
Answers are drawn from documents you supply, not from the model alone

Questions

What does it need to run?

An n8n account, plus your own LinkedIn account, and a key for Gemini and 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 Gemini and OpenAI. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

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