LinkedIn content using viral post analysis with Gemini & image generation
Ready for 3.0What this workflow does
This AI workflow has 18 nodes and runs on a schedule (every day) (plus 1 other trigger). Along the way it connects Google Gemini Chat Model, Google Sheets and LinkedIn.
How it runs
Trigger: On a schedule (every day) (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 an HTTP API
- 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): pauses before continuing
- Generate Post Image (HTTP Request): calls an HTTP API
- Filter: keeps only the items that match a condition
- Download Generated Image (HTTP Request): calls an HTTP API
…plus 4 more steps. See the full node list below.
Services it uses
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 (13)
- 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
From the author
LinkedIn Viral Post Scraper + AI Content Generator with Auto Publishing Who's it for Content creators, social media managers, marketing agencies, and LinkedIn growth hackers who want to automate their content strategy by analyzing viral posts and generating…