Claude-skill-registry hubspot-create-deal
Create a new deal in HubSpot CRM. Load when user says 'create deal', 'add deal', 'new deal', 'new opportunity'. Requires name, optional amount, stage, closedate.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/hubspot-create-deal" ~/.claude/skills/majiayu000-claude-skill-registry-hubspot-create-deal && rm -rf "$T"
manifest:
skills/data/hubspot-create-deal/SKILL.mdsource content
Create HubSpot Deal
Specialized skill for creating deals in HubSpot CRM.
Pre-Flight Check
Before running, execute config check:
python 00-system/skills/hubspot/hubspot-master/scripts/check_hubspot_config.py --json
If
ai_action is not proceed_with_operation, follow hubspot-connect setup guide.
Usage
Required Parameters
- Deal name (required)--name
Optional Parameters
- Deal value in dollars--amount
- Deal stage ID--stage
- Expected close date (YYYY-MM-DD)--closedate
- Pipeline ID (uses default if not specified)--pipeline
Examples
Minimal (name only):
python 00-system/skills/hubspot/hubspot-master/scripts/create_deal.py \ --name "New Enterprise Deal" \ --json
Full deal:
python 00-system/skills/hubspot/hubspot-master/scripts/create_deal.py \ --name "Acme Corp - Enterprise" \ --amount 50000 \ --stage "qualifiedtobuy" \ --closedate "2025-03-15" \ --json
Common Deal Stages
| Stage ID | Name |
|---|---|
| appointmentscheduled | Appointment Scheduled |
| qualifiedtobuy | Qualified to Buy |
| presentationscheduled | Presentation Scheduled |
| decisionmakerboughtin | Decision Maker Bought In |
| contractsent | Contract Sent |
| closedwon | Closed Won |
| closedlost | Closed Lost |
Output Format
{ "id": "5840795376", "properties": { "dealname": "Acme Corp - Enterprise", "amount": "50000", "dealstage": "qualifiedtobuy", "closedate": "2025-03-15T00:00:00Z", "createdate": "2025-12-13T10:00:00Z" } }
Display Format
✅ Deal created! ID: 5840795376 Name: Acme Corp - Enterprise Amount: $50,000 Stage: Qualified to Buy Close Date: 2025-03-15
Error Handling
| Error | Solution |
|---|---|
| 401 | Invalid token - re-run setup |
| 403 | Missing scope |
| 400 | Invalid stage ID - check stage list |
| 429 | Rate limited - wait and retry |
Related Skills
- List all dealshubspot-list-deals
- Update deal stage/amounthubspot-update-deal
- Find existing dealshubspot-search-deals
- Link contacts to dealhubspot-get-associations