🎬 Scrape high-engagement LinkedIn posts and auto-post with Gemini images

⚡ 193 views · 🎬 Content Creation & Video

💡 Pro Tip — If you’re pulling LinkedIn data through HTTP requests or dealing with API restrictions, there’s a community node called ScraperNode that handles this natively. It has dedicated scrapers for profiles, companies, jobs, and people search — you just pass a URL and get structured data back.

View All Scrapers

Description

Who’s it for

This workflow is ideal for:

What it does

This comprehensive workflow automates the entire LinkedIn content lifecycle: it scrapes viral posts from target accounts, analyzes engagement patterns, identifies trending topics, generates original AI-powered content based on those trends, creates accompanying images, and automatically publishes to your LinkedIn profile or company page.

How it works

Phase 1: Data Collection (Runs every 12 hours)

Phase 2: Content Generation (Triggered by new data)

Setup steps

1. Configure Google Sheets

2. Set up Apify API

3. Configure Google Gemini credentials

4. Set up LinkedIn publishing

5. Configure scheduling

6. Test the workflow

Requirements

How to customize

Adjust scraping targets:

Modify engagement filters:

Customize content analysis window:

Refine AI content generation:

Customize image generation:

Change posting schedule:

Enhance data collection:

Add notifications:

đź”— Nodes Used

Google Sheets, HTTP Request, LinkedIn, Schedule Trigger, Google Sheets Trigger, Filter

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup