← 返回
未分类 中文

HubSpot

HubSpot CRM API integration with managed OAuth. Manage contacts, companies, deals, pipelines, tickets, products, line items, marketing emails, and workflows....
使用托管OAuth的HubSpot CRM API集成,可管理联系人、公司、交易、管道、工单、产品、行项目、营销邮件和工作流。
hith3sh hith3sh 来源
未分类 clawhub v1.0.5 2 版本 99672.8 Key: 无需
★ 6
Stars
📥 1,403
下载
💾 1
安装
2
版本
#latest

概述

HubSpot

!HubSpot

Access HubSpot CRM via the HubSpot API with managed OAuth authentication. Manage contacts, companies, deals, pipelines, tickets, products, line items, and more.

This skill uses ClawLink for hosted connection flows and credentials so you do not need to configure HubSpot API access yourself.

Setup in 3 Steps

Step 1: InstallStep 2: Pair AccountStep 3: Connect HubSpot
:---::---::---:
!Install!PairApp-specific connection GIF coming soon
Run the install command in OpenClawSign in and approve the deviceOpen the dashboard and connect HubSpot

How It Works

┌─────────────────┐     ┌──────────────┐     ┌──────────────────┐
│   OpenClaw      │────▶│   ClawLink   │────▶│     HubSpot      │
│   (User Chat)   │     │   (OAuth)    │     │   (CRM API)      │
└─────────────────┘     └──────────────┘     └──────────────────┘
         │                       │                       │
         │  1. Install Plugin    │                       │
         │  2. Pair Device       │                       │
         │  3. Connect HubSpot   │                       │
         │                       │  4. Secure Token       │
         │                       │  5. Proxy Requests    │
         │                       │                       │
         ▼                       ▼                       ▼
   ┌──────────┐           ┌──────────┐           ┌──────────┐
   │  SKILL   │           │ Dashboard│           │  HubSpot │
   │  File    │           │ Auth     │           │   CRM    │
   └──────────┘           └──────────┘           └──────────┘

Install

Install the verified ClawLink plugin from ClawHub. After the user confirms, complete the full setup so ClawLink tools are visible in the next OpenClaw chat.

openclaw plugins install clawhub:clawlink-plugin
openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json
openclaw gateway restart

Then tell the user: "OpenClaw has been restarted. Send /new as a standalone message to start a fresh chat, then ask for HubSpot again."

Quick Start

# List contacts
clawlink_call_tool --tool "hubspot_list_contacts" --params '{"limit": 10}'

# Search contacts
clawlink_call_tool --tool "hubspot_search_contacts" --params '{"query": "John Smith"}'

# Get a deal
clawlink_call_tool --tool "hubspot_get_deal" --params '{"deal_id": "YOUR_DEAL_ID"}'

Authentication

All HubSpot tool calls are authenticated automatically by ClawLink using the user's connected HubSpot account.

No API key is required in chat. ClawLink stores the OAuth token securely and injects it into every HubSpot API request on the user's behalf.

Getting Connected

  1. Install the ClawLink plugin (see Install above).
  2. Pair the plugin with clawlink_begin_pairing if it is not configured yet.
  3. Open https://claw-link.dev/dashboard?add=hubspot and connect HubSpot.
  4. Call clawlink_list_integrations to verify the connection is active.

Connection Management

List Connections

clawlink_list_integrations

Response: Returns all connected integrations. Look for hubspot in the list.

Verify Connection

clawlink_list_tools --integration hubspot

Response: Returns the live tool catalog for HubSpot.

Reconnect

If HubSpot tools are missing or the connection shows an error:

  1. Direct the user to https://claw-link.dev/dashboard?add=hubspot
  2. After they confirm, call clawlink_list_integrations to verify
  3. Then call clawlink_list_tools --integration hubspot

Security & Permissions

  • Access is scoped to CRM data the connected HubSpot user has permission to view and modify.
  • All write operations require explicit user confirmation. Before executing any create, update, archive, or delete call, confirm the target resource and intended effect with the user.
  • Destructive actions (archive/delete contacts, deals, companies) are marked as high-impact and must be confirmed.
  • Batch operations affect multiple records and should be previewed before execution.

Tool Reference

Contacts

