# Automate LinkedIn engagement with OpenRouter and Google Sheets: n8n workflow

> Started by an event in a connected app, and works across Google Sheets and Telegram. It hands the judgement calls to OpenRouter.

Source: https://millionrounds.com/workflow/automate-linkedin-engagement-with-openrouter-and-google-shee (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Research and reporting](https://millionrounds.com/workflows?category=Research+and+reporting#library)

# 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.

Large Calls a model: OpenRouter

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautomate-linkedin-engagement-with-openrouter-and-google-shee)

**23 steps** Large: read it before trusting it with anything live

**1** Branch: places the flow splits

**3** Loops or waits

**2** Services it connects to

## The flow

Starts it 1 Model 7 Logic 6 Service 9

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

- 1 **Character Count LLM Model** Lm Chat Open Router *Model*
- 2 **Parse Character Count** Output Parser Structured *Model*
- 3 **Sentiment Analysis LLM Model** Lm Chat Open Router *Model*
- 4 **Comment Generation LLM Model** Lm Chat Open Router *Model*
- 5 **Manual Workflow Trigger** Manual trigger *Starts it*
- 6 **Count Post Characters** Chain Llm *Model*
- 7 **Analyze Post Sentiment** Sentiment Analysis *Model*
- 8 **Generate AI Comment** Agent *Model*
- 9 **Search LinkedIn Posts** Http Request *Service*
- 10 **Filter Long Non-Reposts** If *Logic*
- 11 **Update Sentiment Results** Google Sheets *Service*
- 12 **Get Post Details** Http Request *Service*
- 13 **Extract Posts from Results** Code *Logic*
- 14 **Log Post to Sheet** Google Sheets *Service*
- 15 **Process Posts in Batches** Split In Batches *Logic*
- 16 **Post AI Comment** Http Request *Service*
- 17 **Filter Recent Posts** Code *Logic*
- 18 **Send Completion Notification** Telegram *Service*
- 19 **Add Reaction to Post** Http Request *Service*
- 20 **Wait Before Error Logging** Wait *Logic*
- 21 **Wait Before Next Action** Wait *Logic*
- 22 **Log Error Results** Google Sheets *Service*
- 23 **Update Comment Results** Google Sheets *Service*

## 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.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautomate-linkedin-engagement-with-openrouter-and-google-shee)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

Also research and reporting, with the same services where possible, closest in size first.

- [**Automated multi-agent trading analysis with OpenAI** 23 steps · calls a model · Notion, Telegram](https://millionrounds.com/workflow/automated-multi-agent-trading-analysis-with-openai)
- [**Community insights with Qdrant and Python** 23 steps · calls a model · Google Sheets, Qdrant](https://millionrounds.com/workflow/community-insights-with-qdrant-and-python)
- [**Find competitor feature gaps from app reviews with Bright Data** 23 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/find-competitor-feature-gaps-from-app-reviews-with-bright-da)
- [**IPhone scraping + AI evaluation + Google Sheets & Airtable** 23 steps · calls a model · Airtable, Gmail](https://millionrounds.com/workflow/iphone-scraping-ai-evaluation-google-sheets-and-airtable)
- [**LinkedIn Auto-Engagement with OpenRouter and Google Sheets** 23 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/linkedin-auto-engagement-with-openrouter-and-google-sheets)
- [**Track competitor prices and email AI insights** 23 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/track-competitor-prices-and-email-ai-insights)
