Skip to main content

Scrape LinkedIn post comments into Google Sheets with Apify

Workflow preview

Workflow preview
100%
Scrape LinkedIn post comments into Google Sheets with Apify preview
Open on n8n.io

1. Workflow Overview

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

Best for

  • Market Research automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.formtrigger, n8n-nodes-base.set, n8n-nodes-base.googlesheets, n8n-nodes-base.httprequest

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Allan Vaccarizi.

Original n8n.io source

1.1 Workflow description

Title
Scrape LinkedIn post comments into Google Sheets with Apify
Workflow name
Scrape LinkedIn post comments into Google Sheets with Apify

📺 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

  • Configure the On form submission trigger with the Post URL field
  • Add your Apify API credentials in the HTTP Request node
  • Connect a Google account with Sheets and Drive access to both Google Sheets nodes
  • Set the target Google Drive folder in the 'Create spreadsheet' node
  • Verify the column mapping in the 'Set Comment Fields' node matches your sheet headers

Requirements

  • Apify account with API key and access to the LinkedIn comment scraper actor
  • Google account with Google Sheets and Google Drive access

How to customize

  • Extend the 'Set Comment Fields' node to capture additional Apify fields such as comment likes, timestamps, or reaction counts.
  • Add a Filter node after scraping to store only comments containing specific keywords or from specific authors.
  • Replace the form trigger with a scheduled trigger or a webhook to automate scraping for multiple posts in batch.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note13

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note16

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - When Form Submitted

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.5

Block 8 - Set Comment Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 9 - Append or Update Sheet Row

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 10 - Create Sheet Data

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 11 - Scrape LinkedIn Comments via Apify1

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

3. Summary Table

Workflow Scrape LinkedIn post comments into Google Sheets with Apify
Complexity intermediate
Nodes 11
Categories Market Research
Author Allan Vaccarizi
Published 28 Apr 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15368/15368.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Scrape LinkedIn post comments into Google Sheets with Apify do?

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

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research use case.