返回 Skill 列表
extension
分类: 开发与工程无需 API Key

hubspot-create-company

在HubSpot CRM中创建一家新公司。当用户说'create company'、'add company'、'new company'时加载。需要名称,可选域名、行业、城市。

person作者: jakexiaohubgithub

Create HubSpot Company

Specialized skill for creating companies in HubSpot CRM.

Pre-Flight Check

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.


Usage

Required Parameters

  • --name - Company name (required)

Optional Parameters

  • --domain - Company website domain
  • --industry - Industry type
  • --city - City location
  • --phone - Company phone

Examples

Minimal (name only):

python 00-system/skills/hubspot/hubspot-master/scripts/create_company.py \
  --name "Acme Corp" \
  --json

Full company:

python 00-system/skills/hubspot/hubspot-master/scripts/create_company.py \
  --name "Acme Corp" \
  --domain "acme.com" \
  --industry "Technology" \
  --city "San Francisco" \
  --json

Output Format

{
  "id": "6493611979",
  "properties": {
    "name": "Acme Corp",
    "domain": "acme.com",
    "industry": "Technology",
    "createdate": "2025-12-13T10:00:00Z"
  }
}

Display Format

✅ Company created!
  ID: 6493611979
  Name: Acme Corp
  Domain: acme.com
  Industry: Technology
  City: San Francisco

Error Handling

| Error | Solution | |-------|----------| | 401 | Invalid token - re-run setup | | 403 | Missing crm.objects.companies.write scope | | 409 | Company may already exist - search first | | 429 | Rate limited - wait and retry |


Related Skills

  • hubspot-list-companies - List all companies
  • hubspot-search-companies - Find existing companies
  • hubspot-get-associations - Link contacts to company