# Find LinkedIn engagement opportunities with Apify and Gemini: n8n workflow

> Started by a clock, and works across Apify, Google Sheets and Slack. It hands the judgement calls to Gemini.

Source: https://millionrounds.com/workflow/find-linkedin-engagement-opportunities-with-apify-and-gemini (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Chat assistants](https://millionrounds.com/workflows?category=Chat+assistants#library)

# Find LinkedIn engagement opportunities with Apify and Gemini

Started by a clock, and works across Apify, Google Sheets and Slack. It hands the judgement calls to Gemini. 23 steps, 1 branch: large, and worth reading before you trust it with anything live.

Large Calls a model: Gemini

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Ffind-linkedin-engagement-opportunities-with-apify-and-gemini)

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

**1** Branch: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 2 Model 6 Logic 6 Service 9

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

- 1 **Gemini Chat Model** Lm Chat Google Gemini *Model*
- 2 **Parse Opportunity Output** Output Parser Structured *Model*
- 3 **Gemini Chat Model Profile** Lm Chat Google Gemini *Model*
- 4 **Parse Profile Output** Output Parser Structured *Model*
- 5 **When Row Added in Sheets** Google Sheets trigger *Starts it*
- 6 **Schedule Trigger** Schedule trigger *Starts it*
- 7 **Opportunity Evaluator Agent** Agent *Model*
- 8 **Profile Analyzer Agent** Agent *Model*
- 9 **Send Comment Alert to Slack** Slack *Service*
- 10 **Set ICP Parameters** Set *Logic*
- 11 **If Opportunity Qualified** If *Logic*
- 12 **Update Profile in Sheets** Google Sheets *Service*
- 13 **Run Apify Actor** Apify *Service*
- 14 **Read LinkedIn Sheet** Google Sheets *Service*
- 15 **Update Evaluated Opportunity** Google Sheets *Service*
- 16 **Send Slack Notification** Slack *Service*
- 17 **Merge Source Data** Merge *Logic*
- 18 **Aggregate Processed Items** Aggregate *Logic*
- 19 **Limit to 2 Items** Limit *Logic*
- 20 **Read Shortlisted Profiles Sheet** Google Sheets *Service*
- 21 **Save Unique Posts to Sheets** Google Sheets *Service*
- 22 **Filter Existing Profiles** Code *Logic*
- 23 **Run Profile Scraper Actor** Apify *Service*

## 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:** Apify, Google Sheets, Slack
- **Model:** Gemini

## Questions

What does it need to run?

An n8n account, plus your own Apify, Google Sheets and Slack accounts, and a key for Gemini. 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. 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%2Ffind-linkedin-engagement-opportunities-with-apify-and-gemini)
- **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.

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

## Workflows like it

Also chat assistants, with the same services where possible, closest in size first.

- [**Assess procurement inflation risk with Groq and Google Sheets** 23 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/assess-procurement-inflation-risk-with-groq-and-google-sheet)
- [**Build an engineering knowledge graph with ClickUp and GitHub** 23 steps · calls a model · Slack](https://millionrounds.com/workflow/build-an-engineering-knowledge-graph-with-clickup-and-github)
- [**Classify and respond to Facebook Messenger inquiries** 23 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/classify-and-respond-to-facebook-messenger-inquiries)
- [**Create AI Instagram Reels with OpenAI and Veo3** 23 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/create-ai-instagram-reels-with-openai-and-veo3)
- [**Omni-Sentinel AI: autonomous enterprise auditor & ROI engine** 23 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/omni-sentinel-ai-autonomous-enterprise-auditor-and-roi-engin)
- [**Reply to Instagram comments and send DMs** 23 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/reply-to-instagram-comments-and-send-dms)
