{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/hubspot-crm",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=hubspot-crm",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "_meta.json"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/hubspot-crm",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Description",
        "body": "Gestion complète du CRM HubSpot pour USC SYNERGY (centre de formation VAE).\nPermet de rechercher, créer, modifier des contacts et deals, gérer les associations, et suivre le pipeline commercial."
      },
      {
        "title": "Configuration requise",
        "body": "Variable d'environnement : HUBSPOT_ACCESS_TOKEN\nOwner par défaut : Mark IBBOU (ID: 32587387)"
      },
      {
        "title": "Pipelines",
        "body": "PipelineIDUsageSales PipelinedefaultPipeline principalTraitement des leads859619884Qualification prospects"
      },
      {
        "title": "Stages du Sales Pipeline (default)",
        "body": "StageIDAppointment ScheduledappointmentscheduledQualified To BuyqualifiedtobuyPresentation ScheduledpresentationscheduledDecision Maker Bought-IndecisionmakerboughtinContract SentcontractsentClosed WonclosedwonClosed Lostclosedlost"
      },
      {
        "title": "Propriétés contact importantes",
        "body": "phone, mobilephone, hs_whatsapp_phone_number — Téléphones\nsource — Source du contact\nref — Référence interne\nobjet — Objet de la demande\nfonction — Fonction professionnelle"
      },
      {
        "title": "1. Rechercher un contact par téléphone",
        "body": "curl -s \"https://api.hubapi.com/crm/v3/objects/contacts/search\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"filterGroups\": [{\n      \"filters\": [{\n        \"propertyName\": \"phone\",\n        \"operator\": \"EQ\",\n        \"value\": \"NUMERO_TEL\"\n      }]\n    }],\n    \"properties\": [\"firstname\",\"lastname\",\"email\",\"phone\",\"mobilephone\",\"hs_whatsapp_phone_number\",\"source\",\"ref\",\"objet\",\"fonction\"]\n  }'\n\nRemplacer NUMERO_TEL par le numéro au format international (+33...)\nSi aucun résultat, retenter avec mobilephone ou hs_whatsapp_phone_number"
      },
      {
        "title": "2. Rechercher un contact par email",
        "body": "curl -s \"https://api.hubapi.com/crm/v3/objects/contacts/search\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"filterGroups\": [{\n      \"filters\": [{\n        \"propertyName\": \"email\",\n        \"operator\": \"EQ\",\n        \"value\": \"EMAIL_ADDRESS\"\n      }]\n    }],\n    \"properties\": [\"firstname\",\"lastname\",\"email\",\"phone\",\"mobilephone\",\"source\",\"ref\",\"objet\"]\n  }'"
      },
      {
        "title": "3. Rechercher un contact par nom",
        "body": "curl -s \"https://api.hubapi.com/crm/v3/objects/contacts/search\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"filterGroups\": [{\n      \"filters\": [{\n        \"propertyName\": \"lastname\",\n        \"operator\": \"EQ\",\n        \"value\": \"NOM_FAMILLE\"\n      }]\n    }],\n    \"properties\": [\"firstname\",\"lastname\",\"email\",\"phone\",\"mobilephone\",\"source\",\"ref\",\"objet\"]\n  }'"
      },
      {
        "title": "4. Obtenir un contact par ID",
        "body": "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\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\""
      },
      {
        "title": "5. Créer un nouveau contact",
        "body": "curl -s \"https://api.hubapi.com/crm/v3/objects/contacts\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"properties\": {\n      \"firstname\": \"PRENOM\",\n      \"lastname\": \"NOM\",\n      \"email\": \"EMAIL\",\n      \"phone\": \"TELEPHONE\",\n      \"source\": \"SOURCE\",\n      \"hubspot_owner_id\": \"32587387\"\n    }\n  }'"
      },
      {
        "title": "6. Mettre à jour un contact",
        "body": "curl -s -X PATCH \"https://api.hubapi.com/crm/v3/objects/contacts/CONTACT_ID\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"properties\": {\n      \"PROPRIETE\": \"VALEUR\"\n    }\n  }'"
      },
      {
        "title": "7. Lister les deals d'un contact",
        "body": "curl -s \"https://api.hubapi.com/crm/v4/objects/contacts/CONTACT_ID/associations/deals\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\"\n\nRécupère les IDs des deals, puis utiliser commande 9 pour les détails"
      },
      {
        "title": "8. Créer un deal",
        "body": "curl -s \"https://api.hubapi.com/crm/v3/objects/deals\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"properties\": {\n      \"dealname\": \"VAE - NOM_CANDIDAT - DIPLOME\",\n      \"pipeline\": \"default\",\n      \"dealstage\": \"appointmentscheduled\",\n      \"amount\": \"MONTANT\",\n      \"hubspot_owner_id\": \"32587387\"\n    }\n  }'"
      },
      {
        "title": "9. Obtenir un deal par ID",
        "body": "curl -s \"https://api.hubapi.com/crm/v3/objects/deals/DEAL_ID?properties=dealname,pipeline,dealstage,amount,closedate,hubspot_owner_id\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\""
      },
      {
        "title": "10. Mettre à jour le stage d'un deal",
        "body": "curl -s -X PATCH \"https://api.hubapi.com/crm/v3/objects/deals/DEAL_ID\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"properties\": {\n      \"dealstage\": \"STAGE_ID\"\n    }\n  }'"
      },
      {
        "title": "11. Associer un contact à un deal",
        "body": "curl -s -X PUT \"https://api.hubapi.com/crm/v4/objects/deals/DEAL_ID/associations/contacts/CONTACT_ID\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '[{\"associationCategory\":\"HUBSPOT_DEFINED\",\"associationTypeId\":3}]'"
      },
      {
        "title": "12. Créer une note sur un contact",
        "body": "curl -s \"https://api.hubapi.com/crm/v3/objects/notes\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"properties\": {\n      \"hs_note_body\": \"CONTENU_NOTE\",\n      \"hs_timestamp\": \"'$(date -u +%Y-%m-%dT%H:%M:%S.000Z)'\"\n    }\n  }'\n\nAprès création, associer la note au contact avec commande 13"
      },
      {
        "title": "13. Associer une note à un contact",
        "body": "curl -s -X PUT \"https://api.hubapi.com/crm/v4/objects/notes/NOTE_ID/associations/contacts/CONTACT_ID\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '[{\"associationCategory\":\"HUBSPOT_DEFINED\",\"associationTypeId\":202}]'"
      },
      {
        "title": "14. Créer une tâche",
        "body": "curl -s \"https://api.hubapi.com/crm/v3/objects/tasks\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"properties\": {\n      \"hs_task_subject\": \"SUJET_TACHE\",\n      \"hs_task_body\": \"DESCRIPTION\",\n      \"hs_task_status\": \"NOT_STARTED\",\n      \"hs_task_priority\": \"MEDIUM\",\n      \"hs_timestamp\": \"'$(date -u +%Y-%m-%dT%H:%M:%S.000Z)'\",\n      \"hubspot_owner_id\": \"32587387\"\n    }\n  }'"
      },
      {
        "title": "15. Associer une tâche à un contact",
        "body": "curl -s -X PUT \"https://api.hubapi.com/crm/v4/objects/tasks/TASK_ID/associations/contacts/CONTACT_ID\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '[{\"associationCategory\":\"HUBSPOT_DEFINED\",\"associationTypeId\":204}]'"
      },
      {
        "title": "16. Lister les contacts récents (dernières 24h)",
        "body": "curl -s \"https://api.hubapi.com/crm/v3/objects/contacts/search\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"filterGroups\": [{\n      \"filters\": [{\n        \"propertyName\": \"createdate\",\n        \"operator\": \"GTE\",\n        \"value\": \"'$(date -d '24 hours ago' +%s)000'\"\n      }]\n    }],\n    \"sorts\": [{\"propertyName\":\"createdate\",\"direction\":\"DESCENDING\"}],\n    \"properties\": [\"firstname\",\"lastname\",\"email\",\"phone\",\"source\",\"createdate\"],\n    \"limit\": 20\n  }'"
      },
      {
        "title": "17. Lister les deals par stage",
        "body": "curl -s \"https://api.hubapi.com/crm/v3/objects/deals/search\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"filterGroups\": [{\n      \"filters\": [{\n        \"propertyName\": \"dealstage\",\n        \"operator\": \"EQ\",\n        \"value\": \"STAGE_ID\"\n      }]\n    }],\n    \"properties\": [\"dealname\",\"dealstage\",\"amount\",\"closedate\",\"pipeline\"],\n    \"limit\": 50\n  }'"
      },
      {
        "title": "18. Compter les deals par pipeline",
        "body": "curl -s \"https://api.hubapi.com/crm/v3/objects/deals/search\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"filterGroups\": [{\n      \"filters\": [{\n        \"propertyName\": \"pipeline\",\n        \"operator\": \"EQ\",\n        \"value\": \"PIPELINE_ID\"\n      }]\n    }],\n    \"limit\": 0\n  }'\n\nLe champ total dans la réponse donne le nombre"
      },
      {
        "title": "19. Recherche globale de contacts",
        "body": "curl -s \"https://api.hubapi.com/crm/v3/objects/contacts/search\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"query\": \"TERME_RECHERCHE\",\n    \"properties\": [\"firstname\",\"lastname\",\"email\",\"phone\",\"source\"],\n    \"limit\": 10\n  }'"
      },
      {
        "title": "20. Supprimer un contact (archiver)",
        "body": "curl -s -X DELETE \"https://api.hubapi.com/crm/v3/objects/contacts/CONTACT_ID\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\"\n\nAction irréversible — demander confirmation avant exécution"
      },
      {
        "title": "Nouveau prospect WhatsApp",
        "body": "Rechercher par téléphone (cmd 1) sur les 3 champs\nSi inexistant → Créer contact (cmd 5) avec source=\"WhatsApp\"\nCréer deal VAE (cmd 8)\nAssocier contact au deal (cmd 11)\nCréer note avec contexte conversation (cmd 12 + 13)"
      },
      {
        "title": "Suivi candidat VAE",
        "body": "Rechercher contact (cmd 1/2/3)\nLister ses deals (cmd 7)\nRécupérer détails deal (cmd 9)\nMettre à jour stage si progression (cmd 10)\nAjouter note de suivi (cmd 12 + 13)"
      },
      {
        "title": "Rapport pipeline quotidien",
        "body": "Compter deals par pipeline (cmd 18)\nLister deals par stage (cmd 17) pour chaque stage actif\nLister contacts créés dernières 24h (cmd 16)"
      },
      {
        "title": "Webhooks n8n (à configurer)",
        "body": "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\n\nNote : Ces webhooks sont des placeholders. Les activer dans n8n quand les workflows seront prêts."
      }
    ],
    "body": "Skill HubSpot CRM — USC SYNERGY\nDescription\n\nGestion 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.\n\nConfiguration requise\nVariable d'environnement : HUBSPOT_ACCESS_TOKEN\nOwner par défaut : Mark IBBOU (ID: 32587387)\nPipelines\nPipeline\tID\tUsage\nSales Pipeline\tdefault\tPipeline principal\nTraitement des leads\t859619884\tQualification prospects\nStages du Sales Pipeline (default)\nStage\tID\nAppointment Scheduled\tappointmentscheduled\nQualified To Buy\tqualifiedtobuy\nPresentation Scheduled\tpresentationscheduled\nDecision Maker Bought-In\tdecisionmakerboughtin\nContract Sent\tcontractsent\nClosed Won\tclosedwon\nClosed Lost\tclosedlost\nPropriétés contact importantes\nphone, mobilephone, hs_whatsapp_phone_number — Téléphones\nsource — Source du contact\nref — Référence interne\nobjet — Objet de la demande\nfonction — Fonction professionnelle\nCommandes disponibles\n1. Rechercher un contact par téléphone\ncurl -s \"https://api.hubapi.com/crm/v3/objects/contacts/search\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"filterGroups\": [{\n      \"filters\": [{\n        \"propertyName\": \"phone\",\n        \"operator\": \"EQ\",\n        \"value\": \"NUMERO_TEL\"\n      }]\n    }],\n    \"properties\": [\"firstname\",\"lastname\",\"email\",\"phone\",\"mobilephone\",\"hs_whatsapp_phone_number\",\"source\",\"ref\",\"objet\",\"fonction\"]\n  }'\n\n\nRemplacer NUMERO_TEL par le numéro au format international (+33...) Si aucun résultat, retenter avec mobilephone ou hs_whatsapp_phone_number\n\n2. Rechercher un contact par email\ncurl -s \"https://api.hubapi.com/crm/v3/objects/contacts/search\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"filterGroups\": [{\n      \"filters\": [{\n        \"propertyName\": \"email\",\n        \"operator\": \"EQ\",\n        \"value\": \"EMAIL_ADDRESS\"\n      }]\n    }],\n    \"properties\": [\"firstname\",\"lastname\",\"email\",\"phone\",\"mobilephone\",\"source\",\"ref\",\"objet\"]\n  }'\n\n3. Rechercher un contact par nom\ncurl -s \"https://api.hubapi.com/crm/v3/objects/contacts/search\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"filterGroups\": [{\n      \"filters\": [{\n        \"propertyName\": \"lastname\",\n        \"operator\": \"EQ\",\n        \"value\": \"NOM_FAMILLE\"\n      }]\n    }],\n    \"properties\": [\"firstname\",\"lastname\",\"email\",\"phone\",\"mobilephone\",\"source\",\"ref\",\"objet\"]\n  }'\n\n4. Obtenir un contact par ID\ncurl -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\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\"\n\n5. Créer un nouveau contact\ncurl -s \"https://api.hubapi.com/crm/v3/objects/contacts\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"properties\": {\n      \"firstname\": \"PRENOM\",\n      \"lastname\": \"NOM\",\n      \"email\": \"EMAIL\",\n      \"phone\": \"TELEPHONE\",\n      \"source\": \"SOURCE\",\n      \"hubspot_owner_id\": \"32587387\"\n    }\n  }'\n\n6. Mettre à jour un contact\ncurl -s -X PATCH \"https://api.hubapi.com/crm/v3/objects/contacts/CONTACT_ID\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"properties\": {\n      \"PROPRIETE\": \"VALEUR\"\n    }\n  }'\n\n7. Lister les deals d'un contact\ncurl -s \"https://api.hubapi.com/crm/v4/objects/contacts/CONTACT_ID/associations/deals\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\"\n\n\nRécupère les IDs des deals, puis utiliser commande 9 pour les détails\n\n8. Créer un deal\ncurl -s \"https://api.hubapi.com/crm/v3/objects/deals\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"properties\": {\n      \"dealname\": \"VAE - NOM_CANDIDAT - DIPLOME\",\n      \"pipeline\": \"default\",\n      \"dealstage\": \"appointmentscheduled\",\n      \"amount\": \"MONTANT\",\n      \"hubspot_owner_id\": \"32587387\"\n    }\n  }'\n\n9. Obtenir un deal par ID\ncurl -s \"https://api.hubapi.com/crm/v3/objects/deals/DEAL_ID?properties=dealname,pipeline,dealstage,amount,closedate,hubspot_owner_id\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\"\n\n10. Mettre à jour le stage d'un deal\ncurl -s -X PATCH \"https://api.hubapi.com/crm/v3/objects/deals/DEAL_ID\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"properties\": {\n      \"dealstage\": \"STAGE_ID\"\n    }\n  }'\n\n11. Associer un contact à un deal\ncurl -s -X PUT \"https://api.hubapi.com/crm/v4/objects/deals/DEAL_ID/associations/contacts/CONTACT_ID\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '[{\"associationCategory\":\"HUBSPOT_DEFINED\",\"associationTypeId\":3}]'\n\n12. Créer une note sur un contact\ncurl -s \"https://api.hubapi.com/crm/v3/objects/notes\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"properties\": {\n      \"hs_note_body\": \"CONTENU_NOTE\",\n      \"hs_timestamp\": \"'$(date -u +%Y-%m-%dT%H:%M:%S.000Z)'\"\n    }\n  }'\n\n\nAprès création, associer la note au contact avec commande 13\n\n13. Associer une note à un contact\ncurl -s -X PUT \"https://api.hubapi.com/crm/v4/objects/notes/NOTE_ID/associations/contacts/CONTACT_ID\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '[{\"associationCategory\":\"HUBSPOT_DEFINED\",\"associationTypeId\":202}]'\n\n14. Créer une tâche\ncurl -s \"https://api.hubapi.com/crm/v3/objects/tasks\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"properties\": {\n      \"hs_task_subject\": \"SUJET_TACHE\",\n      \"hs_task_body\": \"DESCRIPTION\",\n      \"hs_task_status\": \"NOT_STARTED\",\n      \"hs_task_priority\": \"MEDIUM\",\n      \"hs_timestamp\": \"'$(date -u +%Y-%m-%dT%H:%M:%S.000Z)'\",\n      \"hubspot_owner_id\": \"32587387\"\n    }\n  }'\n\n15. Associer une tâche à un contact\ncurl -s -X PUT \"https://api.hubapi.com/crm/v4/objects/tasks/TASK_ID/associations/contacts/CONTACT_ID\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '[{\"associationCategory\":\"HUBSPOT_DEFINED\",\"associationTypeId\":204}]'\n\n16. Lister les contacts récents (dernières 24h)\ncurl -s \"https://api.hubapi.com/crm/v3/objects/contacts/search\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"filterGroups\": [{\n      \"filters\": [{\n        \"propertyName\": \"createdate\",\n        \"operator\": \"GTE\",\n        \"value\": \"'$(date -d '24 hours ago' +%s)000'\"\n      }]\n    }],\n    \"sorts\": [{\"propertyName\":\"createdate\",\"direction\":\"DESCENDING\"}],\n    \"properties\": [\"firstname\",\"lastname\",\"email\",\"phone\",\"source\",\"createdate\"],\n    \"limit\": 20\n  }'\n\n17. Lister les deals par stage\ncurl -s \"https://api.hubapi.com/crm/v3/objects/deals/search\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"filterGroups\": [{\n      \"filters\": [{\n        \"propertyName\": \"dealstage\",\n        \"operator\": \"EQ\",\n        \"value\": \"STAGE_ID\"\n      }]\n    }],\n    \"properties\": [\"dealname\",\"dealstage\",\"amount\",\"closedate\",\"pipeline\"],\n    \"limit\": 50\n  }'\n\n18. Compter les deals par pipeline\ncurl -s \"https://api.hubapi.com/crm/v3/objects/deals/search\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"filterGroups\": [{\n      \"filters\": [{\n        \"propertyName\": \"pipeline\",\n        \"operator\": \"EQ\",\n        \"value\": \"PIPELINE_ID\"\n      }]\n    }],\n    \"limit\": 0\n  }'\n\n\nLe champ total dans la réponse donne le nombre\n\n19. Recherche globale de contacts\ncurl -s \"https://api.hubapi.com/crm/v3/objects/contacts/search\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\n    \"query\": \"TERME_RECHERCHE\",\n    \"properties\": [\"firstname\",\"lastname\",\"email\",\"phone\",\"source\"],\n    \"limit\": 10\n  }'\n\n20. Supprimer un contact (archiver)\ncurl -s -X DELETE \"https://api.hubapi.com/crm/v3/objects/contacts/CONTACT_ID\" \\\n  -H \"Authorization: Bearer $HUBSPOT_ACCESS_TOKEN\"\n\n\nAction irréversible — demander confirmation avant exécution\n\nScénarios métier\nNouveau prospect WhatsApp\nRechercher par téléphone (cmd 1) sur les 3 champs\nSi inexistant → Créer contact (cmd 5) avec source=\"WhatsApp\"\nCréer deal VAE (cmd 8)\nAssocier contact au deal (cmd 11)\nCréer note avec contexte conversation (cmd 12 + 13)\nSuivi candidat VAE\nRechercher contact (cmd 1/2/3)\nLister ses deals (cmd 7)\nRécupérer détails deal (cmd 9)\nMettre à jour stage si progression (cmd 10)\nAjouter note de suivi (cmd 12 + 13)\nRapport pipeline quotidien\nCompter deals par pipeline (cmd 18)\nLister deals par stage (cmd 17) pour chaque stage actif\nLister contacts créés dernières 24h (cmd 16)\nWebhooks n8n (à configurer)\nWebhook\tURL\tUsage\nNouveau prospect\thttps://uscsynergy.app.n8n.cloud/webhook/hubspot-nouveau-prospect\tSync nouveau contact vers Digiforma\nSync Digiforma\thttps://uscsynergy.app.n8n.cloud/webhook/hubspot-sync-digiforma\tMise à jour bidirectionnelle\nEnrichissement WhatsApp\thttps://uscsynergy.app.n8n.cloud/webhook/hubspot-enrichissement-whatsapp\tEnrichir fiche depuis conversation WA\n\nNote : Ces webhooks sont des placeholders. Les activer dans n8n quand les workflows seront prêts."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/mibbou/hubspot-crm",
    "publisherUrl": "https://clawhub.ai/mibbou/hubspot-crm",
    "owner": "mibbou",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}