Skip to content
Solutions Blueprint

Converting In-Store Retail Patients to Long-Term Medical Device Subscriptions in HubSpot

Hero featured image

Retail clinics struggled with manual multi-year subscription calculations.

We built a custom JavaScript POS widget inside the HubSpot patient record. It calculates, validates, and generates compliant medical device subscription contracts during the clinical consultation.

Executive Summary

context-header-icon

Context

A multi-billion dollar medical device manufacturer sells direct-to-consumer through physical retail, providing localized clinical service and device distribution. It needed to scale in-store subscription adoption.

what-we-built-header-icon

What We Built

An embedded JavaScript widget within HubSpot's contact sidebar that enables clinical coaches to dynamically calculate, validate, and programmatically generate complex medical device subscription contracts.

tech-stack-header-icon

Tech Stack

  • HubSpot CRM (Sales & Service Hub)
  • custom JavaScript/Widget
  • contract generation API

Not a fit if in-store staff cannot reliably operate a CRM sidebar tool during a live patient consultation, since the widget replaces spreadsheet calculators with a guided interface clinicians must still run themselves. It also depends on a configured HubSpot product library for the widget to pull from; without that product data in place, the calculation has nothing to validate against.

the-challenge-header-icon

The Challenge

Quoting a multi-year subscription by hand slowed down the clinician and the patient in front of them. Staff had to switch between multiple internal tools or use spreadsheet calculators to present the dynamic financial options. They would input a starting device, a desired weekly payment, and a total contract duration, then manually copy the result into a generic contract template. This process was time-consuming, prone to human error, and prevented any centralized visibility for the corporate marketing team on which marketing channels were converting to high-value subscription contracts in physical retail.

our-approach-header-icon

Our Approach

A native but simplified product bundle setup couldn't handle the custom calculation logic this required, so we built a custom application in the contact sidebar instead. That cut down the complexity clinicians faced when presenting these dynamic financial options. The resulting custom JavaScript application enforced compliance at the point of conversion: it validated inputs and generated the complex calculations itself, so clinicians couldn't offer off-book deal terms or incorrect financial modelling before the contract was ever generated.

This engagement is part of our customization + optimization work for consumer services & retail organisations.

impact-header-icon

Impact

check-icon

In-Store Conversion

The widget lets clinical coaches present standardized, error-free financial options and convert patients to multi-year contracts directly during the consultation.

check-icon

Contract Generation

The widget generates legal subscription contracts programmatically via API, triggered instantly on submission, which removes manual document creation.

check-icon

Centralized Visibility

The system gives corporate marketing teams near-real-time visibility into in-store conversion rates, linking marketing attribution data to finalized subscription revenue.

check-icon

Simplified Compliance

The automated calculation rules built into the widget codebase reduce the risk of financial non-compliance, since staff cannot input non-standard deal terms.

Technical Blueprint
1
The solution used HubSpot's CRM Extension functionality to embed a custom JavaScript application as an iframe in the contact sidebar. This approach allowed the widget to contextually pull patient data and interact directly with the HubSpot Product library without requiring staff to leave the primary CRM view.
2

The widget's backend codebase processed dynamic inputs. A staff member selected a variable, for example 'Weekly Payment', and the widget solved for the other required variable, 'Total Contract Value' or 'Duration', using complex amortization logic. That kept the math consistent before submission.

3

After validation, the widget triggered a server-side API call to an external document generation engine rather than just updating properties. The payload carried all calculated variables and automatically populated the correct legal template for immediate patient signature.

4

When the widget triggered contract generation, it also updated custom "Calculation Properties" on the patient's Deal record in HubSpot. That finalized the revenue amount automatically and kept the original performance marketing attribution data linked to the multi-year contract value.

A custom JavaScript widget in the HubSpot contact sidebar validating contract terms and generating the contract by API.

Clinicians used to quote multi-year subscriptions with spreadsheet calculators and copy the result into a generic contract template. That was slow and prone to error. Now the widget in the HubSpot contact sidebar takes the starting device, weekly payment and contract duration. It validates them and runs the calculation itself, so a clinician can't offer off-book terms. It then generates the contract through an API on submission.

FAQ

