Hubspot line items
Use when the user wants to manage HubSpot line items (deal/quote line entries, priced SKU rows) via the `hubspot` command-line tool.From its SKILL.md
npx -y skills add dipankar/hubspot-cli --skill hubspot-line-itemsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
3 things to look at
- reads credentialsReads from 1 credential source: `HUBSPOT_ACCESS_TOKEN`.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
- runs commandsInstructs the agent to run 7 commands, including `hubspot crm line-items list --limit 20` and 6 more.
SKILL.md
1.8 KB, 434 tokens by cl100k_base, as published. Nobody here has run it
HubSpot Line Items (via hubspot CLI)
Line items are individual priced entries attached to deals, quotes, or invoices. Each line item is usually a reference to a product with a quantity and per-line price override.
Auth
Set HUBSPOT_ACCESS_TOKEN. Optional --profile <name>.
Canonical commands
| Intent | Command |
|---|---|
| List | hubspot crm line-items list --limit 20 |
| Get | hubspot crm line-items get 12345 |
| Create from product | hubspot crm line-items create --properties '{"hs_product_id":"1001","quantity":"3","price":"99.99"}' |
| Create ad-hoc | hubspot crm line-items create --properties '{"name":"Custom service","quantity":"1","price":"2500.00"}' |
| Update quantity | hubspot crm line-items update 12345 --properties '{"quantity":"5"}' |
| Delete | hubspot crm line-items delete 12345 --yes |
| Search | hubspot crm line-items search --filter-groups '[{"filters":[{"propertyName":"hs_product_id","operator":"EQ","value":"1001"}]}]' |
Common properties
name, hs_product_id, quantity, price, amount (computed), discount, tax, hs_recurring_billing_period, hs_line_item_currency_code.
Associating line items
A line item is only useful when attached to a deal or quote:
hubspot crm associations create line_items 12345 deals 67890
hubspot crm associations create line_items 12345 quotes 11111
Scopes
- Read:
e-commerce - Write:
e-commerce
Tips
- Prefer referencing a product via
hs_product_idover re-enteringname/priceso catalog updates propagate. - All numeric properties are strings:
"quantity": "3", not3.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.