返回顶部
h

hubspot

Query and manage HubSpot CRM data via the HubSpot API. Use when you need to search or manage contacts, companies, deals, tickets, or pipelines. Supports creating, updating, and associating CRM objects. Calls api.hubapi.com directly with no third-party proxy.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
684
下载量
18
收藏
概述
安装方式
版本历史

hubspot

# HubSpot Interact with HubSpot CRM directly via the HubSpot API (`api.hubapi.com`). ## Setup (one-time) 1. In HubSpot: Settings → Integrations → Private Apps → Create a private app 2. Give it scopes: `crm.objects.contacts.read`, `crm.objects.contacts.write`, `crm.objects.companies.read`, `crm.objects.companies.write`, `crm.objects.deals.read`, `crm.objects.deals.write`, `tickets` 3. Copy the access token 4. Set environment variable: ``` HUBSPOT_TOKEN=pat-na1-... ``` ## Queries ### Search contacts ```bash python3 /mnt/skills/user/hubspot/scripts/hubspot_query.py search contacts --query "john" python3 /mnt/skills/user/hubspot/scripts/hubspot_query.py search contacts --email "john@example.com" ``` ### List contacts ```bash python3 /mnt/skills/user/hubspot/scripts/hubspot_query.py list contacts --limit 20 ``` ### Get a specific object ```bash python3 /mnt/skills/user/hubspot/scripts/hubspot_query.py get contacts 12345 python3 /mnt/skills/user/hubspot/scripts/hubspot_query.py get companies 67890 python3 /mnt/skills/user/hubspot/scripts/hubspot_query.py get deals 11111 ``` ### List companies ```bash python3 /mnt/skills/user/hubspot/scripts/hubspot_query.py list companies --limit 20 ``` ### Search companies ```bash python3 /mnt/skills/user/hubspot/scripts/hubspot_query.py search companies --query "Acme" ``` ### List deals ```bash python3 /mnt/skills/user/hubspot/scripts/hubspot_query.py list deals --limit 20 ``` ### Search deals ```bash python3 /mnt/skills/user/hubspot/scripts/hubspot_query.py search deals --query "enterprise" ``` ### List tickets ```bash python3 /mnt/skills/user/hubspot/scripts/hubspot_query.py list tickets --limit 20 ``` ### Create a contact ```bash python3 /mnt/skills/user/hubspot/scripts/hubspot_query.py create contacts --email "new@example.com" --firstname "Jane" --lastname "Doe" ``` ### Create a company ```bash python3 /mnt/skills/user/hubspot/scripts/hubspot_query.py create companies --name "Acme Corp" --domain "acme.com" ``` ### Create a deal ```bash python3 /mnt/skills/user/hubspot/scripts/hubspot_query.py create deals --dealname "Enterprise Plan" --amount 50000 --pipeline default --dealstage appointmentscheduled ``` ### Update an object ```bash python3 /mnt/skills/user/hubspot/scripts/hubspot_query.py update contacts 12345 --email "new@example.com" --phone "+1234567890" python3 /mnt/skills/user/hubspot/scripts/hubspot_query.py update deals 11111 --dealstage closedwon --amount 75000 ``` ### Associate objects ```bash python3 /mnt/skills/user/hubspot/scripts/hubspot_query.py associate contacts 12345 companies 67890 ``` ### List pipelines ```bash python3 /mnt/skills/user/hubspot/scripts/hubspot_query.py pipelines deals python3 /mnt/skills/user/hubspot/scripts/hubspot_query.py pipelines tickets ``` ### List owners ```bash python3 /mnt/skills/user/hubspot/scripts/hubspot_query.py owners ```

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 native-hubspot-1776321870 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 native-hubspot-1776321870 技能

通过命令行安装

skillhub install native-hubspot-1776321870

下载 Zip 包

⬇ 下载 hubspot v1.0.1

文件大小: 5.82 KB | 发布时间: 2026-4-16 17:55

v1.0.1 最新 2026-4-16 17:55
Update display name to Native HubSpot

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部