Why use a custom widget rather than HubSpot’s standard quotes and product libraries?
Standard product libraries cannot execute custom client-side calculations based on multiple dynamic inputs in real-time. Native HubSpot quote functionality would still require the clinician to manually select and configure products in a linear fashion, introducing the risk of manual error and increasing the duration of the in-store consultation.
How does the widget prevent data discrepancy between the contract and the CRM record?

The widget uses standard HubSpot property settings to lock the input variables, for example the upfront fee, weekly payment amount, and duration, before submission. The same data payload that generates the API call for the contract also updates the CRM properties, so the legal document and the reported Deal data match exactly.

Continue reading

Hero featured image
209049082795

$500M+ telecom provider: 60+ tools into one event-driven CRM

Hero featured image
209049052783

$500M+ telecom provider: one CPQ for MSP and ISP catalogs

Hero featured image
209049052787

$50M+ telehealth provider: HIPAA-compliant clinical ERP sync

Hero featured image
209049052783

$500M+ print services firm: $15M+ SDR revenue attributed

Hero featured image
209049052787

Behavioral health partnership: HIPAA-compliant architecture

Hero featured image
209049052787

Clinical IT provider: custom data room saves $120k a year

Hero featured image
209049052787

Medical device maker: automated clinical triage in HubSpot

Hero featured image
209049052785

Tier 1 auto F&I provider: 140x more CTA interactions

Hero featured image
209053177394

Industrial IoT division: compliant list purge, leads 3 to 62

Hero featured image
209049082795

$500M+ telecom provider: fragile iPaaS moved into Ops Hub

Hero featured image
209049082794

Wellness training provider: 900,000+ records moved to HubSpot

Hero featured image
209049082794

Legal study-aid platform: MQL tiering across 680k+ contacts

Hero featured image
209049052785

Mexican fintech lender: support channels unified in Intercom

Hero featured image
209049052786

Global streaming platform: ETL middleware feeds Customer.io

Hero featured image
209049052786

Global streaming platform: usage milestones trigger upsell

Hero featured image
209053190299

$100M+ real estate tech firm: automated KYC gates and SSO

Hero featured image
209049052783

Executive search firm: Bullhorn to HubSpot resume sync

Hero featured image
209049052785

Mexican fintech lender: compliance circuit breaker on NiFi

Hero featured image
209049052786

Cloud and edge provider: Intercom to Salesforce via MuleSoft

Hero featured image
209049082792

Mining autonomy provider: beachhead strategy for adoption

Hero featured image
209049052786

Logistics SaaS portfolio: Salesforce sync rebuilt on Tray.io

Structured seal badge marking a media industry migration solution blueprint from Salted Stone.
209049082795

Media tech company: audit-first Pardot exit, 190k+ records

Hero featured image
209049052783

Offshore BPO provider: RevOps retainer rebuilds lifecycle and routing

Hero featured image
209049082793

Luxury marine manufacturer: CRM governance, 16.9% MQL-to-SQL

Hero featured image
209049052787

$50M+ telehealth provider: attribution recovered via API fix

Hero featured image
209053190299

$100M+ real estate tech firm: Salesforce sunset before a PE deadline

Hero featured image
209049052785

$1B+ financial data provider: Pardot and Eloqua into HubSpot

Hero featured image
209049052786

B2B SaaS growth platform: AWS middleware for Sales Hub Pro

Hero featured image
209053177394

Global abrasives producer: 40+ sites from Kentico to HubSpot

Hero featured image
209049082792

Global abrasives producer: legacy CRM data standardized

Hero featured image
209053157499

Medical device maker: in-store subscriptions via POS widget

Hero featured image
209049052786

Cybersecurity trainer: CMS migration, 367 redirects fixed

Hero featured image
209049052786

Cybersecurity trainer: 595 workflows audited for debt

Hero featured image
209049082794

Legal study-aid platform: 680k+-contact HubSpot remediation

Hero featured image
209049052785

Mexican retail bank: Infobip to Intercom via Apache NiFi

Hero featured image
209049052785

Australian life insurer: stale leads revived via scoring

Hero featured image
209049082795

Global streaming platform: localized emails via modular HTML

Hero featured image
209049052787

Portable oxygen device maker: HIPAA lead capture, $55.65 CPA

Hero featured image
209049052787

Portable oxygen device maker: WordPress to HubSpot, 6 weeks

