Search companies in HubSpot CRM by name or domain. Load when user says 'search companies', 'find company', 'lookup company', 'search for [company]'.
Specialized skill for searching companies in HubSpot CRM.
Before running, execute config check:
python 00-system/skills/hubspot/hubspot-master/scripts/check_hubspot_config.py --json
If ai_action is not proceed_with_operation, follow hubspot-connect setup guide.
python 00-system/skills/hubspot/hubspot-master/scripts/search_companies.py \
--name "Acme" \
--json
python 00-system/skills/hubspot/hubspot-master/scripts/search_companies.py \
--domain "acme.com" \
--json
python 00-system/skills/hubspot/hubspot-master/scripts/search_companies.py \
--name "Tech" \
--limit 20 \
--json
{
"total": 3,
"results": [
{
"id": "6493611979",
"properties": {
"name": "Acme Corp",
"domain": "acme.com",
"industry": "Technology",
"city": "San Francisco"
},
"url": "https://app.hubspot.com/..."
}
]
}
Found 3 companies matching "Acme":
1. Acme Corp
Domain: acme.com
Industry: Technology
City: San Francisco
ID: 6493611979
2. Acme Industries
Domain: acmeindustries.com
...
CONTAINS_TOKEN operator (partial match)CONTAINS_TOKEN operator (partial match)| Error | Solution |
|---|---|
| 401 | Invalid token - re-run setup |
| 403 | Missing crm.objects.companies.read scope |
| 429 | Rate limited - wait and retry |
hubspot-list-companies - List all companieshubspot-create-company - Create if not foundhubspot-get-associations - Get company contacts