ToolDescriptionMode
-------------------------
hubspot_list_contactsList all contacts with paginationRead
hubspot_search_contactsSearch contacts by query or property filtersRead
hubspot_get_contactGet a contact by IDRead
hubspot_create_contactCreate a new contactWrite
hubspot_update_contactUpdate an existing contact's propertiesWrite
hubspot_archive_contactArchive (soft delete) a contactWrite
hubspot_batch_create_contactsCreate multiple contacts in one requestWrite
hubspot_batch_update_contactsUpdate multiple contacts in one requestWrite
hubspot_create_contact_from_nlCreate a contact from natural language descriptionWrite

Companies

ToolDescriptionMode
-------------------------
hubspot_list_companiesList all companiesRead
hubspot_search_companiesSearch companies by query or property filtersRead
hubspot_get_companyGet a company by IDRead
hubspot_create_companyCreate a new companyWrite
hubspot_update_companyUpdate a company's propertiesWrite
hubspot_archive_companyArchive a companyWrite
hubspot_batch_create_companiesCreate multiple companies in one requestWrite
hubspot_batch_update_companiesUpdate multiple companies in one requestWrite

Deals

ToolDescriptionMode
-------------------------
hubspot_list_dealsList all deals with paginationRead
hubspot_search_dealsSearch deals by query or property filtersRead
hubspot_get_dealGet a deal by IDRead
hubspot_create_dealCreate a new dealWrite
hubspot_update_dealUpdate a deal's propertiesWrite
hubspot_archive_dealArchive a dealWrite
hubspot_batch_create_dealsCreate multiple deals in one requestWrite
hubspot_batch_update_dealsUpdate multiple deals in one requestWrite
hubspot_create_deal_from_nlCreate a deal from natural language descriptionWrite

Pipelines

ToolDescriptionMode
-------------------------
hubspot_list_pipelinesList all deal pipelinesRead
hubspot_get_pipelineGet a specific pipeline's stagesRead
hubspot_create_pipelineCreate a new deal pipelineWrite
hubspot_update_pipelineUpdate a pipeline's stages or settingsWrite
hubspot_delete_pipelineDelete a deal pipelineWrite
hubspot_audit_pipeline_changesGet audit log of pipeline changesRead

Tickets

ToolDescriptionMode
-------------------------
hubspot_list_ticketsList all ticketsRead
hubspot_search_ticketsSearch tickets by query or property filtersRead
hubspot_get_ticketGet a ticket by IDRead
hubspot_create_ticketCreate a new ticketWrite
hubspot_update_ticketUpdate a ticket's propertiesWrite
hubspot_archive_ticketArchive a ticketWrite
hubspot_batch_create_ticketsCreate multiple tickets in one requestWrite

Products & Line Items

ToolDescriptionMode
-------------------------
hubspot_list_productsList all productsRead
hubspot_get_productGet a product by IDRead
hubspot_create_productCreate a new productWrite
hubspot_update_productUpdate a product's propertiesWrite
hubspot_archive_productArchive a productWrite
hubspot_list_line_itemsList all line itemsRead
hubspot_get_line_itemGet a line item by IDRead
hubspot_create_line_itemCreate a new line itemWrite
hubspot_update_line_itemUpdate a line item's propertiesWrite
hubspot_archive_line_itemArchive a line itemWrite

Associations

ToolDescriptionMode
-------------------------
hubspot_create_associationCreate a labeled association between two CRM recordsWrite
hubspot_list_associationsList all associations for a recordRead
hubspot_delete_associationRemove an association between two recordsWrite

Properties

ToolDescriptionMode
-------------------------
hubspot_list_contact_propertiesList all contact propertiesRead
hubspot_list_company_propertiesList all company propertiesRead
hubspot_list_deal_propertiesList all deal propertiesRead
hubspot_create_propertyCreate a new custom propertyWrite
hubspot_update_propertyUpdate a custom propertyWrite
hubspot_archive_propertyArchive a custom propertyWrite
hubspot_create_property_groupCreate a new property groupWrite
hubspot_update_property_groupUpdate a property groupWrite
hubspot_archive_property_groupArchive a property groupWrite

Quotes

ToolDescriptionMode
-------------------------
hubspot_list_quotesList all quotesRead
hubspot_get_quoteGet a quote by IDRead
hubspot_create_quoteCreate a new quoteWrite
hubspot_update_quoteUpdate a quoteWrite
hubspot_archive_quoteArchive a quoteWrite
hubspot_batch_create_quotesCreate multiple quotes in one requestWrite
hubspot_batch_update_quotesUpdate multiple quotes in one requestWrite

Marketing Emails

