Workflow

Automated Agency Lead Discovery Pipeline

Automate agency lead generation by monitoring Google and Reddit for buying-intent signals. Score and qualify leads automatically.

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

1

Define intent keywords

Load a list of buying-intent keywords (e.g., 'need SEO help', 'looking for marketing agency', 'hire developer') from config.

2

Search Google for intent signals

Query each keyword on Google to find companies and individuals expressing service needs.

3

Search Reddit for active discussions

Query Reddit for the same intent keywords to find community posts asking for recommendations.

4

Score and filter results

Score each result by intent signals (recency, specific asks, budget mentions). Filter out results below threshold.

5

Deduplicate against CRM

Check whether the lead URL or domain already exists in the CRM. Skip duplicates.

6

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

Python
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

JavaScript
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

Google

Web search with knowledge graph, PAA, and AI overviews

Reddit

Community, posts & threaded comments from any subreddit

Frequently Asked Questions

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.

This workflow uses a daily at 9 am utc via cron. Daily at 9 AM UTC.

This workflow uses the following Scavio platforms: google, reddit. 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.

Automated Agency Lead Discovery Pipeline

Automate agency lead generation by monitoring Google and Reddit for buying-intent signals. Score and qualify leads automatically.