Workflow

LinkedIn Comment to CRM Enrichment

Find LinkedIn posts by topic via Google, extract commenters, enrich with emails, and drop qualified leads into your CRM daily.

Overview

This workflow treats Google as a LinkedIn crawler. It searches Google for LinkedIn posts matching a topic, extracts the post pages with JS rendering, parses commenters, enriches them with email lookup, and pushes qualified leads into HubSpot or Salesforce. The pipeline never touches LinkedIn directly so it avoids account bans and scraper fragility.

Trigger

Cron schedule (daily at 7 AM UTC)

Schedule

Runs daily at 7 AM UTC

Workflow Steps

1

Search Google for LinkedIn posts

Use a site:linkedin.com/posts query with the target topic to collect post URLs.

2

Extract each post page

Call Scavio extract with render_js=true to pull commenter DOM content.

3

Parse commenters

Extract names, headlines, and company guesses from the rendered HTML.

4

Enrich with email provider

Pipe each commenter through Hunter, Apollo, or Clay to find verified emails.

5

Write to CRM

Push enriched leads into HubSpot or Salesforce with a personalization context variable.

Python Implementation

Python
import requests, os
API_KEY = os.environ["SCAVIO_API_KEY"]

def linkedin_posts(topic):
    r = requests.post("https://api.scavio.dev/api/v1/search",
        headers={"x-api-key": API_KEY},
        json={"query": f'site:linkedin.com/posts "{topic}"', "num_results": 30})
    return [p["link"] for p in r.json().get("organic_results", []) if "/posts/" in p["link"]]

for url in linkedin_posts("agentic seo"):
    html = requests.post("https://api.scavio.dev/api/v1/extract",
        headers={"x-api-key": API_KEY},
        json={"url": url, "render_js": True}).json().get("html", "")
    print(url, len(html))

JavaScript Implementation

JavaScript
const API_KEY = process.env.SCAVIO_API_KEY;
async function linkedinPosts(topic) {
  const r = await fetch("https://api.scavio.dev/api/v1/search", {
    method: "POST",
    headers: { "x-api-key": API_KEY, "content-type": "application/json" },
    body: JSON.stringify({ query: `site:linkedin.com/posts "${topic}"`, num_results: 30 }),
  });
  const data = await r.json();
  return (data.organic_results ?? []).filter((p) => p.link.includes("/posts/")).map((p) => p.link);
}
for (const url of await linkedinPosts("agentic seo")) console.log(url);

Platforms Used

Google

Web search with knowledge graph, PAA, and AI overviews

Frequently Asked Questions

This workflow treats Google as a LinkedIn crawler. It searches Google for LinkedIn posts matching a topic, extracts the post pages with JS rendering, parses commenters, enriches them with email lookup, and pushes qualified leads into HubSpot or Salesforce. The pipeline never touches LinkedIn directly so it avoids account bans and scraper fragility.

This workflow uses a cron schedule (daily at 7 am utc). Runs daily at 7 AM UTC.

This workflow uses the following Scavio platforms: google. Each platform is called via the same unified API endpoint.

Yes. Scavio's free tier includes 500 credits per month with no credit card required. That is enough to test and validate this workflow before scaling it.

LinkedIn Comment to CRM Enrichment

Find LinkedIn posts by topic via Google, extract commenters, enrich with emails, and drop qualified leads into your CRM daily.