Overview
Scans Google and Reddit daily for buying-intent keywords related to agency services. Scores leads by intent signals, enriches with domain data, and pushes qualified prospects to a CRM or Slack channel.
Trigger
Daily at 9 AM UTC via cron
Schedule
Daily at 9 AM UTC
Workflow Steps
Define intent keywords
Load a list of buying-intent keywords (e.g., 'need SEO help', 'looking for marketing agency', 'hire developer') from config.
Search Google for intent signals
Query each keyword on Google to find companies and individuals expressing service needs.
Search Reddit for active discussions
Query Reddit for the same intent keywords to find community posts asking for recommendations.
Score and filter results
Score each result by intent signals (recency, specific asks, budget mentions). Filter out results below threshold.
Deduplicate against CRM
Check whether the lead URL or domain already exists in the CRM. Skip duplicates.
Push to CRM or Slack
Send qualified leads to CRM with source URL, intent score, and context snippet. Post daily summary to Slack.
Python Implementation
import requests, os, json
from datetime import date
H = {"x-api-key": os.environ["SCAVIO_API_KEY"]}
INTENT_KEYWORDS = ["need SEO help", "looking for marketing agency", "hire web developer"]
leads = []
for kw in INTENT_KEYWORDS:
google = requests.post("https://api.scavio.dev/api/v1/search", headers=H,
json={"platform": "google", "query": kw}, timeout=10).json()
reddit = requests.post("https://api.scavio.dev/api/v1/search", headers=H,
json={"platform": "reddit", "query": kw}, timeout=10).json()
for r in google.get("organic", [])[:5]:
leads.append({"source": "google", "keyword": kw,
"title": r.get("title"), "url": r.get("link")})
for r in reddit.get("organic", [])[:5]:
leads.append({"source": "reddit", "keyword": kw,
"title": r.get("title"), "url": r.get("link")})
print(f"Found {len(leads)} leads from {len(INTENT_KEYWORDS)} keywords")
for lead in leads[:10]:
print(json.dumps(lead))JavaScript Implementation
const H = {"x-api-key": process.env.SCAVIO_API_KEY, "Content-Type": "application/json"};
const KEYWORDS = ["need SEO help", "looking for marketing agency"];
const leads = [];
for (const kw of KEYWORDS) {
const [google, reddit] = await Promise.all([
fetch("https://api.scavio.dev/api/v1/search", {
method: "POST", headers: H, body: JSON.stringify({platform: "google", query: kw})
}).then(r => r.json()),
fetch("https://api.scavio.dev/api/v1/search", {
method: "POST", headers: H, body: JSON.stringify({platform: "reddit", query: kw})
}).then(r => r.json())
]);
(google.organic || []).slice(0, 5).forEach(r =>
leads.push({source: "google", keyword: kw, title: r.title, url: r.link}));
(reddit.organic || []).slice(0, 5).forEach(r =>
leads.push({source: "reddit", keyword: kw, title: r.title, url: r.link}));
}
console.log(leads.length + " leads found");Platforms Used
Web search with knowledge graph, PAA, and AI overviews
Community, posts & threaded comments from any subreddit