🎬 Scrape and rewrite LinkedIn AI posts with Apify, Groq, OpenAI and Google Sheets

⚡ 21 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

How it works

  1. User submits a form with a LinkedIn profile URL and number of posts to scrape
  2. Apify’s LinkedIn Post Scraper actor fetches posts (no cookies required, ~$1 per 1,000 posts)
  3. Posts are looped one at a time for AI processing
  4. Groq AI verifies each post’s authenticity and quality
  5. Authentic posts are rewritten by OpenAI in a fresh, engaging style
  6. Results (author, original post, rewritten post) are logged to Google Sheets

Set up steps

🔗 Nodes Used

Google Sheets, AI Agent, OpenAI Chat Model, Simple Memory, Structured Output Parser, n8n Form Trigger

📥 Import

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

📖 Importing guide · 🔑 Credential setup