INTEGRATIONS · HUBSPOT + YOUR ERP
From a won HubSpot deal
to an order the shop can build.
Asterion helps manufacturers that sell in HubSpot and build from an ERP decide which system owns each fact. Then we connect the handoff, so a won deal becomes a checked sales order instead of a second round of typing.
THE SHORT ANSWER
Move the order one way, once, after a person checks it.
HubSpot owns the deal: contact, stage and accepted price. The ERP owns what the shop builds from: customer account, part number, revision, routing, units and promise date. The connection that holds up is one-way at the win, with a review step, then reads status back.
HubSpot documents APIs for deals, line items, products and quotes; JobBOSS² and Business Central publish order APIs. The work is the field map and the rules for when to stop.
THE FIELD MAP
From HubSpot deal and line items to an ERP order.
ERP fields are examples from the JobBOSS² and Business Central APIs.
| HubSpot | JobBOSS² order | Business Central sales order | Rule |
|---|---|---|---|
| Company (associated to the deal) | customerCode | customer number | Match on a stored ERP customer ID, never the name |
| Customer PO (custom deal property) | PONumber | externalDocumentNumber | Required before the order is created |
| Line item SKU (hs_sku) | partNumber | item number | Must already exist in the ERP; no part is created automatically |
| Revision (custom line item property) | revision | variant code or item, per your rule | No native HubSpot revision field; one written rule decides |
| Line item quantity | quantityOrdered | quantity | Carry the unit as well; reject a line without one |
| Line item price | unitPrice | unitPrice | The approved price for that quantity; breaks stay in the ERP |
| Requested date (custom property) | dueDate, or releases | shipment date | A request, not a promise; the planner sets the promise date |
| ERP quote number (custom property) | quoteNumber | the sales quote it came from | Ties the order to the estimate that priced it |
WHO OWNS EACH FACT
One master per field.
Two editors of one field is where data gets lost.
| Fact | Master | The other system | Direction |
|---|---|---|---|
| Contact, company, deal stage | HubSpot | Not stored, or a reference ID only | HubSpot only |
| Customer account, terms, ship-to | ERP | Shows a read-only ERP ID | ERP to HubSpot |
| Part number, revision, routing, BOM | ERP | SKU on the product, for reference | ERP to HubSpot product list |
| Accepted price and quantity | HubSpot, until the order exists | Becomes the order line | HubSpot to ERP, once |
| Promise date, shipped quantity, invoice | ERP | Shown on the deal for sales | ERP to HubSpot, scheduled |
WHEN IT MOVES
Three moments, not a constant two-way sync.
HubSpot documents webhook subscriptions for deal and line item changes. A scheduled reconcile still runs, so a missed event never means a missed order.
Nightly: products from the ERP
Part numbers and active status refresh into HubSpot’s product library, so sales picks only parts the shop knows.
On “closed won”: a draft order
The deal’s line items become a draft order for review, not a released order.
Scheduled: status back to the deal
Promise date, shipped quantity and invoice status appear on the deal, read-only.
ILLUSTRATIVE SCENARIO · NOT A CLIENT
A won deal with three lines and a split delivery.
A deal closes for three machined parts. One is a new revision, and the largest line ships half now, half next month.
This is a made-up example to show the mechanics. It is not a client, a result or a measured time.
The draft order is built
Customer ID, PO number and three lines come from the deal; each SKU is looked up in the ERP.
One line stops
The new revision is not in the ERP yet, so that line is held with a plain reason.
A person resolves it
Engineering adds the revision; the order clerk confirms the price for that quantity.
The order is created once
With two delivery releases on the large line. The ERP handles the partial shipments from there.
Sales sees status, not a copy
The deal shows promise date and shipped quantity per line, with no forwarded emails.
WHAT BREAKS AND THE GUARD
Where quote-to-order connections go wrong.
Common patterns, not a finding about your setup.
Free-text line items
Sales types a description instead of picking a product. Guard: only ERP-synced products can be ordered.
Duplicate customers
A new HubSpot company creates a second ERP customer. Guard: new accounts are a person’s decision.
Price breaks
HubSpot shows one price; the ERP prices by break. Guard: the ERP quote is the price source; a mismatch holds the line.
Edited after win
A line item changes after the order exists. Guard: later changes happen in the ERP; the deal shows them read-only.
Multi-level parts
An assembly is sold, not its subassemblies. Guard: order the top-level part; the ERP explodes the BOM.
Missed events
A webhook is dropped and the order is never drafted. Guard: a scheduled check lists won deals without an order.
NATIVE → API → SCHEDULED EXPORT → A PERSON
Use the first route that holds up.
Each rung names its test. Product names describe systems a business may already run. They are not partner, certification, endorsement or access claims, and the vendor decides what its own plan and permissions allow.
Check the HubSpot App Marketplace and your ERP vendor. Test: it handles your revision and release rules.
Both publish order and product APIs on your plans. Test: a draft order in a test company reads back exactly.
No write API on your plan. Test: the file carries customer ID, part and revision; a person imports it.
Low volume or unusual orders: a clerk types from the linked deal, puts the ERP order number on it, and stops. Test: a short checklist keeps up.
WHEN YOU DON’T NEED CUSTOM WORK
You probably don’t need a build if…
We would say so in the review.
Quotes are built in the ERP anyway
Then the order starts there too; HubSpot needs only the quote number and status.
The real gap is sales visibility
Then a read-only status field on the deal may be all you need.
WHAT STAYS IN YOUR ACCOUNTS
Your HubSpot portal, your ERP, your runbook.
The connection uses a HubSpot private app and an ERP integration account you create and can revoke, each scoped to the objects it touches. Orders, parts and customers stay in the ERP; deals stay in HubSpot.
The runbook holds the field map, master per field, schedule, stop rules and the off switch. If it stops, the clerk enters orders from the deal as today.
QUESTIONS
Answers before you book.
Can HubSpot quotes replace ERP quotes?
For catalog parts, sometimes. For engineered parts priced from routings and breaks, the ERP or estimating tool stays the price source.
LET’S LOOK AT THE REAL WORK
What is your team
working around?
Bring the messy process, something new you want built, or the question of where AI fits. We will work through whether there is a sensible way to improve it.
Free, 30 minutes, no commitment.
Start with the problem, not the technology.