hubspot
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseHubSpot Skill
HubSpot Skill
Manage contacts, deals, and marketing automation with HubSpot's all-in-one CRM platform.
借助HubSpot的一体化CRM平台管理联系人、销售交易及营销自动化流程。
Quick Install
快速安装
bash
curl -sSL https://canifi.com/skills/hubspot/install.sh | bashOr manually:
bash
cp -r skills/hubspot ~/.canifi/skills/bash
curl -sSL https://canifi.com/skills/hubspot/install.sh | bash或手动安装:
bash
cp -r skills/hubspot ~/.canifi/skills/Setup
配置步骤
Configure via canifi-env:
bash
undefined通过canifi-env进行配置:
bash
undefinedFirst, ensure canifi-env is installed:
首先,确保已安装canifi-env:
curl -sSL https://canifi.com/install.sh | bash
curl -sSL https://canifi.com/install.sh | bash
canifi-env set HUBSPOT_API_KEY "your_api_key"
canifi-env set HUBSPOT_ACCESS_TOKEN "your_access_token"
canifi-env set HUBSPOT_PORTAL_ID "your_portal_id"
undefinedcanifi-env set HUBSPOT_API_KEY "your_api_key"
canifi-env set HUBSPOT_ACCESS_TOKEN "your_access_token"
canifi-env set HUBSPOT_PORTAL_ID "your_portal_id"
undefinedPrivacy & Authentication
隐私与认证
Your credentials, your choice. Canifi LifeOS respects your privacy.
你的凭证,由你掌控。 Canifi LifeOS 尊重你的隐私。
Option 1: Manual Browser Login (Recommended)
选项1:手动浏览器登录(推荐)
If you prefer not to share credentials with Claude Code:
- Complete the Browser Automation Setup using CDP mode
- Login to the service manually in the Playwright-controlled Chrome window
- Claude will use your authenticated session without ever seeing your password
如果你不想与Claude Code共享凭证:
- 使用CDP模式完成浏览器自动化配置
- 在Playwright控制的Chrome窗口中手动登录该服务
- Claude将使用你的已认证会话,全程不会获取你的密码
Option 2: Environment Variables
选项2:环境变量
If you're comfortable sharing credentials, you can store them locally:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"Note: Credentials stored in canifi-env are only accessible locally on your machine and are never transmitted.
如果你愿意共享凭证,可将其存储在本地:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"注意:存储在canifi-env中的凭证仅可在你的本地设备访问,绝不会被传输至外部。
Capabilities
功能特性
- Contact Management: Create, update, and organize contacts with custom properties
- Deal Pipeline: Manage sales deals through customizable pipeline stages
- Email Tracking: Send tracked emails and view engagement metrics
- Task Management: Create and manage sales tasks and follow-ups
- Marketing Automation: Create email campaigns and automated workflows
- 联系人管理:创建、更新联系人,并通过自定义属性进行分类
- 销售交易管道:通过可自定义的管道阶段管理销售交易
- 邮件追踪:发送可追踪的邮件并查看互动指标
- 任务管理:创建并管理销售任务及跟进事项
- 营销自动化:创建邮件营销活动及自动化工作流
Usage Examples
使用示例
Create Contact
创建联系人
User: "Add John Smith to HubSpot with email john@company.com"
Assistant: Creates new contact with provided details用户:"将John Smith添加至HubSpot,邮箱为john@company.com"
助手:根据提供的信息创建新联系人Update Deal Stage
更新交易阶段
User: "Move the Acme Corp deal to 'Closed Won' in HubSpot"
Assistant: Updates deal stage in the pipeline用户:"将Acme Corp的交易状态更新为'已成交'"
助手:在交易管道中更新该交易的阶段Search Contacts
搜索联系人
User: "Find all HubSpot contacts from TechCorp"
Assistant: Returns contacts matching company name用户:"查找HubSpot中所有来自TechCorp的联系人"
助手:返回匹配公司名称的联系人列表Create Task
创建任务
User: "Create a follow-up task for the Johnson deal tomorrow"
Assistant: Creates task linked to the deal用户:"为Johnson的交易创建明天的跟进任务"
助手:创建与该交易关联的任务Authentication Flow
认证流程
- Create app in HubSpot developer portal
- Choose API key or OAuth 2.0 authentication
- For OAuth, implement authorization code flow
- Store tokens securely with refresh logic
- 在HubSpot开发者平台创建应用
- 选择API密钥或OAuth 2.0认证方式
- 若使用OAuth,需实现授权码流程
- 安全存储令牌并实现刷新逻辑
Error Handling
错误处理
| Error | Cause | Solution |
|---|---|---|
| 401 Unauthorized | Invalid or expired token | Refresh access token |
| 403 Forbidden | Insufficient scopes | Request additional permissions |
| 429 Rate Limited | Too many requests | Implement backoff (10 req/sec) |
| 404 Not Found | Object doesn't exist | Verify object ID |
| 错误类型 | 原因 | 解决方案 |
|---|---|---|
| 401 未授权 | 令牌无效或已过期 | 刷新访问令牌 |
| 403 禁止访问 | 权限范围不足 | 请求额外权限 |
| 429 请求受限 | 请求次数过多 | 实现退避策略(限制为10次/秒) |
| 404 未找到 | 对象不存在 | 验证对象ID的正确性 |
Notes
注意事项
- Free CRM with limited features
- API rate limit: 100 requests per 10 seconds
- Starter tier for basic marketing tools
- Professional tier for advanced automation
- Enterprise tier for custom reporting
- Native integrations with 1000+ apps
- 免费版CRM功能有限
- API请求限制:每10秒最多100次请求
- 入门版包含基础营销工具
- 专业版提供高级自动化功能
- 企业版支持自定义报表
- 原生集成1000+款应用