Scrape high-engagement LinkedIn posts and auto-post with Gemini images
Ready for 3.0What this workflow does
This AI workflow has 17 nodes and runs on a schedule (every 12 hours) (plus 1 other trigger). Along the way it connects Google Gemini Chat Model, Google Sheets, LinkedIn and Google Gemini. It also calls api.apify.com over HTTP.
How it runs
Trigger: On a schedule (every 12 hours) (plus 1 other trigger).
- Fetch LinkedIn Profile URLs (Google Sheets): uses Google Sheets
- Filter: keeps only the items that match a condition
- Process Profiles in Batches (Loop Over Items (Split in Batches)): loops over the items in batches
- Aggregate: combines items into one
- Scrape LinkedIn Posts API (HTTP Request): calls api.apify.com (POST)
- LinkedIn Content Strategy AI (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; output parser: JSON Output Parser
- Rate Limiting Delay (Wait): waits 3 seconds
- Generate an image (Google Gemini): work with image
- Filter: keeps only the items that match a condition
- Publish to LinkedIn (LinkedIn): uses LinkedIn
…plus 3 more steps. See the full node list below.
Services it uses
HTTP calls to: api.apify.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (14)
- Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Sheets
n8n-nodes-base.googleSheets - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - Filter
n8n-nodes-base.filter - Google Sheets Trigger
n8n-nodes-base.googleSheetsTrigger - Aggregate
n8n-nodes-base.aggregate - AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - LinkedIn
n8n-nodes-base.linkedIn - Code
n8n-nodes-base.code - Google Gemini
@n8n/n8n-nodes-langchain.googleGemini
From the author
Who's it for This workflow is ideal for: - Content creators who want to replicate successful LinkedIn strategies - Social media managers monitoring competitor content performance - Marketing teams analyzing trending topics in their industry - Personal brands…