Automation library · Research and reporting

Automate LinkedIn engagement with OpenRouter and Google Sheets

Started by an event in a connected app, and works across Google Sheets and Telegram. It hands the judgement calls to OpenRouter. 23 steps, 1 branch, 3 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenRouter

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

The flow

Starts it 1Model 7Logic 6Service 9

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

  1. 1Character Count LLM ModelLm Chat Open RouterModel
  2. 2Parse Character CountOutput Parser StructuredModel
  3. 3Sentiment Analysis LLM ModelLm Chat Open RouterModel
  4. 4Comment Generation LLM ModelLm Chat Open RouterModel
  5. 5Manual Workflow TriggerManual triggerStarts it
  6. 6Count Post CharactersChain LlmModel
  7. 7Analyze Post SentimentSentiment AnalysisModel
  8. 8Generate AI CommentAgentModel
  9. 9Search LinkedIn PostsHttp RequestService
  10. 10Filter Long Non-RepostsIfLogic
  11. 11Update Sentiment ResultsGoogle SheetsService
  12. 12Get Post DetailsHttp RequestService
  13. 13Extract Posts from ResultsCodeLogic
  14. 14Log Post to SheetGoogle SheetsService
  15. 15Process Posts in BatchesSplit In BatchesLogic
  16. 16Post AI CommentHttp RequestService
  17. 17Filter Recent PostsCodeLogic
  18. 18Send Completion NotificationTelegramService
  19. 19Add Reaction to PostHttp RequestService
  20. 20Wait Before Error LoggingWaitLogic
  21. 21Wait Before Next ActionWaitLogic
  22. 22Log Error ResultsGoogle SheetsService
  23. 23Update Comment ResultsGoogle SheetsService

How it's built

Starts on
An event in a connected app
Steps
23, with 1 branch, 3 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Google Sheets, Telegram
Model
OpenRouter

Questions

What does it need to run?

An n8n account, plus your own Google Sheets and Telegram accounts, and a key for OpenRouter. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls OpenRouter. 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.