🎬 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.
Description
How it works
- User submits a form with a LinkedIn profile URL and number of posts to scrape
- Apify’s LinkedIn Post Scraper actor fetches posts (no cookies required, ~$1 per 1,000 posts)
- Posts are looped one at a time for AI processing
- Groq AI verifies each post’s authenticity and quality
- Authentic posts are rewritten by OpenAI in a fresh, engaging style
- Results (author, original post, rewritten post) are logged to Google Sheets
Set up steps
- Estimated time: ~10 minutes
- Connect Apify via OAuth2 (requires an Apify account)
- Add your Groq API key in the Groq Chat Model node
- Add your OpenAI API key in the OpenAI Chat Model node
- Connect Google Sheets via OAuth2 and select your posts tracker spreadsheet
- Use responsibly and in accordance with LinkedIn’s Terms of Service
🔗 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