CRM

johannes-m
Contributor

Update deal amount automatically

SOLVE

Hi there,

Upon line item creation(plus associate with Deal), update, delete I want to automatically update the deal amount as well.

 

I can see this functionality in the UI as shown below. Is it possible through API call?

image.png

Notes: Looking for a solution except updating the deal amount which was calculated from outside Hubspot via deal PATCH request.

 

Thank you!

0 Upvotes
1 Accepted solution
Chriso-mwx
Solution
Key Advisor | Platinum Partner
Key Advisor | Platinum Partner

Update deal amount automatically

SOLVE

Hey @johannes-m

 

the amount that gets updated is dependent on what you chose in the settings. But all the different types like TCV, MRR etc. get calculated automatically and saved in the respective default Deal properties.

 

You can simply copy the amount type (e.g. total contract value) to your amount property. You can do that over the API or just a workflow even. 

 

Cheers, 

Chriso

 

View solution in original post

2 Replies 2
Chriso-mwx
Solution
Key Advisor | Platinum Partner
Key Advisor | Platinum Partner

Update deal amount automatically

SOLVE

Hey @johannes-m

 

the amount that gets updated is dependent on what you chose in the settings. But all the different types like TCV, MRR etc. get calculated automatically and saved in the respective default Deal properties.

 

You can simply copy the amount type (e.g. total contract value) to your amount property. You can do that over the API or just a workflow even. 

 

Cheers, 

Chriso

 

johannes-m
Contributor

Update deal amount automatically

SOLVE

@Chriso-mwx Thank you for your reply.

 

Can you please guild me on how to get 'Deal amount calculation preference' from the settings? I guess it's a global setting for the entire account.

 

I noticed that there is a deal field called 'hs_deal_amount_calculation_preference'. But always gets null for that property in the get deal by id API call regardless of the setting.

 

Thank you!

0 Upvotes