微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🎯

HubSpot CRM 全链路自动化中枢

Hubspot Crm · v1.0.0
这个包缺安装入口,装上也不会生效 缺 SKILL.md 或 frontmatter 不完整(NO_FRONTMATTER)。我们仍保留下载,方便你自行查看内容。
办公 安全 B 级 作者 mibbou 公开目录收录
1.1k 下载 0 安装 2.4k 收藏 7 浏览

简介

HubSpot CRM 企业级客户管理技能,支持联系人/交易全生命周期管理、多维度搜索与自动化业务流程,专为 USC SYNERGY 培训中心定制。

原始描述

Gère contacts et deals dans HubSpot CRM pour USC SYNERGY : rechercher, créer, modifier, associer, et suivre le pipeline de ventes.

通过你的 Agent 添加

安装目录:hubspot-crm/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/hubspot-crm/
Codex CLI~/.codex/skills/hubspot-crm/
DeepSeek Harness~/.agents/skills/hubspot-crm/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心功能概述

本技能提供完整的 HubSpot CRM API 集成能力,专为中心 de formation VAE(经验认证培训中心)USC SYNERGY 设计。通过 20+ 条标准化命令,实现从潜在客户获取到交易成交的全链路数字化管理。

核心用法

联系人管理

  • 多维度检索:支持电话(3 种号码字段)、邮箱、姓名、ID 精准查询
  • 智能创建:自动绑定默认负责人 Mark IBBOU (ID: 32587387)
  • 批量更新:单字段或多字段增量修改
  • 24h 动态追踪:实时监控新增联系人

交易管道(Pipeline)

  • 双管道架构:Sales Pipeline(默认)+ Traitement des leads(资格验证)
  • 7 阶段标准流程:从预约到成交/流失的完整漏斗
  • 阶段迁移:支持 dealstage 动态更新
  • 关联管理:联系人-交易多对多关联

协作工具

  • 笔记系统:创建并关联至联系人
  • 任务调度:优先级管理 + 负责人分配
  • 全局搜索:跨属性模糊匹配

显著优点

  1. API 原生设计:直接调用 HubSpot v3/v4 REST API,无中间层延迟
  2. 业务场景预配置:内置 VAE 培训行业专用字段(objet, ref, fonction)
  3. 容错检索:电话号码搜索自动 fallback 至 mobilephone / WhatsApp 字段
  4. n8n 生态就绪:预留 3 条 webhook 集成路径(Digiforma 双向同步、WhatsApp enrichment)
  5. 操作可追溯:所有变更通过 HubSpot 审计日志留存

潜在局限

限制项 说明
单租户绑定 hubspot_owner_id 硬编码为 32587387,多用户场景需改造
无批量操作 缺少批量导入/导出命令,大数据量场景效率受限
速率限制 HubSpot API 限制 100 次/10 秒(专业版),高频调用需限流
无离线能力 完全依赖网络连接,无本地缓存机制
删除不可逆 archive 操作无软删除/回收站恢复能力

适合人群

  • 销售运营团队:需要实时 CRM 数据操作的日常用户
  • n8n 自动化工程师:构建 HubSpot ↔ Digiforma 同步工作流
  • 培训机构管理员:管理 VAE 候选人从咨询到入学的完整周期

常规风险

  • 令牌泄露:HUBSPOT_ACCESS_TOKEN 环境变量若暴露,可导致全组织数据泄露
  • 误操作覆盖:PATCH 更新无变更预览,可能覆盖有效数据
  • GDPR 合规:硬删除命令(#20)需二次确认机制,避免违反数据保留法规
  • 关联断裂:手动管理 association type ID(3/202/204),错误配置导致数据孤岛

架构建议

生产部署时建议前置 API 网关实现:

  • 速率限制与退避重试
  • 响应缓存(尤其 count 类查询)
  • 操作审计日志独立存储

技能正文

Skill HubSpot CRM — USC SYNERGY

Description

Gestion complète du CRM HubSpot pour USC SYNERGY (centre de formation VAE). Permet de rechercher, créer, modifier des contacts et deals, gérer les associations, et suivre le pipeline commercial.

Configuration requise

  • Variable d'environnement : HUBSPOT_ACCESS_TOKEN
  • Owner par défaut : Mark IBBOU (ID: 32587387)

Pipelines

Pipeline ID Usage
Sales Pipeline default Pipeline principal
Traitement des leads 859619884 Qualification prospects

Stages du Sales Pipeline (default)

Stage ID
Appointment Scheduled appointmentscheduled
Qualified To Buy qualifiedtobuy
Presentation Scheduled presentationscheduled
Decision Maker Bought-In decisionmakerboughtin
Contract Sent contractsent
Closed Won closedwon
Closed Lost closedlost

Propriétés contact importantes

  • phone, mobilephone, hs_whatsapp_phone_number — Téléphones
  • source — Source du contact
  • ref — Référence interne
  • objet — Objet de la demande
  • fonction — Fonction professionnelle

Commandes disponibles

1. Rechercher un contact par téléphone

curl -s "https://api.hubapi.com/crm/v3/objects/contacts/search" \
  -H "Authorization: Bearer $HUBSPOT_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "filterGroups": [{
      "filters": [{
        "propertyName": "phone",
        "operator": "EQ",
        "value": "NUMERO_TEL"
      }]
    }],
    "properties": ["firstname","lastname","email","phone","mobilephone","hs_whatsapp_phone_number","source","ref","objet","fonction"]
  }'

