Automation library · Chat assistants

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.

LargeCalls a model: Gemini

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

The flow

Starts it 2Model 6Logic 6Service 9

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

  1. 1Gemini Chat ModelLm Chat Google GeminiModel
  2. 2Parse Opportunity OutputOutput Parser StructuredModel
  3. 3Gemini Chat Model ProfileLm Chat Google GeminiModel
  4. 4Parse Profile OutputOutput Parser StructuredModel
  5. 5When Row Added in SheetsGoogle Sheets triggerStarts it
  6. 6Schedule TriggerSchedule triggerStarts it
  7. 7Opportunity Evaluator AgentAgentModel
  8. 8Profile Analyzer AgentAgentModel
  9. 9Send Comment Alert to SlackSlackService
  10. 10Set ICP ParametersSetLogic
  11. 11If Opportunity QualifiedIfLogic
  12. 12Update Profile in SheetsGoogle SheetsService
  13. 13Run Apify ActorApifyService
  14. 14Read LinkedIn SheetGoogle SheetsService
  15. 15Update Evaluated OpportunityGoogle SheetsService
  16. 16Send Slack NotificationSlackService
  17. 17Merge Source DataMergeLogic
  18. 18Aggregate Processed ItemsAggregateLogic
  19. 19Limit to 2 ItemsLimitLogic
  20. 20Read Shortlisted Profiles SheetGoogle SheetsService
  21. 21Save Unique Posts to SheetsGoogle SheetsService
  22. 22Filter Existing ProfilesCodeLogic
  23. 23Run Profile Scraper ActorApifyService

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.