# Send Hubspot Crm to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "hubspot-crm",
    "name": "Hubspot Crm",
    "source": "tencent",
    "type": "skill",
    "category": "内容创作",
    "sourceUrl": "https://clawhub.ai/mibbou/hubspot-crm",
    "canonicalUrl": "https://clawhub.ai/mibbou/hubspot-crm",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/hubspot-crm",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=hubspot-crm",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "_meta.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/hubspot-crm"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/hubspot-crm",
    "downloadUrl": "https://openagent3.xyz/downloads/hubspot-crm",
    "agentUrl": "https://openagent3.xyz/skills/hubspot-crm/agent",
    "manifestUrl": "https://openagent3.xyz/skills/hubspot-crm/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/hubspot-crm/agent.md"
  }
}
```
## Documentation

### 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

PipelineIDUsageSales PipelinedefaultPipeline principalTraitement des leads859619884Qualification prospects

### Stages du Sales Pipeline (default)

StageIDAppointment ScheduledappointmentscheduledQualified To BuyqualifiedtobuyPresentation ScheduledpresentationscheduledDecision Maker Bought-IndecisionmakerboughtinContract SentcontractsentClosed WonclosedwonClosed Lostclosedlost

### 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

### 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

### Nouveau prospect WhatsApp

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

### Suivi candidat VAE

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

### Rapport pipeline quotidien

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

### Webhooks n8n (à configurer)

WebhookURLUsageNouveau prospecthttps://uscsynergy.app.n8n.cloud/webhook/hubspot-nouveau-prospectSync nouveau contact vers DigiformaSync Digiformahttps://uscsynergy.app.n8n.cloud/webhook/hubspot-sync-digiformaMise à jour bidirectionnelleEnrichissement WhatsApphttps://uscsynergy.app.n8n.cloud/webhook/hubspot-enrichissement-whatsappEnrichir fiche depuis conversation WA

Note : Ces webhooks sont des placeholders. Les activer dans n8n quand les workflows seront prêts.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: mibbou
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-23T16:43:11.935Z
- Expires at: 2026-04-30T16:43:11.935Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/hubspot-crm)
- [Send to Agent page](https://openagent3.xyz/skills/hubspot-crm/agent)
- [JSON manifest](https://openagent3.xyz/skills/hubspot-crm/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/hubspot-crm/agent.md)
- [Download page](https://openagent3.xyz/downloads/hubspot-crm)