Hero featured image
209049052787

Portable oxygen device maker: ad clicks and calls attributed

Hero featured image
209049052785

$50M+ FinTech SaaS provider: advisor onboarding 30% faster

Hero featured image
209049052787

Merged RPM and CCM provider: one site roadmap, 14-day MVP

Hero featured image
209049082792

Mining autonomy provider: site moved to HubSpot, SEO intact

Hero featured image
209049082792

Mining autonomy provider: global consent and data governance

Hero featured image
209049127269

4PL logistics provider: 450+ locations on HubSpot CMS via HubDB

Structured seal badge marking a manufacturing and migration solution blueprint from Salted Stone.
209053177394

$200M+ building products maker: two HubSpot portals merged

Structured seal badge marking a manufacturing and systems integration solution blueprint from Salted Stone.
209053177394

$200M+ building products maker: Oracle PIM synced into HubDB

Hero featured image
209053177394

Construction chemicals maker: global HubSpot CMS migration

Hero featured image
209049052783

Offshore BPO provider: 9,400 dormant leads reactivated in HubSpot

Hero featured image
209049082794

Health sciences university: SIS-to-HubSpot sync built on AWS Lambda

Hero featured image
209049052786

Global enterprise SaaS company: GDPR consent rebuilt by country tier

Hero featured image
209049052787

Not-for-profit aged care provider: AlayaCare sync keeps health data out

Hero featured image
209049052787

Multi-brand aged care charity: Salesforce leads relayed into HubSpot

Hero featured image
209049052786

Enterprise HCM and payroll SaaS: Account Team roles mapped to owners

Hero featured image
209049052786

Bot mitigation security vendor: audit of 224 workflows resets the roadmap

Hero featured image
209049052786

Global print software vendor: GDPR unsubscribe and erasure in one workflow

Hero featured image
209049052783

B2B events operator: winner-rule dedupe for a Salesforce migration

Hero featured image
209049052783

B2B events operator: Gong flag gates 20 marketing automations

Hero featured image
209049052783

Multi-division advisory group: companies matched to a register by ACN

Hero featured image
209049082794

University advancement office: Blackbaud sync to a custom Person object

Hero featured image
209049052785

Australian corporate advisory firm: compliance-gated deal pipeline

Hero featured image
209049052783

Multi-brand BPO group: one brand split into its own HubSpot portal

Hero featured image
209049052783

Offshore BPO provider: nine calculator fields merged by a Breeze agent

Hero featured image
209049052783

B2B events operator: custom Salesforce sync replaces the native connector

Hero featured image
209049052786

Enterprise HCM and payroll SaaS: 3M+ sync error records audited

Hero featured image
209049052787

$50M+ telehealth provider: patient journey remapped in CRM

Hero featured image
209049052786

Environmental IoT provider: partner directory routes leads

Hero featured image
209049052786

Environmental IoT provider: Zendesk KB inside HubSpot CMS

Hero featured image
209053190299

$100M+ real estate tech firm: DealHub CPQ across 250+ reps

Hero featured image
209053190299

$100M+ real estate tech firm: CSM moved to HubSpot Tickets

Hero featured image
209049052785

$1B+ financial data provider: multi-continent lead routing

Hero featured image
209049052785

$1B+ financial data provider: campaign launches in 48 hours

Hero featured image
209049082792

Global abrasives producer: premium abrasive vs slag ROI calculator

Hero featured image
209049082792

Global abrasives producer: 13 dashboards consolidated to one

Hero featured image
209049052783

Executive search firm: recruitment RevOps engine on HubSpot

Hero featured image
209049052787

Multi-site dental group: Core Practice PMS synced to HubSpot

Hero featured image
209049082794

K-12 Catholic diocese: 80 schools on one HubDB lead system

Hero featured image
209049052787

Cell therapy biotech: HubSpot CMS migration, 92 speed score

Hero featured image
209049052787

Cell therapy biotech: HIPAA data governance and partitioning

Hero featured image
209049052786

Cybersecurity trainer: design system, 40% faster launches

Hero featured image
209049052785

Tier 1 auto F&I provider: hierarchical enterprise pipelines

Hero featured image
209049052785

Australian life insurer: paid retargeting lifts leads 15-20%