ToolDescriptionMode
-------------------------
hubspot_list_marketing_emailsList all marketing emailsRead
hubspot_get_marketing_emailGet a marketing email by IDRead
hubspot_create_marketing_emailCreate a new marketing emailWrite
hubspot_update_marketing_emailUpdate a marketing emailWrite
hubspot_clone_marketing_emailClone an existing marketing emailWrite
hubspot_delete_marketing_emailPermanently delete a marketing emailWrite
hubspot_create_draft_versionCreate or update a draft version of a marketing emailWrite
hubspot_get_ab_variationGet A/B test variation for a marketing emailRead
hubspot_create_ab_variationCreate an A/B test variationWrite

Campaigns

ToolDescriptionMode
-------------------------
hubspot_list_campaignsList all marketing campaignsRead
hubspot_get_campaignGet a campaign by IDRead
hubspot_create_campaignCreate a new marketing campaignWrite
hubspot_update_campaignUpdate a campaignWrite
hubspot_delete_campaignDelete a campaignWrite

Workflows

ToolDescriptionMode
-------------------------
hubspot_list_workflowsList all workflowsRead
hubspot_get_workflowGet a workflow by IDRead
hubspot_create_workflowCreate a new workflowWrite
hubspot_update_workflowUpdate a workflow's settings or actionsWrite
hubspot_delete_workflowDelete a workflowWrite
hubspot_enroll_in_workflowEnroll a contact in a workflowWrite

Tasks & Notes

ToolDescriptionMode
-------------------------
hubspot_list_tasksList all tasksRead
hubspot_get_taskGet a task by IDRead
hubspot_create_taskCreate a new taskWrite
hubspot_update_taskUpdate a taskWrite
hubspot_archive_taskArchive a taskWrite
hubspot_create_noteCreate a note on a CRM recordWrite

Engagement (Emails, Calls, Meetings)

ToolDescriptionMode
-------------------------
hubspot_list_engagementsList all engagements (emails, calls, meetings)Read
hubspot_create_engagementCreate an engagement recordWrite
hubspot_get_engagementGet an engagement by IDRead

Owners & Teams

ToolDescriptionMode
-------------------------
hubspot_list_ownersList all HubSpot ownersRead
hubspot_get_ownerGet a specific owner by IDRead
hubspot_list_teamsList all teamsRead
hubspot_get_teamGet a team by IDRead
hubspot_create_teamCreate a new teamWrite
hubspot_update_teamUpdate a teamWrite
hubspot_delete_teamDelete a teamWrite

Import & Export

ToolDescriptionMode
-------------------------
hubspot_list_importsList all import jobsRead
hubspot_get_importGet status and details of an importRead
hubspot_create_importCreate a new CRM import jobWrite
hubspot_cancel_importCancel an active importWrite
hubspot_fetch_import_errorsGet error details for a failed importRead

GDPR

ToolDescriptionMode
-------------------------
hubspot_delete_contact_gdprPermanently delete a contact and associated dataWrite
hubspot_delete_company_gdprPermanently delete a company and associated dataWrite
hubspot_delete_deal_gdprArchive a deal (GDPR permanent delete not supported for deals)Write

Account & Configuration

ToolDescriptionMode
-------------------------
hubspot_get_account_infoGet current account info (email, hub ID, user details)Read
hubspot_list_ownersList all ownersRead

Code Examples

List recent contacts

clawlink_call_tool --tool "hubspot_list_contacts" \
  --params '{
    "limit": 20,
    "properties": ["firstname", "lastname", "email", "phone"]
  }'

Search contacts by email

clawlink_call_tool --tool "hubspot_search_contacts" \
  --params '{
    "query": "john.smith@example.com"
  }'

Create a new deal

clawlink_call_tool --tool "hubspot_create_deal" \
  --params '{
    "properties": {
      "dealname": "Enterprise Contract",
      "amount": "50000",
      "dealstage": "qualifiedtobuy",
      "pipeline": "default"
    }
  }'

Create a contact from natural language

clawlink_call_tool --tool "hubspot_create_contact_from_nl" \
  --params '{
    "description": "John Smith works as CTO at Acme Corp, his email is john@acme.com and phone is 555-0100"
  }'

Create a note on a contact

clawlink_call_tool --tool "hubspot_create_note" \
  --params '{
    "engagement": {
      "active": true,
      "type": "NOTE"
    },
    "metadata": {
      "body": "Discussed Q4 renewal. Customer interested in upgrading to enterprise plan."
    },
    "associations": {
      "contact_ids": ["CONTACT_ID"]
    }
  }'

Archive a contact

clawlink_call_tool --tool "hubspot_archive_contact" \
  --params '{
    "contact_id": "YOUR_CONTACT_ID"
  }'

