Workflow

Daily n8n Search Enrichment Pipeline

Build a daily search enrichment pipeline in n8n using Scavio HTTP Request nodes. Enrich CRM data with live SERP data at $0.005/query.

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

1

Schedule trigger fires

n8n Schedule Trigger starts the workflow daily at 9 AM UTC.

2

Read leads from Airtable

Airtable node reads leads that need enrichment (status = pending).

3

Search via Scavio

HTTP Request node calls Scavio Google for each lead's company name.

4

Parse enrichment data

Code node extracts relevant data from Scavio response: snippets, AI Overview, links.

5

Update Airtable

Write enrichment data back to Airtable and set status = enriched.

Python Implementation

Python
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

JavaScript
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

Google

Web search with knowledge graph, PAA, and AI overviews

Frequently Asked Questions

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.

This workflow uses a n8n schedule trigger (daily at 9 am utc). Runs daily at 9:00 AM UTC (n8n Schedule Trigger).

This workflow uses the following Scavio platforms: google. Each platform is called via the same unified API endpoint.

Yes. Scavio's free tier includes 250 credits per month with no credit card required. That is enough to test and validate this workflow before scaling it.

Daily n8n Search Enrichment Pipeline

Build a daily search enrichment pipeline in n8n using Scavio HTTP Request nodes. Enrich CRM data with live SERP data at $0.005/query.