Remplacer NUMERO_TEL par le numéro au format international (+33...) Si aucun résultat, retenter avec mobilephone ou hs_whatsapp_phone_number

2. Rechercher un contact par email

curl -s "https://api.hubapi.com/crm/v3/objects/contacts/search" \
  -H "Authorization: Bearer $HUBSPOT_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "filterGroups": [{
      "filters": [{
        "propertyName": "email",
        "operator": "EQ",
        "value": "EMAIL_ADDRESS"
      }]
    }],
    "properties": ["firstname","lastname","email","phone","mobilephone","source","ref","objet"]
  }'

3. Rechercher un contact par nom

curl -s "https://api.hubapi.com/crm/v3/objects/contacts/search" \
  -H "Authorization: Bearer $HUBSPOT_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "filterGroups": [{
      "filters": [{
        "propertyName": "lastname",
        "operator": "EQ",
        "value": "NOM_FAMILLE"
      }]
    }],
    "properties": ["firstname","lastname","email","phone","mobilephone","source","ref","objet"]
  }'

4. Obtenir un contact par ID

curl -s "https://api.hubapi.com/crm/v3/objects/contacts/CONTACT_ID?properties=firstname,lastname,email,phone,mobilephone,hs_whatsapp_phone_number,source,ref,objet,fonction" \
  -H "Authorization: Bearer $HUBSPOT_ACCESS_TOKEN"

5. Créer un nouveau contact

curl -s "https://api.hubapi.com/crm/v3/objects/contacts" \
  -H "Authorization: Bearer $HUBSPOT_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "properties": {
      "firstname": "PRENOM",
      "lastname": "NOM",
      "email": "EMAIL",
      "phone": "TELEPHONE",
      "source": "SOURCE",
      "hubspot_owner_id": "32587387"
    }
  }'

6. Mettre à jour un contact

curl -s -X PATCH "https://api.hubapi.com/crm/v3/objects/contacts/CONTACT_ID" \
  -H "Authorization: Bearer $HUBSPOT_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "properties": {
      "PROPRIETE": "VALEUR"
    }
  }'

7. Lister les deals d'un contact

curl -s "https://api.hubapi.com/crm/v4/objects/contacts/CONTACT_ID/associations/deals" \
  -H "Authorization: Bearer $HUBSPOT_ACCESS_TOKEN"

Récupère les IDs des deals, puis utiliser commande 9 pour les détails

8. Créer un deal

curl -s "https://api.hubapi.com/crm/v3/objects/deals" \
  -H "Authorization: Bearer $HUBSPOT_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "properties": {
      "dealname": "VAE - NOM_CANDIDAT - DIPLOME",
      "pipeline": "default",
      "dealstage": "appointmentscheduled",
      "amount": "MONTANT",
      "hubspot_owner_id": "32587387"
    }
  }'

9. Obtenir un deal par ID

curl -s "https://api.hubapi.com/crm/v3/objects/deals/DEAL_ID?properties=dealname,pipeline,dealstage,amount,closedate,hubspot_owner_id" \
  -H "Authorization: Bearer $HUBSPOT_ACCESS_TOKEN"

10. Mettre à jour le stage d'un deal

curl -s -X PATCH "https://api.hubapi.com/crm/v3/objects/deals/DEAL_ID" \
  -H "Authorization: Bearer $HUBSPOT_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "properties": {
      "dealstage": "STAGE_ID"
    }
  }'

11. Associer un contact à un deal

curl -s -X PUT "https://api.hubapi.com/crm/v4/objects/deals/DEAL_ID/associations/contacts/CONTACT_ID" \
  -H "Authorization: Bearer $HUBSPOT_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '[{"associationCategory":"HUBSPOT_DEFINED","associationTypeId":3}]'

12. Créer une note sur un contact

curl -s "https://api.hubapi.com/crm/v3/objects/notes" \
  -H "Authorization: Bearer $HUBSPOT_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "properties": {
      "hs_note_body": "CONTENU_NOTE",
      "hs_timestamp": "'$(date -u +%Y-%m-%dT%H:%M:%S.000Z)'"
    }
  }'

Après création, associer la note au contact avec commande 13

13. Associer une note à un contact

