本文へ移動
cccskills
無料GitHub で公開日本語紹介

hubspot

HubSpot CRMから商談や顧客情報を検索し、案件の進捗、パイプライン、成約・失注などの営業指標を確認します。

原文原文の説明を見る

Query HubSpot CRM for deals, contacts, companies, and sales metrics. Use this skill when the user asks about sales pipeline, deal status, or customer CRM data.

BuilderIO/agent-nativeスター 7,519(GitHub 7,519 + cccskills 0)
連携ツールHubSpotGoogle Cloud

実行スコア 未検証

インストール方法を見る

こんなときに便利

  • 特定顧客の商談を調べたいとき
  • 案件のステージや進捗を確認したいとき
  • 条件に合う成約案件を集計したいとき
  • CRMの項目名を調べたいとき

日本語での紹介

できること

HubSpot CRMから商談、コンタクト、会社の情報を検索し、営業パイプラインや案件状況を確認します。会社名や商談名を手掛かりに案件を調べたり、商品、パイプライン、成約状況、終了日の条件で案件を絞り込んだりできます。商談のステージや担当者などの情報を整理し、成約・失注やパイプラインの指標を確認する用途にも対応します。必要なカスタム項目が分からない場合は、プロパティ情報を検索してから取得する手順を案内します。

こんなときに便利

特定顧客の商談を調べたいとき、案件がどの段階にあるか確認したいときに向いています。期間や商品などの条件を指定して案件群を見たい場合や、営業指標を確認したい場合にも使えます。

使い方の例

  • 「Example Corpの商談と金額、ステージを調べて」
  • 「指定期間に成約したNew Business案件を確認して」
  • 「nbmに関係する商談プロパティを探して」

注意点

HubSpotへの接続にはHUBSPOT_PRIVATE_APP_TOKEN(または従来のHUBSPOT_ACCESS_TOKEN)が必要です。特定案件の検索には名称検索を使い、必要な絞り込み条件は構造化フィルターで指定します。

この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。

含まれるファイル(1)

  • SKILL.md4.4 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

HubSpot CRM Integration

Connection

  • Base URL: https://api.hubapi.com
  • Auth: Authorization: Bearer $HUBSPOT_PRIVATE_APP_TOKEN or legacy HUBSPOT_ACCESS_TOKEN
  • Env vars: HUBSPOT_PRIVATE_APP_TOKEN preferred, HUBSPOT_ACCESS_TOKEN legacy
  • Caching: 10-minute in-memory cache, max 120 entries

Server Lib

  • File: server/lib/hubspot.ts

Exported Functions

FunctionDescription
getDealPipelines()All deal pipelines with stages
getVisiblePipelines(pipelines)Filter to visible pipelines
getMetricsPipelines(pipelines)Filter to metrics-relevant pipelines
getDealProperties()HubSpot deal property metadata
getAllDeals(extraProperties?)All deals (paginated, up to ~10k)
getDealOwners()HubSpot owner id → owner name map
computeSalesMetrics(deals, pipelines, filter?)Compute won/lost/pipeline metrics

Script Usage

# Search deals for a named account/deal
pnpm action hubspot-deals --query="Example Corp" --limit=10 --properties=dealname,amount,dealstage

# Structured cohort: products field = Publish, closed-won New Business deals
pnpm action hubspot-deals --product=Publish --pipeline="New Business" --closedStatus=won --closedDateFrom=2025-06-01 --closedDateTo=2026-06-01

# List deals
pnpm action hubspot-deals --properties=dealname,amount,dealstage

# Find custom fields before requesting them
pnpm action hubspot-deal-properties --search=nbm

