Workflow

Lead Scoring Rubric Workflow

Inbound lead → Scavio enrichment → 12-line rubric LLM scoring → CRM write + routing. Replaces ~15 hrs/week manual triage.

Overview

Real-time lead scoring on inbound webhooks: enrich via Scavio, apply 12-line weighted rubric in LLM prompt, write back to CRM, route to right channel.

Trigger

Inbound webhook (form submission, CRM new lead, Salesforce flow)

Schedule

Real-time (webhook)

Workflow Steps

1

Catch lead webhook payload

n8n Webhook node, return 200 fast.

2

Scavio company enrichment

site:linkedin.com/company {{company}} → top 3 results.

3

LLM rubric scoring

12-line weighted rubric in system prompt, return { score, reason } JSON.

4

Switch on score band

Score >=70 → Slack hot. 40-69 → drip campaign. <40 → nurture.

5

CRM write-back

Update lead with score + reason + timestamp.

6

Optional Slack notify per band

Hot leads ping AE + summary.

Python Implementation

Python
import requests, os
H = {'x-api-key': os.environ['SCAVIO_API_KEY']}

RUBRIC = """Score 0-100 using ONLY this rubric. Return {"score":int,"reason":"..."}.
Title fit:30  Industry:25  Company size:20  Intent:15  Fit notes:10"""

def enrich(company):
    r = requests.post('https://api.scavio.dev/api/v1/search', headers=H,
        json={'query': f'site:linkedin.com/company {company}'}).json()
    return r.get('organic_results', [])[:3]

JavaScript Implementation

JavaScript
// Same shape in TS / n8n. n8n is the deliverable.

Platforms Used

Google

Web search with knowledge graph, PAA, and AI overviews

Frequently Asked Questions

Real-time lead scoring on inbound webhooks: enrich via Scavio, apply 12-line weighted rubric in LLM prompt, write back to CRM, route to right channel.

This workflow uses a inbound webhook (form submission, crm new lead, salesforce flow). Real-time (webhook).

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

Lead Scoring Rubric Workflow

Inbound lead → Scavio enrichment → 12-line rubric LLM scoring → CRM write + routing. Replaces ~15 hrs/week manual triage.