feat(hubspot): add create-contact and delete-contact commands#101
Conversation
Extends the HubSpot skill from read-only to lightly manage contacts: - `hubspot create-contact --email <email> [--first --last --phone --company]` - `hubspot delete-contact <contact_id>` - Handles 204 No Content responses from the REST API - Adds `crm.objects.contacts.write` to recommended scopes - Version bump 0.1.0 → 0.2.0 Originally developed on ali's fleet machine for CRM automation workflows. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e1c1987a58
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| @@ -1,6 +1,6 @@ | |||
| --- | |||
| name: hubspot | |||
There was a problem hiding this comment.
Bump root VERSION for this feature release
This change updates the HubSpot skill to 0.2.0 but does not update the repository-level VERSION, which means installed instances can miss this update because openclaw status compares installed vs available versions using VERSION (skills/openclaw/openclaw, especially cmd_status around lines 69-80). In that scenario users are told they are up to date even though create-contact/delete-contact are not deployed; the project guideline in AGENTS.md explicitly requires bumping root VERSION on skill changes.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Fixed in PR #103 — bumped VERSION to 0.27.0. Great catch on the missing root version bump!
|
Re: Codex VERSION feedback - Good catch! Fixed in follow-up commit 2d78269 which bumped VERSION to 0.27.0. |
Summary
hubspot create-contact --email ... [--first --last --phone --company]andhubspot delete-contact <id>crm.objects.contacts.writescope in setup docsOriginally developed on ali's fleet machine for CRM automation. Pulling upstream so the fleet-wide rollout doesn't clobber her work.
Test plan
HUBSPOT_API_KEYwith contacts write scopehubspot create-contact --email test@example.com --first Test --last Userhubspot delete-contact <returned_id>hubspot contactsstill works (no read regressions)🤖 Generated with Claude Code