HubPublic
Package control recordPublished package

@pasar6987/hubspot-deals

HubSpot CRM deal dimensions and metrics — pipeline stages, deal amounts, revenue forecasting, win rates, contract values, recurring revenue, and deal velocity analysis.

Published package · Latest published 1.0.0 Mar 4, 2026 · 2 datasets / 17 measures in the latest review · Updated Apr 28, 2026

Release path

1.0.0Published Mar 4, 2026

Publisher

@pasar6987Published Mar 4, 2026

Structure snapshot

2 datasets17 measures · 36 dimensions

Reference context

Secondary package facts stay compact

Updated
Apr 28, 2026
Visibility
Public hub listing
License
Apache-2.0
Created
Mar 4, 2026

Reference facts

Secondary package facts after the usage path is clear

Licensing, categorization, ownership, and linked metadata stay below the runnable path so the page reads in the right order.

Format

OSI

Upstream

developers.hubspot.com/docs/reference/api/crm/objects

Repository

Not linked

Owner

@pasar6987

Organization

Independent

License

Apache-2.0

Visibility

Public hub listing

Publisher

@pasar6987Published Mar 4, 2026

Latest published version

1.0.0Published Mar 4, 2026

Tags

hubspotcrmdealspipelinerevenueforecastingsales

Schema preview

Schema 0.1.1

SDK handoff

Use this package in code and AI

After structure review, move straight into typed reads with load() or compact LLM context with to_prompt().

Python SDK

Python example for @pasar6987/hubspot-deals

This example uses the current package ref and, when preview data is available, fills in real dataset names from the published summary.

import rawctx

model = rawctx.load("@pasar6987/hubspot-deals")
prompt = rawctx.to_prompt(
    "@pasar6987/hubspot-deals",
    datasets=["Deal", "DealActivity"],
    max_tokens=2000,
)

print(model.datasets)        # ["Deal", "DealActivity"]
print(model.measures)        # [Measure(name="total_deals", ...), Measure(name="new_deals_created", ...), Measure(name="total_deal_amount", ...)]
print(model.dimensions)      # [Dimension(name="deal_id", ...), Dimension(name="dealname", ...), Dimension(name="dealstage", ...)]
print(model.relationships)   # [Relationship(name='...', ...)]
print(prompt)

README

Package narrative and examples

Use documentation after the package clears provenance, ownership, and runnable-path checks.

@pasar6987/hubspot-deals

HubSpot Deals — the revenue engine of the CRM pipeline, tracking every opportunity from initial creation through stage progression to closed-won or closed-lost outcomes, with monetary values including recurring revenue metrics (ARR, MRR, TCV, ACV), forecast categories, win/loss analysis, and activity velocity data that measures how quickly deals move through the pipeline.

Overview

Count
Datasets2
Dimensions36
Metrics17
Relationships1

Datasets

Deal

Deal pipeline and revenue data — deal names, stages, pipelines, monetary amounts, currency codes, close dates, owner assignments, deal types, priorities, probabilities, forecast categories, win/loss reasons, and recurring revenue metrics (TCV, ACV, ARR, MRR) that power the sales revenue engine.

  • Dimensions: 22
  • Metrics: 12

DealActivity

Deal activity and velocity tracking — creation dates, modification timestamps, outreach activity counts, stage entry dates, meeting bookings, owner assignment history, and pipeline progression data that measure deal momentum and sales process efficiency.

  • Dimensions: 14
  • Metrics: 5

Metrics

  • total_deals — The total count of deal records in the CRM.
  • new_deals_created — The number of new deal records created in a given time period.
  • total_deal_amount — The sum of the amount field across all deals in the pipeline.
  • weighted_deal_amount — The sum of deal amounts weighted by their stage probability.
  • average_deal_size — The average monetary value of deals in the pipeline.
  • deal_win_rate — The percentage of closed deals that were won versus total closed deals.
  • deals_closed_won — The count of deals that reached the closed won stage.
  • deals_closed_lost — The count of deals that reached the closed lost stage.
  • closed_won_revenue — The total revenue from deals that were closed and won.
  • total_contract_value — The sum of total contract values across all deals.
  • annual_recurring_revenue — The total annual recurring revenue across all active deals.
  • monthly_recurring_revenue — The total monthly recurring revenue across all active deals.
  • average_days_to_close — The average number of days from deal creation to close.
  • average_deal_stage_duration — The average number of days a deal spends in each stage.
  • stalled_deals_count — The number of deals that have not had activity beyond a defined threshold.
  • deal_velocity — The speed at which deals progress through the pipeline stages, measured in average days per stage.
  • pipeline_coverage_ratio — The ratio of total pipeline value to revenue target, indicating whether the pipeline is sufficient to meet goals.

Install

rawctx snapshot-download @pasar6987/hubspot-deals

Source

HubSpot CRM API Reference

Structure review

Inspect package structure after the usage path is clear

Use the structural review when you need the package footprint, field counts, and model paths before a deeper explorer pass.

Models1
Datasets2
Measures17
Dimensions36
Relationships1
AI context1
models/hubspot-deals.osi.yamlAI context included
2 datasets17 measures36 dimensions1 relationships

Topology

Semantic graph

Use the graph last, once provenance, documentation, and the runnable path are already clear.

Semantic Graph

Topology counts appear after the graph loads.

Loading graph

Semantic topology is still loading

Counts and graph nodes appear after the latest published summary has been fetched.