Overview
This workflow automates the process of finding local businesses via Google Maps search, extracting structured business data, and piping qualified leads into your cold email platform. Run it daily to keep your outbound pipeline fresh.
Trigger
Daily cron at 8:00 AM or manual trigger for new niche/location combos.
Schedule
Daily at 6:00 AM
Workflow Steps
Define Target Niches and Locations
Set up a list of niche-location pairs to search. Each pair generates a separate search query targeting local businesses.
Search Google for Business Listings
Query Scavio for each niche-location pair to get Google search results containing business listings with names, URLs, and snippets.
Deduplicate and Score Leads
Remove duplicate businesses by domain, score leads based on completeness of data and relevance signals in snippets.
Export to Cold Email Tool
Format the top-scoring leads as CSV or push them directly to your cold email platform via API.
Python Implementation
import requests, os
H = {'x-api-key': os.environ['SCAVIO_API_KEY'], 'Content-Type': 'application/json'}
data = requests.post('https://api.scavio.dev/api/v1/search', headers=H, json={'query': 'example', 'country_code': 'us'}).json()
print(len(data.get('organic_results', [])))JavaScript Implementation
const H = {'x-api-key': process.env.SCAVIO_API_KEY, 'Content-Type': 'application/json'};
fetch('https://api.scavio.dev/api/v1/search', {method: 'POST', headers: H, body: JSON.stringify({query: 'example', country_code: 'us'})}).then(r => r.json()).then(d => console.log(d.organic_results?.length));Platforms Used
Web search with knowledge graph, PAA, and AI overviews
Google Maps
Local business search with ratings and contact info