Discovery Workflow

  1. Call clawlink_list_integrations to confirm HubSpot is connected.
  2. Call clawlink_list_tools --integration hubspot to see the live catalog.
  3. Treat the returned list as the source of truth. Do not guess or assume what tools exist.
  4. If the user describes a capability but the exact tool is unclear, call clawlink_search_tools with a short query and integration hubspot.
  5. If no HubSpot tools appear, direct the user to https://claw-link.dev/dashboard?add=hubspot.

Execution Workflow

┌─────────────────────────────────────────────────────────────┐
│  READ OPERATIONS (Safe)                                     │
│  list → search → get → call                                 │
│                                                             │
│  Example: List contacts → Search → Get details → Show        │
└─────────────────────────────────────────────────────────────┘
                              │
                              ▼
┌─────────────────────────────────────────────────────────────┐
│  WRITE OPERATIONS (Require Confirmation)                    │
│  describe → preview → confirm → call                        │
│                                                             │
│  Example: Describe tool → Preview → User approves            │
│           → Execute create/update/archive                    │
└─────────────────────────────────────────────────────────────┘
  1. For unfamiliar tools, ambiguous requests, or any write action, call clawlink_describe_tool first.
  2. Use the returned guidance, schema, whenToUse, askBefore, safeDefaults, examples, and followups to shape the call.
  3. Prefer read, list, search, and get operations before writes.
  4. For writes or anything marked as requiring confirmation, call clawlink_preview_tool first.
  5. Execute with clawlink_call_tool. Pass confirmation only after the preview matches the user's intent.
  6. If the tool call fails, report the real error. Do not invent results or restate the failure as a missing capability unless the live catalog supports that conclusion.

Notes

  • Contact, company, deal, and ticket IDs are stable HubSpot internal IDs — use them directly in API calls.
  • Properties use internal names (e.g., dealname, amount, closedate) not display labels.
  • Dates must be in ISO 8601 format (e.g., 2024-03-15).
  • Batch operations support up to 100 records per request.
  • create_X_from_nl tools use an LLM to parse natural language into the correct property payload.
  • Archiving is a soft delete — records move to the recycling bin and can often be restored.
  • GDPR permanent deletion erases contact data per compliance requirements.

Error Handling

Status / ErrorMeaning
-------------------------
Tool not foundThe tool name does not exist in the current catalog. Verify with clawlink_list_tools --integration hubspot.
Missing connectionHubSpot is not connected. Direct the user to https://claw-link.dev/dashboard?add=hubspot.
RESOURCE_NOT_FOUNDRecord does not exist. Check the ID.
INVALID_PROPERTY_VALUEProperty value doesn't match expected format. Check property definitions.
INVALID_ARGUMENTInvalid parameter or missing required field. Review the tool schema with clawlink_describe_tool.
Write rejectedUser did not confirm a write action. Always confirm before executing writes.

Troubleshooting: Tools Not Visible

  1. Check that the ClawLink plugin is installed:

```bash

openclaw plugins list

```

  1. If the plugin is installed but tools are missing, tell the user to send /new as a standalone message to reload the catalog.
  2. If a fresh chat does not help, run:

```bash

openclaw config set tools.alsoAllow '["clawlink-plugin"]' --strict-json

openclaw gateway restart

```

  1. After restart, tell the user to send /new again and retry.

Troubleshooting: Invalid Tool Call

  1. Ensure the integration slug is exactly hubspot.
  2. Use clawlink_describe_tool to verify parameter names and types before calling.
  3. For write operations, always call clawlink_preview_tool first.

Resources


Powered by ClawLink — an integration hub for OpenClaw

!ClawLink Logo

版本历史

共 2 个版本

  • v1.0.5 当前
    2026-06-09 16:19 安全 安全
  • v0.1.0
    2026-05-08 02:15 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

Notion Assistant

hith3sh
搜索页面和数据库、更新内容、管理 Notion 工作区数据,支持从聊天中读取、创建或修改 Notion 页面...
★ 8 📥 1,854

GitHub

hith3sh
通过 GitHub REST 和GraphQL API 与仓库、议题、拉取请求、提交、分支、发布和工作流进行交互。在需要时使用此技能。
★ 6 📥 1,865

OneDrive Files

hith3sh
通过 Microsoft Graph 浏览、搜索、下载和共享 OneDrive 文件,创建文件夹,上传文件以及管理文件操作。当用户需要这些功能时使用此技能。
★ 6 📥 1,805