Hero featured image
209049052783

$500M+ print services firm: regional lead routing rebuilt

Hero featured image
209049052786

Technology provider: Canvas Kit app for level of effort

Hero featured image
209049052785

$50M+ FinTech SaaS provider: Salesforce MRR reporting fixed

Hero featured image
209049052785

$50M+ FinTech SaaS provider: Pardot audit ends MQL inflation

Hero featured image
209049052785

$50M+ FinTech SaaS provider: tiered gifts for 1,000+ dormant leads

Hero featured image
209049052785

$50M+ FinTech SaaS provider: MQL triage gates cut CRM noise

Hero featured image
209049052785

$50M+ FinTech SaaS provider: OSJ hierarchy for advisor data

Hero featured image
209049052785

Healthcare lending provider: 100-point lead scoring model

Hero featured image
209049052785

Healthcare lending provider: product usage synced to CRM

Hero featured image
209049082792

Mining autonomy provider: 1.13s page loads on HubSpot CMS

Hero featured image
209053177394

Industrial IoT division: 25,000 records merged, one portal

A modular digital architectural diagram showing the flow between a luxury yacht website and a HubSpot CRM qualification engine.
209053177394

Luxury yacht manufacturer: intent-based gating

Structured seal badge marking a manufacturing and customization solution blueprint from Salted Stone.
209053177394

$200M+ building products maker: style quiz to SKU via HubDB

Hero featured image
209049127270

UK scientific services org: HubSpot-NetSuite proposal gate

Hero featured image
209049052786

Global enterprise SaaS company: hour-scale suppression via HubDB

Hero featured image
209049082794

National childcare provider: Family Support tickets routed in Service Hub

Hero featured image
209049052786

Global enterprise SaaS company: 3M+ Salesforce campaign members synced

Hero featured image
209049052787

Australian online pharmacy: three Knowledge Bases from one FAQ source

Hero featured image
209049082794

National childcare provider: tour bookings advance Sales Hub deal stages

Hero featured image
209049052787

Australian online pharmacy: Service Hub audited for medical data

Hero featured image
209049052786

Global enterprise SaaS company: Marketo MQL flow split into workflows

Hero featured image
209049052783

Multi-brand BPO group: one Contact Us form split into routed intake

Hero featured image
209049052787

Australian meal-delivery charity: police checks automated in Operations Hub

Hero featured image
209049052783

B2B events operator: relaxed DMARC alignment for a sending subdomain

Hero featured image
209053177394

Monitoring equipment maker: HubDB product catalogue replaces legacy CMS

Hero featured image
209049052783

Offshore BPO provider: shared two-brand portal graded 70 out of 100

Hero featured image
209049052786

Australian automotive software vendor: Leads object gates trial deals

Hero featured image
209049052785

Australian corporate advisory firm: Section 708 investor status expiry

Hero featured image
209049052785

Australian corporate advisory firm: PandaDoc clauses driven by deal fields

Hero featured image
209049052786

Enterprise HCM and payroll SaaS: dozens of Pardot forms cut to two

Hero featured image
209049052783

Offshore BPO provider: deal escalation lifts deals won 15% a month

Hero featured image
209049052787

National aged care provider: shared-email contacts via association labels

Hero featured image
209053177394

Monitoring equipment maker: second brand site on one shared portal

Hero featured image
209049052785

Australian corporate advisory firm: ASIC information wall in HubSpot

Hero featured image
209053177394

School furniture supplier: self-service quote and order portal

Hero featured image
209049052783

Australian healthcare recruiter: Keap to HubSpot with a company workaround

Hero featured image
209049052783

Offshore BPO provider: lead scoring with hard negative gates

Hero featured image
209053157499

Government ferry operator: 21 email journeys moved off Marketing Cloud

Hero featured image
209049082795

Aged care media group: lifecycle nurture for five brands on one portal

Hero featured image
209049052786

Bot mitigation security vendor: deal completeness scored on 35 fields

Hero featured image
209049052786

Australian automotive software vendor: 80+ workflows audited for misrouting

Hero featured image
209049052787

National aged care provider: lead routing rebuilt on an unused portal

Hero featured image
209049052783

National trade union: nine-stage lifecycle model automated in HubSpot

Hero featured image
209053177394

