Overview
This workflow describes an n8n pipeline that enriches CRM leads daily with fresh search data from Scavio. The Schedule Trigger fires daily, reads leads from Airtable or a database, queries Scavio Google for each lead's company or product, and writes enrichment data back. All search nodes use the same Scavio HTTP Request configuration for easy maintenance.
Trigger
n8n Schedule Trigger (daily at 9 AM UTC)
Schedule
Runs daily at 9:00 AM UTC (n8n Schedule Trigger)
Workflow Steps
Schedule trigger fires
n8n Schedule Trigger starts the workflow daily at 9 AM UTC.
Read leads from Airtable
Airtable node reads leads that need enrichment (status = pending).
Search via Scavio
HTTP Request node calls Scavio Google for each lead's company name.
Parse enrichment data
Code node extracts relevant data from Scavio response: snippets, AI Overview, links.
Update Airtable
Write enrichment data back to Airtable and set status = enriched.
Python Implementation
import requests
import json
API_KEY = "your_scavio_api_key"
def enrich_leads(leads: list[dict]) -> list[dict]:
"""Simulates the n8n pipeline in Python.
n8n equivalent: Schedule -> Airtable Read -> HTTP Request (Scavio) -> Code -> Airtable Update
"""
enriched = []
for lead in leads:
res = requests.post(
"https://api.scavio.dev/api/v1/search",
headers={"x-api-key": API_KEY},
json={"platform": "google", "query": lead["company"], "ai_overview": True},
timeout=15,
)
if not res.ok:
continue
data = res.json()
ai_text = data.get("ai_overview", {}).get("text", "")
snippets = [r.get("snippet", "") for r in data.get("organic", [])[:3]]
lead["enrichment"] = {
"ai_overview": ai_text[:300],
"top_snippets": snippets,
"enriched_at": "2026-05-21",
}
enriched.append(lead)
print(f"Enriched {len(enriched)}/{len(leads)} leads")
return enriched
leads = [
{"id": 1, "company": "Acme Corp"},
{"id": 2, "company": "Widget Inc"},
]
enrich_leads(leads)JavaScript Implementation
const API_KEY = "your_scavio_api_key";
async function enrichLeads(leads) {
for (const lead of leads) {
const res = await fetch("https://api.scavio.dev/api/v1/search", {
method: "POST",
headers: { "x-api-key": API_KEY, "content-type": "application/json" },
body: JSON.stringify({ platform: "google", query: lead.company, ai_overview: true }),
});
if (!res.ok) continue;
const data = await res.json();
lead.enrichment = {
aiOverview: (data.ai_overview?.text ?? "").slice(0, 300),
snippets: (data.organic ?? []).slice(0, 3).map((r) => r.snippet ?? ""),
};
}
console.log(`Enriched ${leads.length} leads`);
return leads;
}
await enrichLeads([{ company: "Acme Corp" }]);Platforms Used
Web search with knowledge graph, PAA, and AI overviews