curl -s -X PUT "https://api.hubapi.com/crm/v4/objects/notes/NOTE_ID/associations/contacts/CONTACT_ID" \
  -H "Authorization: Bearer $HUBSPOT_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '[{"associationCategory":"HUBSPOT_DEFINED","associationTypeId":202}]'

14. Créer une tâche

curl -s "https://api.hubapi.com/crm/v3/objects/tasks" \
  -H "Authorization: Bearer $HUBSPOT_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "properties": {
      "hs_task_subject": "SUJET_TACHE",
      "hs_task_body": "DESCRIPTION",
      "hs_task_status": "NOT_STARTED",
      "hs_task_priority": "MEDIUM",
      "hs_timestamp": "'$(date -u +%Y-%m-%dT%H:%M:%S.000Z)'",
      "hubspot_owner_id": "32587387"
    }
  }'

15. Associer une tâche à un contact

curl -s -X PUT "https://api.hubapi.com/crm/v4/objects/tasks/TASK_ID/associations/contacts/CONTACT_ID" \
  -H "Authorization: Bearer $HUBSPOT_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '[{"associationCategory":"HUBSPOT_DEFINED","associationTypeId":204}]'

16. Lister les contacts récents (dernières 24h)

curl -s "https://api.hubapi.com/crm/v3/objects/contacts/search" \
  -H "Authorization: Bearer $HUBSPOT_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "filterGroups": [{
      "filters": [{
        "propertyName": "createdate",
        "operator": "GTE",
        "value": "'$(date -d '24 hours ago' +%s)000'"
      }]
    }],
    "sorts": [{"propertyName":"createdate","direction":"DESCENDING"}],
    "properties": ["firstname","lastname","email","phone","source","createdate"],
    "limit": 20
  }'

17. Lister les deals par stage

curl -s "https://api.hubapi.com/crm/v3/objects/deals/search" \
  -H "Authorization: Bearer $HUBSPOT_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "filterGroups": [{
      "filters": [{
        "propertyName": "dealstage",
        "operator": "EQ",
        "value": "STAGE_ID"
      }]
    }],
    "properties": ["dealname","dealstage","amount","closedate","pipeline"],
    "limit": 50
  }'

18. Compter les deals par pipeline

curl -s "https://api.hubapi.com/crm/v3/objects/deals/search" \
  -H "Authorization: Bearer $HUBSPOT_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "filterGroups": [{
      "filters": [{
        "propertyName": "pipeline",
        "operator": "EQ",
        "value": "PIPELINE_ID"
      }]
    }],
    "limit": 0
  }'

Le champ total dans la réponse donne le nombre

19. Recherche globale de contacts

curl -s "https://api.hubapi.com/crm/v3/objects/contacts/search" \
  -H "Authorization: Bearer $HUBSPOT_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "TERME_RECHERCHE",
    "properties": ["firstname","lastname","email","phone","source"],
    "limit": 10
  }'

20. Supprimer un contact (archiver)

curl -s -X DELETE "https://api.hubapi.com/crm/v3/objects/contacts/CONTACT_ID" \
  -H "Authorization: Bearer $HUBSPOT_ACCESS_TOKEN"

Action irréversible — demander confirmation avant exécution


Scénarios métier

Nouveau prospect WhatsApp

  1. Rechercher par téléphone (cmd 1) sur les 3 champs
  2. Si inexistant → Créer contact (cmd 5) avec source="WhatsApp"
  3. Créer deal VAE (cmd 8)
  4. Associer contact au deal (cmd 11)
  5. Créer note avec contexte conversation (cmd 12 + 13)

Suivi candidat VAE

  1. Rechercher contact (cmd 1/2/3)
  2. Lister ses deals (cmd 7)
  3. Récupérer détails deal (cmd 9)
  4. Mettre à jour stage si progression (cmd 10)
  5. Ajouter note de suivi (cmd 12 + 13)

Rapport pipeline quotidien

  1. Compter deals par pipeline (cmd 18)
  2. Lister deals par stage (cmd 17) pour chaque stage actif
  3. Lister contacts créés dernières 24h (cmd 16)

Webhooks n8n (à configurer)

Webhook URL Usage
Nouveau prospect https://uscsynergy.app.n8n.cloud/webhook/hubspot-nouveau-prospect Sync nouveau contact vers Digiforma
Sync Digiforma https://uscsynergy.app.n8n.cloud/webhook/hubspot-sync-digiforma Mise à jour bidirectionnelle
Enrichissement WhatsApp https://uscsynergy.app.n8n.cloud/webhook/hubspot-enrichissement-whatsapp Enrichir fiche depuis conversation WA

Note : Ces webhooks sont des placeholders. Les activer dans n8n quand les workflows seront prêts.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

crmhubspotsales-automationcontact-managementpipeline-trackingapi-integrationn8nvaetraining-centerlead-qualificationdeal-management

同类 Skill