Hi all - I’ve successfully imported the Deals and the Line Items which are associated but the DEAL AMOUNT does not update. One HubSpot knowledge article says it should as long as the Deal and the Line Item are associated (which they are).
But another article says that Deal Amounts aren’t updated and you manually have to go into the Line Items, make a change and then select ‘update Deal amount’. We’re importing 100s of closed / won deals from another system so manually updating the Line Items isn’t an option.
Any ideas?
Moderator note: I have moved your post for visibility. For reference, here is the thread where you posted: “Importing line items”.
Hi @NKieran6, I hope that you are well!
Thanks for asking the HubSpot Community!
I’d like to share these resources that might help:
- Use line items with deals
- Format import files
- [Set defaults for creating deals](https://Set defaults for creating deals)
Also, I’d love to put you in touch with our Top Experts: Hi @karstenkoehler, @Josh and @trevordjones do you have suggestions to help @NKieran6, please?
Thanks so much and have a lovely day!
Bérangère
Hi @NKieran6 and thanks for the tag @BérangèreL ,
Have you tried using a workflow to add a $0 line item to the deal? This ability is currently in Beta, but If you were to create a product “Imported Deal” with a quantity of “1” and a price of “0,” it should drive the calculation for you. I would test to confirm by running a single deal through the workflow, and if it works as expected you can enroll all of your imported deals.
Hope this helps!
Thanks - unfortunatey manually associating the Line Items to the Deal isn’t possible as there are 100s and all different. The Luine Item has been associated to the Deal via the import but the Deal Amount isn’t updated so I’m interestede in work arounds. Currently thinking that I’ll need to include the Deal Amount in the Deal import, then import the Line Items with the detail.
Hi @NKieran6 , Yes, I think your approach makes the most sense here.
For a migration with hundreds of deals, importing the Deal Amount with the deal record sounds like the cleanest and most practical option. Another possible workaround could be to use TCV (total contract value) as a reference and copy that into Amount.
Interesting
So you’re thinking by adding the £0 Line Item, but leaving in the actual line items with £sss, the workflow would correctly update the Deal Amount?
I think so, yes. In my experience, edits completed by workflows trigger actions in the same way as manual edits, but changes made by imports do not.
Thanks - in theory the change triggered by the workflow would update the Deal amount. I’ll try and sign-up to the beta.
Hi @NKieran6
We at Sanka can handle this as a controlled reconciliation. We read the line items associated with each deal, calculate the expected total, compare it with the current Deal Amount, and update only the reviewed matches using HubSpot API.
I wouldn’t use a £0 line item as the bulk trigger (clever workaround, slightly terrifying accounting control).
For closed-won history, first decide whether the original Deal Amount or the reconstructed line-item total is authoritative. I’d pilot discounts, multiple currencies, tax, zero-value items, and historical adjustments, then put any variance into an exception queue instead of silently overwriting it.
I work on Sanka, so I’m obviously biased and it’s direct recommendation but let me know if there’s anything we can help 