Works

HubSpot + JavaScript Development

Two HubSpot custom-code builds, a business-days "Hours to Quote" calculation and an editable "Time in Stage" property that automation can't overwrite.

Role
HubSpot development
Client
Independent client
Year
2026
Tools
HubSpot, Operations Hub, JavaScript, Custom code actions

Two focused HubSpot development projects, both solved with Operations Hub custom code actions where the standard property logic fell short.

Where HubSpot's built-in properties couldn't do the job, a small amount of JavaScript made the numbers accurate and put the team back in control of them.

Business-days "Hours to Quote"

The "Hours to Quote" deal property measured turnaround by subtracting RFQ Received Time from Quote Sent Time across every day, weekends included, so the number overstated how long quoting actually took.

I built a deal workflow with a JavaScript custom code action that calculates business days, Monday to Friday, between the two date properties and writes the result back to the property, excluding weekends. It runs automatically whenever the dates are updated, with no external dependencies.

Editable "Time in Stage"

HubSpot's built-in "Time in Deal Stage" property tracks automatically but can't be edited, so there was no way to correct or override the value when it was wrong.

I built a custom "Time in Stage (Editable)" deal property backed by helper properties, a stage-entry timestamp and a manual-override flag, plus the workflow logic around them. It tracks time in stage automatically, lets a user override the value by hand, and stops the automation from overwriting a manual edit, with an option to reset back to auto mode.

Both were delivered as clean, documented builds inside the client's own HubSpot portal, with testing to confirm the logic holds and manual overrides are never overwritten.

Next project

HubSpot Reporting