Add, Update and Delete Line Items in HubSpot Workflows
Need to change the products on a deal every time it moves to a new stage? Tired of opening each deal to fix a price, swap a product or remove a line that no longer belongs there?
If you manage deals in HubSpot, line items are often the last manual job in an otherwise automated pipeline. Someone on the team adds the products by hand, edits the quantity, applies the discount, and hopes nothing was missed before the quote goes out.
This guide shows you how to add, update and delete line items on deals from HubSpot workflows using LineNer by 4CRMs. You'll set up each workflow action step by step, then reuse your setups with bundles, templates and conditions.
What can HubSpot's own workflow action do with line items?
HubSpot has a native workflow action called Add line item to deal. It's available in deal-based workflows on Professional and Enterprise subscriptions. In the action you choose the deal, the product and the quantity. According to HubSpot's Knowledge Base, the action can only add existing products to deals, and it can't edit or replace products that are already on the deal. See Add line items to deals using workflows for the full details.
So if all you need is to attach a product from your library with a set quantity, the native action covers that. If you also need to set prices from deal data, change line items that already exist, remove them, or add a whole package of products in one step, that's what LineNer's workflow actions are for.
What LineNer adds to your workflows
After you install LineNer, these actions appear in HubSpot workflows under Integrated Apps:
| Workflow action | What it does |
|---|---|
| Add Line Item | Adds a product to the deal |
| Update Line Items | Updates matching line items using filters |
| Delete Line Item | Removes matching line items |
| Manage Line Items by Templates | Runs a saved template |
| Add Bundle | Inserts all line items from a saved bundle |
LineNer works on deals only. It doesn't support contacts, companies or other objects.
Before you start
- HubSpot plan: LineNer's workflow actions need HubSpot Professional or Enterprise (Marketing, Sales or Service Hub with workflow access).
- LineNer plan: every plan, including Free, lets you add, update and delete line items and use templates and bundles. Plans differ in workflow runs, number of templates and bundles, and a few advanced features. See 4CRMs pricing for the current plans.
- Workflow runs: each time a LineNer action runs (add, update or remove), it counts as one workflow run.
Install LineNer
- In HubSpot, go to Settings → Integrations → App Marketplace.
- Search for LineNer.
- Click Install and select your HubSpot portal. You can't change the portal after installation, so pick the right one.
- Review and approve the requested permission scopes.
- Click Connect app.
Add the LineNer card to deal records
You'll create bundles and templates from the LineNer card, so add it first.
- Open any deal and click Customize.
- Go to Record Customization → Default View.
- Find LineNer in the card library sidebar.
- Click Add card and save.
The LineNer card now shows in the deal record's right sidebar.
How do you add a line item to a deal in a HubSpot workflow?
Use LineNer's Add Line Item action in a deal-based workflow. You find the product by SKU or name and set quantity, price, currency and discount.
- Create a deal-based workflow, or open an existing one.
- Set the enrollment trigger, for example a deal stage change.
- Add an action and choose Add Line Item from LineNer under Integrated Apps.
- Find the product by SKU or name.
- Set the quantity, unit price and currency.
- If you need one, set the discount. LineNer supports percentage and fixed-amount discounts.
- Save the action and turn the workflow on.
Quantities and prices can use decimals (for example 4.5234) on every plan.
Set the price from a deal or company property
Instead of typing a fixed price, you can put a token in the Unit Price field. When the workflow runs, LineNer reads the property's current value and creates the line item with that price.
- Deal-level tokens pull from deal properties, such as an agreed service fee captured during discovery.
- Company-level tokens pull from the associated company, such as a tier price or last contract value.
Two rules to keep in mind: the source property must be a Number or Currency property, and for company-level tokens the deal must already be associated with a company when the workflow runs. To add a token, find the property's internal name in HubSpot settings and enter it in the Unit Price field (tokens start with {{).
How do you update line items that are already on a deal?
Use the Update Line Items action. It finds the line items you target and changes only the fields you choose.
- In your deal-based workflow, add the Update Line Items action.
- Select the target product or SKU.
- Pick a filter operator: None (match on the product selection only), contains, starts with, ends with, equals or not equals.
- For each field, choose Keep original, Set value (a static value or a token) or Set empty.
- Decide whether to tick Update Deal Amount.
- Save the action.
You can update these fields: name, description, unit price, quantity, discount (type and value), and contract terms (term length and billing frequency).
Tip: tick Update Deal Amount when you change price, quantity or discount, so the deal total reflects the new line items. Leave it unticked when you only change descriptive fields like the name or description, so the deal amount doesn't shift when you didn't mean it to.
How do you remove a line item from a deal automatically?
Use the Delete Line Item action. It removes the line items that match the product or SKU you target.
- In your deal-based workflow, add the Delete Line Item action.
- Specify which product or SKU to remove.
- Save the action.
Use the workflow's enrollment trigger to decide when the removal happens. If you want the deal itself checked right before the action runs, save the delete as a template with conditions (see below).
Add a package of products in one step with bundles
A bundle is a preset group of products that LineNer adds to a deal in one workflow action. It's useful for standard packages, such as an equipment package or an employee onboarding kit.
Create a bundle
- Open a deal, then in the LineNer card go to Actions → Bundles → New. You can also get there from Settings → Integrations → Connected Apps → LineNer → Bundles.
- Add each line item with its name, product or SKU, quantity, unit price and currency, plus any custom properties you need (for example pricing model, discount or region). Unit price can use
{{tokens. - Save each item, then click Add Bundle.
Use the bundle in a workflow
- In a deal-based workflow, set the trigger, for example Deal Stage is "Proposal Sent".
- Add the Add Bundle action and select your bundle.
- If the deal should only hold the bundle, enable Delete existing line items before inserting.
- Save the action.
Good to know: a bundle always adds all of its line items, with no branching inside it. When you edit a bundle, the change applies to every workflow that uses it. Bundles are added through LineNer workflows, not from HubSpot's quote editor or the deal interface.
Reuse your setup with templates and conditions
A template saves a complete line item action, add, update or delete, with its products and values. You build it once and run it from any workflow, so every deal gets the same setup.
Create a template
- Open a deal, then in the LineNer card go to Actions → Templates → Set Template.
- Choose the action type (Add, Update or Delete Line Items) and configure it the same way as the workflow actions above.
- Optionally add conditions in the IF section.
- Click Add Template.
Then, in your workflow, add the Manage Line Items by Templates action, select the template and save.
How conditions work
Conditions are checks on deal properties. When the workflow reaches the action, LineNer checks every condition against the deal at that moment.
- If all conditions pass, the action runs.
- If any condition fails, the action is skipped and the workflow records a conditionsNotMet outcome. The workflow then continues to its next action.
- Conditions are joined with AND. There's no OR or nested logic.
- Conditions check the deal, not individual line items.
Operators depend on the property type. Text properties support equals, contains, starts with, is empty and more. Number and currency properties support comparisons like greater than and between. Date properties support is before, is after and is between. Dropdowns support is any of and is none of, and checkboxes support is true and is false.
To add a condition, open the template's IF section, pick a deal property, choose an operator, enter a value, and click Add New Condition for each extra check. Templates with more than one condition need LineNer's Professional plan or above.
Things to know before you go live
- Deals only. LineNer doesn't change line items on other objects.
- Your data stays in HubSpot. LineNer doesn't store your deal or product data.
- Uninstalling. Workflow changes LineNer already made stay in place. If LineNer actions are left in a workflow after you uninstall, they're skipped and the workflow continues, with no error notification emails from the app.
- Copying instead of automating? If you want to reuse line items from one deal on another by hand rather than in a workflow, look at Copy Line Items Between Deals.
- Cloning whole deals in workflows? Read Clone HubSpot Records with All Their Associations Through Workflows.
What teams say
Darren Rodman, Director at the Pitchmark Group: "Simple to use and the additions to line item editing in workflows has made my job a lot easier!"
Sam Balzan, Founder of Purple Sales, on automating quotes with bundles through workflows: "Amazingly simple to set up and making it run in minutes with a great support."
Try it on your own deals
Start with one action: add a single line item when a deal reaches a stage you choose, and check the result on a test deal. Then move on to updates, bundles and templates.
Try LineNer for free on the HubSpot Marketplace. Want help planning your setup? Contact the 4CRMs team. You can read more about the app on the LineNer page.