Monitoring equipment maker: Salesforce tasks wait on a confirmed sync

Hero featured image
209053177394

Kitchen appliance manufacturer: two-way warranty claim sync in Service Hub

Hero featured image
209053177394

Monitoring equipment maker: Marketo shutdown gated on five conditions

Hero featured image
209049052783

Offshore BPO provider: verification gate before MQL, 98% location data

Hero featured image
209049052785

Health insurance web broker: NPN hierarchies in HubSpot

Hero featured image
209049052787

Clinical IT provider: 27,000+ hospital records gated before sync

Hero featured image
209049052783

Executive search firm: job alerts for 14,000+ candidates

Hero featured image
209049052783

Executive search firm: job board on HubSpot custom objects

Hero featured image
209053190299

National property developer: scalable launch microsites

Hero featured image
209049052787

Medical device maker: five regional domains into one CMS

Hero featured image
209049052787

Medical device maker: HubSpot + BigCommerce replace Hybris

Hero featured image
209053177394

Industrial ventilation maker: 79% lead leak fixed in HubSpot

Hero featured image
209053177394

Industrial ventilation maker: expo lead capture 40% faster

Hero featured image
209049052787

Multi-site dental group: lifecycle logic rebuilt, true ROI

Hero featured image
209049052787

Multi-site dental group: assessment tool for lead quality

Hero featured image
209049052785

Tier 1 auto F&I provider: lead scoring and attribution logic

Hero featured image
209049052785

Tier 1 auto F&I provider: referral ledger on custom objects

Hero featured image
209049052785

Australian life insurer: persona content for re-engagement

Hero featured image
209049052783

$500M+ print services firm: 7,000 pages pruned for SEO

Hero featured image
209049052785

$50M+ FinTech SaaS provider: ABM cadences for C-suite buyers

Hero featured image
209049052785

$50M+ FinTech SaaS provider: conquesting rival search terms

Hero featured image
209049052786

Logistics SaaS portfolio: brands consolidated into HubSpot

Hero featured image
209053177394

Lighting controls maker: Salesforce routing fixed via forms

Hero featured image
209053177394

Lighting controls maker: 170+ showroom pages run on HubDB

Structured seal badge marking an agriculture and systems integration solution blueprint from Salted Stone.
209049127270

Crop-protection manufacturer: HubSpot into global Salesforce

Structured seal badge marking a manufacturing and growth program solution blueprint from Salted Stone.
209053177394

$200M+ building products maker: launching an extra-large format

Hero featured image
209049127270

UK scientific services org: HubSpot CRM implementation

Hero featured image
209053159084

B2B events operator: dedicated IP warmed up in weekly doubling steps

Hero featured image
209049052783

Commercial interior design firm: SEO audits lift a keyword from 41 to 4

Hero featured image
209049052787

Australian dental group: Google and Meta rebuilt by service line

Hero featured image
209049052787

Australian dental group: quiz funnel rebuilt to clear Meta ad policy

Hero featured image
209049052786

Executive education provider: double opt-in with five audience tags

Hero featured image
209049082794

Independent girls' school: admissions-guide leads under $57 each

Hero featured image
209053157499

Government ferry operator: 92,000+ Salesforce records moved to HubSpot

Hero featured image
209049052783

Australian RPO firm: 4,000+ mis-staged contacts reset to Subscriber

Hero featured image
209049052786

Executive education provider: registrations gated on a seniority check

Hero featured image
209049052786

Australian expense SaaS platform: lead scoring and ANZSIC industry codes

Hero featured image
209049052786

Australian geospatial software provider: scoring rebuild, MQLs up 150%

Hero featured image
209049052786

Enterprise HCM and payroll SaaS: 43,000 tickets fixed with one setting

Hero featured image
209049052787

Molecular diagnostics lab: banded Deal Score and company-level scoring

Hero featured image
209049052787

Not-for-profit aged care provider: leads routed by age and postcode

Hero featured image
209053157499

Sustainable paper subscription retailer: HubSpot and Klaviyo audit

Hero featured image
209049052787

Veterinary services provider: custom Person object for shared inboxes

Hero featured image
209049052783

Multi-brand BPO group: two conflicting lifecycle stages made one

Hero featured image
209049052787

