# line items - use in workflows

**URL:** <https://community.hubspot.com/t/line-items-use-in-workflows/35313>\
**Category:** CRM\
**Tags:** crm, workflows, object, how-to, sales\
**Created:** [April 12, 2021, 7:42am UTC](https://community.hubspot.com/t/line-items-use-in-workflows/35313 "2021-04-12T07:42:41Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![greenloger](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/greenloger/32/58119_2.png) [@greenloger](https://community.hubspot.com/u/greenloger)\
**Post date:** [April 12, 2021, 8:08am UTC](https://community.hubspot.com/t/line-items-use-in-workflows/35313/3 "2021-04-12T08:08:31Z")

</div>

in line items I have created an item that has a unit price and quantity. Hubspot will only calculate their total amount. We do business in the energy sector, the margin is important to us and not the total amount. I created an individual calculation that calculates my margin and the total volume of electricity supplied. Now I have to enter the data manually. If I could, for example, copy the quantity from line items via workflow to another properties, I can use this data in the calculation and calculate the margin automatically.

---

_[View the full topic](https://community.hubspot.com/t/line-items-use-in-workflows/35313)._