Key Patterns & Gotchas

  • getAllDeals paginates using limit=100 and HubSpot after token (up to 100 pages)
  • hubspot-deals --query="Customer" uses HubSpot search and should be the first path for named account/deal deep dives. Avoid pulling every deal first.
  • For deal cohorts, use structured hubspot-deals filters (product, pipeline, closedStatus, closedDateFrom, closedDateTo) and report the returned filters/count in the methodology.
  • Do not use query for property-specific filters. query="Publish" is broad full-text search across deals and can include records where products is not Publish.
  • If hubspot-deals cannot express the needed CRM endpoint/filter/body/pagination, use provider-api-catalog --provider=hubspot, optionally provider-api-docs, then provider-api-request --provider=hubspot with the exact HubSpot API request.
  • hubspot-deals returns normalized stage_name, pipeline_name, owner_name, is_closed_won, and is_deal_closed fields under deal.properties
  • For AE QBR or NBM deck work, HubSpot is the source of truth. Request nbm_meeting_booked_date, nbm_meeting_complete_date, and hs_manual_forecast_category through hubspot-deals; do not use warehouse SQL as the first path unless HubSpot is unavailable and the user approves the fallback
  • Optional deal properties are filtered against HubSpot property metadata before fetching, so deployments without a custom field do not fail the whole action
  • The default deal fetch includes the hard-coded hs_v2_date_entered stage property names with embedded stage IDs when they exist in the connected portal
  • computeSalesMetrics infers won/lost stages from probability metadata or label text; identifies POV stages by names containing "proof of value", "pov", "poc"
  • When looking up a customer, search deals by name, then get associated company via /crm/v3/objects/deals/{id}/associations/companies, then contacts via /crm/v3/objects/companies/{id}/associations/contacts

HubSpot Company Properties (BigQuery staging table)

Table: your-project-id.dbt_staging.hubspot_companies

  • company_name, company_id, company_domain_name
  • upcoming_renewal_date, customer_stage, hs_csm_sentiment
  • company_owner_name, root_org_id
  • customer_segmentation, current_enterprise_arr, company_status

Cross-Reference

  • HubSpot company → contacts → dim_hs_contacts.builder_user_id → BigQuery usage data
  • HubSpot deal → company → Pylon support tickets, Gong sales calls

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

a2a-assets

無料概要あり

複数のアプリやMCPホストからブランド画像・動画を生成、調整、書き出し、挿入する作業を支援します。ライブラリ選択や修正依頼も扱います。

  • スライド用のブランド画像を作りたいとき
  • 既存素材をフィードバックに合わせて直したいとき
  • 動画素材を生成して書き出したいとき
BuilderIO/agent-native7,5192026年10月26日 更新

account-health

無料概要あり

特定の顧客企業について、契約と製品利用の数値を照らし合わせ、根拠や不足情報を明記した健全性レポートをまとめます。

  • 顧客の健全性を確認したいとき
  • 契約席数と実利用を比べたいとき
  • 更新前に利用状況を整理したいとき
BuilderIO/agent-native7,5192026年10月26日 更新

actions

無料概要あり

アプリの操作をエージェントと画面の両方から呼び出せるアクションとして実装し、API連携や画面のデータ取得を一貫した形で追加するスキルです。

  • 新しいアプリ操作を追加したいとき
  • 外部APIと連携したいとき
  • 画面からデータを取得したいとき
BuilderIO/agent-native7,5192026年10月26日 更新

adding-a-feature

無料概要あり

新機能をUI・エージェント用アクション・説明資料・画面状態の4領域でそろえ、利用者とエージェントのどちらからも一貫して使えるようにするチェックリストです。

  • 新機能追加の作業範囲を整理したいとき
  • UIとエージェント操作をそろえたいとき
  • 画面状態の同期漏れを防ぎたいとき
BuilderIO/agent-native7,5192026年10月26日 更新

adhoc-analysis

無料概要あり

複数のデータソースを照合して、傾向や指標、根拠をまとめた分析結果を作成します。必要に応じて、再実行できるダッシュボードとして保存できます。

  • 商談と通話記録を照合したいとき
  • 顧客の利用状況を横断して調べたいとき
  • 繰り返し更新できる分析を保存したいとき
BuilderIO/agent-native7,5192026年10月26日 更新

admin-surfaces

無料概要あり

Analyticsの管理画面で、機能フラグの状態確認と切り替え、ダッシュボード利用状況の調査、接続先アプリのデータベース管理を行います。

  • アプリごとの機能フラグを確認・変更したいとき
  • ダッシュボードの所有者や利用状況を調べたいとき
  • 接続済みアプリのテーブルを管理したいとき
BuilderIO/agent-native7,5192026年10月26日 更新

BuilderIO のスキルをすべて見る

このスキルの問題を報告する