Scoring Configuration
config_scoringView or update the global lead scoring configuration, including dimension weights, high-value titles and industries, preferred company sizes, and custom rules. Changes apply to future lead scoring only.
Instructions
View or update the global lead scoring configuration used by lead_score. Call with no fields (empty object) to fetch the current config. Pass any subset of fields to patch-update: six dimension weights (each 0–1, should sum to ~1 but not enforced), high_value_titles (string array), high_value_industries (string array), preferred_company_sizes, and custom_rules (array of {name, condition, points}). Changes apply to future lead_score calls only — previously scored leads keep their scores until re-scored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_title_weight | No | Weight for the job_title dimension (0–1). Default 0.25. The six weights should sum to ~1 but it is not strictly enforced. | |
| company_size_weight | No | Weight for the company_size dimension (0–1). Default 0.20. | |
| industry_weight | No | Weight for the industry dimension (0–1). Default 0.20. | |
| engagement_weight | No | Weight for the engagement dimension (0–1). Default 0.15. | |
| recency_weight | No | Weight for the recency dimension (0–1). Default 0.10. Recently created leads score higher. | |
| custom_rules_weight | No | Weight for the custom_rules dimension (0–1). Default 0.10. | |
| high_value_titles | No | Lowercase substrings that mark a job_title as high-value. Defaults: ["ceo", "cto", "vp", "director", "head", "founder", "owner", "manager"]. Match is case-insensitive substring. | |
| high_value_industries | No | Lowercase substrings that mark a company industry as high-value. Defaults: ["saas", "technology", "software", "fintech", "ecommerce", "marketing", "consulting"]. | |
| preferred_company_sizes | No | Company size tiers earning the maximum company_size_score. Defaults: ["11-50", "51-200", "201-500"]. | |
| custom_rules | No | Array of custom scoring rules. Each rule is {field, operator, value, points (-50..+50), description}. Replaces the existing rule list when provided. |