Workflow

Scrape LinkedIn Search Post Engagers to Google Sheets

Search LinkedIn for posts by keyword, then extract everyone who reacted to each post. Paste a fetch() for a Content search from DevTools to scrape all engagers with automatic pagination.

Needle Team

Last updated

February 18, 2026

Connectors used

Google Sheets

Tags

LinkedInSearch ScraperLead GenerationPost EngagersGoogle SheetsSales Prospecting

Key Takeaways

  • Keyword-based search - Search LinkedIn posts by any keyword and scrape everyone who reacted
  • Automatic pagination - Pages through search results and reaction lists with 3-second delays
  • Rich profile data - Extracts name, headline, LinkedIn URL, profile ID, and the post they engaged with
  • Up to 1,000 profiles - Collects up to 100 reactors per post across multiple search pages
  • Real-time export - Saves profiles to Google Sheets as each post is processed
  • DevTools-based - You paste a fetch() request copied from a LinkedIn Content search

What This Workflow Does

This workflow takes a LinkedIn Content search API request (copied from DevTools), paginates through search results to find posts matching your keyword, then fetches the reactor list for each post. It extracts full profile details (name, headline, LinkedIn URL, profile ID) and saves everything to Google Sheets.

Use cases:

  • Find people engaging with content about a specific topic (e.g., "AI agency", "n8n consultants")
  • Build targeted outreach lists based on content engagement
  • Discover professionals actively interested in a niche by their reactions
  • Research which audiences engage with posts about specific keywords

How It Works

StepWhat Happens
1. Manual triggerYou paste a fetch() request from a LinkedIn Content search
2. Parse fetch requestCode node extracts the base URL, headers, CSRF token, and search keywords
3. Search for postsHTTP request fetches a page of search results matching your keyword
4. Extract post activity IDsCode node pulls activity IDs from the search result clusters
5. Fetch reactions per postFor each post, HTTP request fetches up to 100 reactors with a 3-second delay
6. Extract reactor profilesCode node collects name, headline, LinkedIn URL, and profile ID from each reactor
7. Save to Google SheetsAI agent writes profiles to your spreadsheet

The workflow alternates between searching for new posts and scraping reactors, stopping after ~1,000 profiles or when all posts and search pages are exhausted.


AI Models Used

ModelProviderRole
Gemini 3 Flash (Preview)GoogleWrites reactor profiles to Google Sheets

Setup Instructions

  1. Click "Use template" on this page
  2. Copy the template Google Sheet linked inside the workflow and paste your own sheet URL into the AI node
  3. Connect your Google Sheets account
  4. Go to LinkedIn and search for your topic (e.g., "AI agency")
  5. Click the Posts tab to filter by content
  6. Open DevTools (F12), go to the Network tab, and filter by "graphql" or "voyager"
  7. Scroll or navigate in the search results to trigger the API call
  8. Find the searchDashClusters request, right-click it, and select "Copy as fetch"
  9. Paste the fetch() into the Manual Trigger node
  10. Run the workflow

Google Sheets Output

ColumnField
Aname
Blinkedin_url
Cheadline
Dprofile_id
Epost_url
Fsearch_query

Customization

What You Can ChangeHow
Search keywordCopy a fetch() from a different LinkedIn Content search
Delay between requestsEdit the wait node duration (default is 3 seconds)
Max profilesChange the MAX_PROFILES constant in the process code node (default is 1,000)
Output columnsModify the AI node prompt to write additional or fewer columns
Target Google SheetReplace the sheet URL in the AI node prompt

FAQ

Q: Does this require LinkedIn Premium? A: No, it works with a free LinkedIn account. You just need to be logged in.

Q: How many profiles can I extract per run? A: Up to 1,000 profiles. Each post yields up to 100 reactors, and the workflow paginates through search results to find more posts.

Q: What is the difference between this and the Viral Post Leads workflow? A: The Viral Post Leads workflow targets a single post you already know about. This workflow searches LinkedIn by keyword to discover posts and then scrapes the engagers from all of them automatically.

Q: Why do I need to click the Posts tab? A: The Posts tab activates the Content search endpoint. The workflow needs this specific API request to paginate through post results.

Q: What if my search returns fewer results than expected? A: LinkedIn limits Content search results. The workflow processes whatever is available and stops when there are no more pages or posts to scrape.

Q: Can I run this for multiple keywords? A: Run the workflow once per keyword. Each run uses a single search query.

Want to showcase your own workflows?

Become a Needle workflow partner and turn your expertise into recurring revenue.

Try Needle today

Streamline AI productivity at your company today

Join thousands of people who have transformed their workflows.

Agentic workflowsAutomations, meet AI agents
AI SearchAll your data, searchable
Chat widgetsDrop-in widget for your website
Developer APIMake your app talk to Needle
    Needle LogoNeedle
    Like many websites, we use cookies to enhance your experience, analyze site traffic and deliver personalized content while you are here. By clicking "Accept", you are giving us your consent to use cookies in this way. Read our more on our cookie policy .