Templates / LinkedIn content using viral post analysis with Gemini & image generation

LinkedIn content using viral post analysis with Gemini & image generation

Ready for 3.0

by Roshan Ramani ✓ · 189 views · created 2025-08-28 · Content Creation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What 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).

  1. Fetch LinkedIn Profile URLs (Google Sheets): uses Google Sheets
  2. Filter: keeps only the items that match a condition
  3. Process Profiles in Batches (Loop Over Items (Split in Batches)): loops over the items in batches
  4. Aggregate: combines items into one
  5. Scrape LinkedIn Posts API (HTTP Request): calls an HTTP API
  6. LinkedIn Content Strategy AI (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; output parser: JSON Output Parser
  7. Rate Limiting Delay (Wait): pauses before continuing
  8. Generate Post Image (HTTP Request): calls an HTTP API
  9. Filter: keeps only the items that match a condition
  10. Download Generated Image (HTTP Request): calls an HTTP API

…plus 4 more steps. See the full node list below.

Services it uses

Google Gemini Chat ModelGoogle SheetsLinkedIn

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)

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…

Excerpt from Roshan Ramani's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.