Score Lead
lead_scoreCompute a six-dimensional lead score (0-100) weighted by configurable rules, then update lead status to qualified or disqualified based on a 60-point threshold.
Instructions
Compute a 6-dimensional qualification score (0-100) for a lead: job_title, company_size, industry, engagement, recency, and custom_rules. Each dimension is weighted via config_scoring; the final score is their weighted average. Updates the lead status to "qualified" (≥60) or "disqualified" (<60) and stores score_breakdown alongside the total. Returns the updated lead with the breakdown. Run lead_enrich first for the most accurate industry/size signals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lead_id | Yes | UUID of the lead to score |