Enrich leads with their competitors
enrich_leadsScores leads from a finished territory_leads job against Google 'People also search for' competitors using rating gaps and review share, helping identify businesses trailing their local competition.
Instructions
For leads picked from a finished territory_leads job, read who Google lists under 'People also search for' and score each lead against those competitors (rating gap, review share). 'lowest_rated' (default) finds places trailing their competitors. About $0.03 per lead with 10 competitors.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"job_id": "<job_id>"
},
"name": "enrich_leads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pick | No | Which leads (default lowest_rated) | |
| top_n | No | How many leads (default 20) | |
| job_id | Yes | A finished territory_leads job | |
| wait_s | No | Seconds to wait for the runs before returning a job id (default 45). | |
| place_ids | No | Enrich exactly these places instead of picking | |
| categories | No | Only these categories, e.g. ['Dentist', 'Cosmetic dentist'] | |
| min_reviews | No | Ignore places with fewer reviews (default 20) | |
| max_cost_usd | No | Refuse to start if the estimated cost is above this (USD). Default 5. | |
| competitors_per_place | No | Default 10 |