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
Search Google for LinkedIn posts
Use a site:linkedin.com/posts query with the target topic to collect post URLs.
Extract each post page
Call Scavio extract with render_js=true to pull commenter DOM content.
Parse commenters
Extract names, headlines, and company guesses from the rendered HTML.
Enrich with email provider
Pipe each commenter through Hunter, Apollo, or Clay to find verified emails.
Write to CRM
Push enriched leads into HubSpot or Salesforce with a personalization context variable.
Python Implementation
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
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
Web search with knowledge graph, PAA, and AI overviews