We have a requirement to implement a Product-based update mechanism in HubSpot.
The requirement is as follows:
When any property of a Product is updated, we need to identify the Deals associated with that Product through Line Items.
The Product-to-Deal association is managed through a custom application built for the Deal module, where the associated Products are displayed as Line Items within the Deal.
The associated Deals should be checked based on their current Deal Stage.
Only Deals that are in specific open/eligible stages should be considered for the update.
For the eligible Deals, only the Line Item corresponding to the updated Product should be updated with the latest Product information/configuration.
Other Line Items associated with the same Deal should remain unchanged.
For example, if Deal 1 has Product 1 and Product 2, and Product 2 is updated, then:
If Deal 1 is in an eligible/open stage → only the Line Item associated with Product 2 should be updated.
If Deal 1 is not in an eligible stage → no update should be performed.
Product 1’s Line Item should not be affected.
Could you please advise whether this functionality can be achieved using standard HubSpot workflows/automation, or if it would require a custom code action or API-based implementation?
We encourage combining similar feature requests so our Product Team can track them effectively. I suggest adding your upvotes and any extra feedback to the existing thread above!
Hi @Siddhesh_Shigwan , short answer: this needs an API piece. Standard workflows can’t do it for two reasons. There’s no product-based workflow type, so a product change can’t trigger anything. And workflows can add line items to a deal but can’t edit existing ones.
Since you already have a custom app, here’s the pattern I’d use:
Add product.propertyChange webhook subscriptions to the app, one per product property you care about (price, name, your config fields).
When an event arrives, search line items where hs_product_id equals the updated product’s ID. Line items are snapshot copies of the product, and hs_product_id is the link back. Make sure your app always sets it when it creates line items.
Batch-read the line item to deal associations, then batch-read those deals’ dealstage. Compare against internal stage IDs, not labels.
Batch-update only those line items on eligible deals. Product 1’s line item is never touched because you only update line items pointing to Product 2.
Decide up front which fields you’ll overwrite. You probably don’t want to wipe a rep’s negotiated discount or custom price.
Hi Siddhesh — for any price refresh, keep product IDs and eligible deal-stage IDs explicit, and protect negotiated prices and quoted deals. HubSpot’s current documentation also says API line-item changes do not update the deal amount automatically. Does your requirement include price changes, or only non-price product fields?
AI-assisted; checked against the linked HubSpot documentation.