📊 Scrape LinkedIn post comments into Google Sheets with Apify

⚡ 19 views · 📊 Market Research & Insights

💡 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

📺 Full walkthrough video: https://youtu.be/y63_F9l_eiU

Who it’s for

This workflow is for marketers, growth hackers, and social media managers who want to collect and analyze comments from LinkedIn posts without manual copy-pasting. It is especially useful for community managers running outreach or sentiment analysis.

How it works

  1. A user submits a form providing the LinkedIn post URL to trigger the workflow.
  2. A new Google Sheets spreadsheet is automatically created and named after the post URL to store the results for that session.
  3. The workflow sends a POST request to Apify’s LinkedIn comment scraper actor, which fetches all comments (including replies) from the given post.
  4. The raw Apify response is transformed using a Set node, extracting four key fields: Comment, Author (as a clickable hyperlink), Author Headline, and Comment URL.
  5. Each processed comment is appended or updated as a row in the newly created Google Sheet for easy review and export.

How to set up

Requirements

How to customize

🔗 Nodes Used

Google Sheets, HTTP Request, n8n Form Trigger

📥 Import

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

📖 Importing guide · 🔑 Credential setup