← 返回
未分类 Key 中文

Hubspot Crm

Full HubSpot CRM automation — contacts, deals, companies, activities, and pipeline reports via the HubSpot API.
完整的HubSpot CRM自动化——通过HubSpot API实现联系人、交易、公司、活动及管道报告的管理。
fr3kstyle fr3kstyle 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 430
下载
💾 0
安装
1
版本
#latest

概述

HubSpot CRM

Automate your entire HubSpot CRM from the command line. Create and manage contacts, deals, and companies; log activities (calls, emails, meetings, notes); and pull pipeline reports with conversion rates — all via the official HubSpot API with a single Bearer token.

Setup

Set your HubSpot Private App token as an environment variable:

export HUBSPOT_API_KEY="pat-na1-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"

Get your token: HubSpot → Settings → Integrations → Private Apps → Create a private app.

Required scopes: crm.objects.contacts, crm.objects.deals, crm.objects.companies, crm.schemas.contacts, sales-email-read.

Commands / Usage

# ── CONTACTS ────────────────────────────────────────────
# List contacts (default 20, up to 100)
python3 scripts/hubspot_crm.py contacts-list
python3 scripts/hubspot_crm.py contacts-list --limit 50

# Search contacts by email or name
python3 scripts/hubspot_crm.py contacts-search --query "john@example.com"
python3 scripts/hubspot_crm.py contacts-search --query "John Smith"

# Create a contact
python3 scripts/hubspot_crm.py contacts-create --email "jane@acme.com" --firstname "Jane" --lastname "Doe" --phone "+1-555-0100" --company "Acme"

# Update a contact
python3 scripts/hubspot_crm.py contacts-update --id 12345 --phone "+1-555-9999" --jobtitle "CTO"

# Delete a contact
python3 scripts/hubspot_crm.py contacts-delete --id 12345

# ── DEALS ───────────────────────────────────────────────
# List all deals
python3 scripts/hubspot_crm.py deals-list
python3 scripts/hubspot_crm.py deals-list --limit 50

# Create a deal
python3 scripts/hubspot_crm.py deals-create --name "Acme Enterprise License" --stage "appointmentscheduled" --amount 12000 --contact-id 12345

# Update a deal
python3 scripts/hubspot_crm.py deals-update --id 67890 --stage "closedwon" --amount 15000

# Move deal stage
python3 scripts/hubspot_crm.py deals-move-stage --id 67890 --stage "contractsent"

# List pipeline stages
python3 scripts/hubspot_crm.py pipeline-list

# ── COMPANIES ───────────────────────────────────────────
# Create a company
python3 scripts/hubspot_crm.py companies-create --name "Acme Corp" --domain "acme.com" --industry "TECHNOLOGY"

# Search companies
python3 scripts/hubspot_crm.py companies-search --query "Acme"

# Associate contact with company
python3 scripts/hubspot_crm.py companies-associate --company-id 11111 --contact-id 22222

# ── ACTIVITIES ──────────────────────────────────────────
# Log an email activity
python3 scripts/hubspot_crm.py log-email --contact-id 12345 --subject "Follow-up" --body "Hi Jane, just checking in..."

# Log a call
python3 scripts/hubspot_crm.py log-call --contact-id 12345 --duration 300 --notes "Discussed pricing, very interested"

# Log a meeting
python3 scripts/hubspot_crm.py log-meeting --contact-id 12345 --title "Demo call" --notes "Showed product, positive feedback"

# Log a note
python3 scripts/hubspot_crm.py log-note --contact-id 12345 --body "Called and left voicemail"

# ── REPORTS ─────────────────────────────────────────────
# Get deal pipeline summary
python3 scripts/hubspot_crm.py report-pipeline

# Get conversion rates per stage
python3 scripts/hubspot_crm.py report-conversions

Requirements

  • Python 3.8+
  • requests (standard: pip install requests)
  • HUBSPOT_API_KEY environment variable

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-31 02:19 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

office-efficiency

Google Workspace

fr3kstyle
Google Workspace 自动化,支持 Gmail、日历、Drive、表格,可通过服务账户或 OAuth 完成读取、写入、发送并管理整个 Google 套件。
★ 0 📥 504
business-ops

Trello

steipete
使用 Trello REST API 管理看板、列表和卡片
★ 163 📥 41,599
business-ops

Stripe

byungkyu
Stripe API 集成,支持托管 OAuth,实现对客户、订阅、发票、产品、价格和支付的可写金融集成。
★ 27 📥 26,308