Not-for-profit aged care provider: legacy leads imported with history

Hero featured image
209049052786

Global print software vendor: region workflow enrolment gap diagnosed

Hero featured image
209049052787

Australian workplace health provider: 11 pipelines consolidated to five

Hero featured image
209049052783

FMCG research consultancy: benchmarked readiness score synced to HubSpot

Hero featured image
209049052787

Multi-brand aged care charity: Joomla to HubSpot with a donation shop

Hero featured image
209049052783

Multi-brand BPO group: 430+ page site rebuilt as 17 pages

Hero featured image
209049052783

FMCG research consultancy: four-property SQL gate that opens deals

Hero featured image
209053157499

Pest control provider: lapsed customers re-engaged in Microsoft Dynamics

Hero featured image
209049052786

Enterprise HCM and payroll SaaS: 73 lifecycle-writing workflows audited

Hero featured image
209049052786

Contractor software company: Display spend moved to Search without a pixel

Hero featured image
209049052787

Clinical IT provider: Outreach + HubSpot for hospital sales

Hero featured image
209053190299

National property developer: HubSpot to Dynamics lead triage

Hero featured image
209049052785

Australian life insurer: Salesforce lists mapped to HubSpot

Hero featured image
209053177394

Lighting controls maker: compliant paid media, +47% YoY

Structured seal badge marking a marketing and advertising and onboarding and implementation solution blueprint from Salted Stone.
209053159084

Experiential marketing agency: MVP HubSpot + NetSuite build

Structured seal badge marking a luxury goods and onboarding and implementation solution blueprint from Salted Stone.
209049082793

Boutique winery portfolio: five databases into one HubSpot

Structured seal badge marking a marketing and advertising and onboarding and implementation solution blueprint from Salted Stone.
209053159084

No-code app platform: CRM selection and HubSpot onboarding

Hero featured image
209049052783

Commercial interior design firm: Lead Source governed for synced contacts

Hero featured image
209049127270

Australian frozen-dough maker: inbound funnel built on its WordPress site

Hero featured image
209049082794

National childcare provider: Campus and Children objects plus CRM dedupe

Hero featured image
209049052783

FMCG research consultancy: HubLMS course completion creates MQLs

Hero featured image
209049052787

Nonprofit lab incubator: WordPress to HubSpot CMS with 30+ modules

Hero featured image
209049052786

Gamified training software firm: first- and last-touch attribution model

Hero featured image
209049052786

Workforce management SaaS: MAU-tiered customer success in Service Hub

Hero featured image
209049052787

Family-owned aged care provider: deal pipeline built around the family

Hero featured image
209049052786

Gamified training software firm: Copper to HubSpot with a sign-off gate

Hero featured image
209049052785

Financial messaging provider: persona routing and Slack stall alerts

Hero featured image
209049052786

Global print software vendor: lead score attributed to pages and forms

Hero featured image
209049052787

Direct-to-consumer telehealth provider: four lifecycle nurture tracks

Hero featured image
209049052786

Workforce management SaaS: parent-child company model in HubSpot

Hero featured image
209049052783

Australian valuation firm: 9,000 ACT! contacts migrated to HubSpot

Hero featured image
209049052785

Life-settlement brokerage: underwriting tool split by audience

Hero featured image
209049052783

Executive search firm: Volcanic to HubSpot, rankings kept

Hero featured image
209049052787

Cell therapy biotech: 40-hour enablement and lead routing

Hero featured image
209049052783

$500M+ print services firm: AI outbound agent architecture

Hero featured image
209049082794

Health sciences university: Talisma admissions history moved to HubSpot

Hero featured image
209049052783

Multi-division advisory group: company dedupe on XPM client export codes

Hero featured image
209049052787

Fitness and tennis club: three systems consolidated into HubSpot

Hero featured image
209049052783

Software solutions partner: gated-content funnels with MQL scoring

Hero featured image
209049052785

Australian payments platform: CMS migration behind a redirect launch gate

Hero featured image
209049052785

Australian financial advisory practice: consultations gated by review

Hero featured image
209049052787

Australian meal-delivery charity: HubDB calculator prices by funding type

footerCTA footerCTA-mobile
Spice up your inbox
Sign up for our newsletter
Don't worry - we only average, like, two emojis per subject line.