---
title: Conditional Line Item Rules in HubSpot Workflows
description: "Set conditional line item rules in HubSpot workflows with LineNer: add, update or delete products only when the deal matches your conditions."
---

[![logo](https://www.4crms.com/hs-fs/hubfs/logo.png?width=378&height=64&name=logo.png)](https://www.4crms.com/)

- [Our Apps](https://www.4crms.com/apps-catalog)

    - [CloneNer Clone & Automate Best in Class Automation App](https://www.4crms.com/clonener)
    - [LineNer Manage Products & Bundles](https://www.4crms.com/linener)
    - [Copy Line Items Between Deals](https://www.4crms.com/copy-line-items-between-deals)
    - [Notifyer Track & Get Notified](https://www.4crms.com/notifyer)
    - [Data Bridge Extend & Access Instantly](https://www.4crms.com/data-bridge)
    - [FlowNer Enroll Contacts in Sequences (Get Sequences for Starter Hub)](https://www.4crms.com/flowner)
    - [See all...](https://www.4crms.com/apps-catalog)
- [Pricing](https://www.4crms.com/pricing)
- [Success Stories](https://www.4crms.com/success-stories)

    - [RevOps Works & FlowNer New!](https://www.4crms.com/success-story-revops-works-flowner)
    - [LUNOS Slovenija & Copy Line Items New!](https://www.4crms.com/streamline-hubspot-quoting-with-copy-line-items)
    - [Zestey Consulting & Data Bridge](https://www.4crms.com/how-zestey-consulting-optimized-hubspot-with-data-bridge)
    - [Zestey Consulting & LineNer](https://www.4crms.com/how-zestey-consulting-setup-the-ability-to-add-discounts-and-billing-terms)
    - [Velocity Growth & CloneNer](https://www.4crms.com/success-story-velocity-growth-clonener)
    - [Veeva Systems & LineNer](https://www.4crms.com/linener-veeva-systems)
    - [Grupo Servica & CloneNer Interview with Customer Q&A](https://www.4crms.com/blog/success-stories-how-grupo-servica-use-clonener-in-hubspot)
    - [Archy & FlowNer Interview with Customer Q&A](https://www.4crms.com/success-story-how-archy-automates-sales-sequences-with-flowner)
- [For Partners](https://www.4crms.com/for-partners)

    - [Partner With Us](https://www.4crms.com/for-partners)
    - [Our Partners](https://www.4crms.com/hubspot-partner-experts)
- Resources

    - [Knowledge Base](https://www.4crms.com/help)
    - [Our Security Measures](https://www.4crms.com/security-policy)
    - [Our Happy Customers](https://www.4crms.com/testimonials)
    - [Blog](https://www.4crms.com/blog)
- [Help](https://www.4crms.com/help)

[Contact us ![arrow](https://www.4crms.com/hubfs/raw_assets/public/4CRMs%20-%20Redesign/images/theme-icons/arrow-right-pixel.svg)](https://www.4crms.com/contact-us)

1. [Home](https://www.4crms.com/)
2. [Blog - HubsGrowth](https://www.4crms.com/blog)
3. [Conditional Line Item Rules in HubSpot Workflows](https://www.4crms.com/blog/conditional-line-item-rules-in-hubspot-workflows)

Share

 \# Tips and Tricks

# Conditional Line Item Rules in HubSpot Workflows

**Last updated:** 03 December 2026

 Set conditional line item rules in HubSpot workflows with LineNer: add, update or delete products only when the deal matches your conditions.

Need a workflow that adds a product only to the deals that actually need it? Tired of building one workflow per product, region or deal type just to keep the wrong line items off your deals?

Most line item automation starts with a simple rule: when a deal reaches a stage, add a product. Real deals aren't that simple. The onboarding package belongs only on deals where onboarding was sold. The support add-on depends on deal size. A product should come off the deal when the contract type changes.

This deep-dive shows you how to set conditional line item rules in HubSpot workflows with LineNer template conditions: how the IF section works, which operators you can use, what happens when a condition fails, and how to work around AND-only logic.

## Can a HubSpot workflow add a product only when the deal meets certain criteria?

Yes. You have two places to put the rule: in the workflow itself, or inside the line item action.

- **In the workflow.** HubSpot workflows can decide which deals reach an action through enrollment triggers and branches. HubSpot's native **Add line item to deal** action then adds an existing product with a quantity. According to HubSpot's Knowledge Base, it can't edit or replace products already on the deal (see [Add line items to deals using workflows](https://knowledge.hubspot.com/workflows/add-line-items-to-deals-using-workflows)).
- **Inside the action.** A LineNer template can carry its own conditions. The workflow runs the template with the **Manage Line Items by Templates** action, and LineNer checks the deal before it adds, updates or deletes anything.

The rest of this article is about the second option, and when to combine it with the first.

## How do LineNer template conditions work?

A template saves a complete line item action: add, update or delete line items, with the products and values you choose. Conditions are deal-property checks you add in the template's **IF** section.

When the workflow reaches the action, LineNer evaluates every condition against the deal at that moment:

- If all conditions pass, the action runs.
- If any condition fails, the action is skipped. No line items are added, updated or deleted. The workflow records a **conditionsNotMet** outcome for that action and continues to the next action, if there is one.

Three rules shape everything else in this article:

1. **AND only.** All conditions in a template are joined with AND. There's no OR and no nested logic.
2. **Deal level only.** Conditions check deal properties, not individual line items.
3. **Checked at run time.** LineNer reads the deal's values in real time, when the action runs.

New to templates? Start with [Set Up and Use LineNer Templates for Faster Line Item Management](https://www.4crms.com/blog/linener-templates-step-by-step-guide), then come back for the conditions.

## Which operators can you use in a condition?

The operators depend on the type of deal property you pick:

| Property type | Operators |
| --- | --- |
| String / Phone | equals, not equal, contains, does not contain, starts with, ends with, is empty, is not empty |
| Number / Currency | equals, not equal, less than, ≤, greater than, ≥, between, is empty, is not empty |
| Date / DateTime | is on, is before, is after, is between, is empty, is not empty |
| Enumeration / Select / Multi-select | equals, does not equal, contains, is any of, is none of, is empty, is not empty |
| Boolean | is true, is false |

Two operators do a lot of the work that OR logic would otherwise do. **is any of** matches several dropdown values in one condition, and **between** covers a number or date range in one condition.

## How to add conditions to a LineNer template

1. Open a deal, then in the LineNer card go to **Actions → Templates → Set Template**.
2. Choose the action type (Add, Update or Delete Line Items) and configure it.
3. In the **IF** section, select a deal property, choose an operator and enter a value.
4. Click **Add New Condition** for each extra check. All conditions are joined with AND.
5. Click **Add Template** to save.
6. In your deal-based workflow, add the **Manage Line Items by Templates** action, select the template and save.

Templates with more than one condition need LineNer's Professional plan or above. See [4CRMs pricing](https://www.4crms.com/pricing) for the current plans. LineNer itself needs HubSpot Professional or Enterprise (Marketing, Sales or Service Hub with workflow access).

## Template conditions or a workflow branch: which should you use?

Both decide which deals get a line item change. They work differently:

|  | LineNer template conditions | HubSpot if/then branch |
| --- | --- | --- |
| Where the rule lives | In the template, so every workflow that runs the template applies the same check | In one workflow |
| Logic | AND only | AND/OR logic available |
| When it's checked | When the action runs | When the record reaches the branch |
| If nothing matches | Action skipped, conditionsNotMet recorded, workflow continues | Record follows the *None met* path |

A practical rule: use template conditions for rules that belong to the line item change itself ("this product only goes on deals with onboarding sold"). Use a branch when the workflow needs to do different things on each path, or when you need OR logic. You can also combine them: put a LineNer action on a branch path and keep the product rule in the template. HubSpot explains branch types in [Use branches in workflows](https://knowledge.hubspot.com/workflows/use-if-then-branches-in-workflows).

## Practical patterns for conditional line items

The property names below are examples. Use the deal properties your team already fills in.

### Add a product only when a checkbox is ticked

Template type: Add Line Items. Condition: a Boolean deal property such as "Onboarding included" *is true*. Run the template when the deal reaches the stage where the quote gets built. Deals without onboarding sold skip the action and keep their line items as they are.

### Add a support tier by deal size

Template type: Add Line Items. Condition: Amount *between* two values. Create one template per tier, each with its own range, and add one **Manage Line Items by Templates** action per template to the same workflow. Make sure the ranges don't overlap, so a deal can pass only one of them.

### Change prices only for some deals

Template type: Update Line Items. Condition: a dropdown such as Region *is any of* the regions the change applies to. Here the condition and the filter do different jobs. The condition decides **which deals** the update runs on. The Update action's product and filter operator decide **which line items** on that deal change. For the filter side, read [How to Update Multiple Line Items in HubSpot Using Filters](https://www.4crms.com/blog/how-to-update-multiple-line-items-in-hubspot-using-filters).

### Remove a product when the deal no longer qualifies

Template type: Delete Line Items. Condition: for example, Contract type *is none of* the contract types that include the product. Run it from a deal-based workflow at the point where the deal changes, for example a stage change.

### Switch products from a date

Template type: Add Line Items. Condition: Close date *is after* the date a new product version takes over. A second template with *is before* adds the old version. Because each deal passes only one of the two conditions, only one product is added.

## How do you get OR logic when conditions are AND only?

You have three options:

1. **Use one operator that covers the alternatives.** *is any of* on a dropdown, or *between* on a number or date, often replaces an OR.
2. **Use separate templates.** One template per alternative, each with its own condition, run one after another in the same workflow. Each template is checked on its own, so if a deal passes two of them, both actions run. Write the conditions so they can't both be true, or accept that both changes apply.
3. **Branch first.** Use a HubSpot AND/OR branch to send deals down the right path, then run the LineNer action on that path.

## What does conditionsNotMet mean, and how do you check it?

conditionsNotMet means LineNer checked the deal, at least one condition failed, and the action was skipped on purpose. Nothing on the deal changed. It isn't an error, and the workflow continues.

When a template didn't run on a deal you expected it to:

1. In HubSpot, open the workflow and go to **Performance history → Enrollments history** (or **View → Enrollment history**).
2. Search for the deal, hover over its name and click **View logs**.
3. Find the **Manage Line Items by Templates** action and check its outcome.
4. If it's conditionsNotMet, compare each condition with the deal's property values at the time the action ran. A value that was filled in after the action ran doesn't count, because conditions are checked at run time.
5. Check that the condition uses a deal property. If the value lives on the company or on a line item, the condition can't see it. Keep the value in a deal property instead.

Test every new conditional template on a test deal that should pass and one that should fail before you turn the workflow on.

## What teams say

Mikkel Sørensen, Salgschef at Boligflow, describes how LineNer works for his team: "When we fill the properties in our deal, it automatically adds lines." After that, he says, making an offer for the customer is easy.

## Where to go next

- Setting up the add, update and delete actions for the first time: [Add, Update and Delete Line Items in HubSpot Workflows](https://www.4crms.com/blog/add-update-and-delete-line-items-in-hubspot-workflows).
- Setting prices from deal or company properties: [Dynamic Line Item Pricing in HubSpot With Deal and Company Tokens](https://www.4crms.com/blog/dynamic-line-item-pricing-in-hubspot-with-deal-and-company-tokens).
- Checking line items before a quote goes out: [Keep HubSpot Quote Line Items Accurate Before You Send](https://www.4crms.com/blog/keep-hubspot-quote-line-items-accurate-before-you-send).

## Try conditional templates on your own deals

Start with one template and one condition, such as a checkbox, and watch the workflow logs on a few test deals. Add more conditions once the first rule behaves the way you expect.

[Try LineNer for free on the HubSpot Marketplace](https://ecosystem.hubspot.com/marketplace/listing/add-line-item-to-deal-linener). Want help planning your rules? [Contact the 4CRMs team](https://www.4crms.com/contact-us). You can read more about the app on the [LineNer page](https://www.4crms.com/linener).

Posted in:

- \# Tips and Tricks
- \# LineNer

*Was* this *helpful?*

![](https://www.4crms.com/hubfs/raw_assets/public/4CRMs%20-%20Redesign/images/time-icon.svg)

 9 minutes read

In this article

![Daria Vey](https://www.4crms.com/hubfs/%D0%97%D0%BD%D1%96%D0%BC%D0%BE%D0%BA%20%D0%B5%D0%BA%D1%80%D0%B0%D0%BD%D0%B0%202026-03-24%20000040.png)

 Daria Vey

 I help HubSpot teams work smarter by supporting tools like CloneNer, LineNer, DataBridge, Notifyer, Copy Line Items and FlowNew. My focus is on helping users streamline workflows, automate processes, reduce manual work, and get the most value out of these solutions. At 4CRMs, we’re constantly building new products to make HubSpot more powerful and user-friendly. I’m here to guide you through setup, share best practices, and help solve even the trickiest edge cases. Always happy to connect and support you along the way.

![](https://www.4crms.com/hs-fs/hubfs/raw_assets/public/4CRMs%20-%20Redesign/images/bg-gr.jpg?width=320&height=179&name=bg-gr.jpg)

Left with any questions?

[Contact us![](https://www.4crms.com/hubfs/raw_assets/public/4CRMs%20-%20Redesign/images/theme-icons/arrow-right-pixel.svg)](https://www.4crms.com/contact-us)

![image](https://www.4crms.com/hs-fs/hubfs/raw_assets/public/4CRMs%20-%20Redesign/images/contact-widget-img.png?width=58&height=158&name=contact-widget-img.png)

## *Explore* our trending *publications*

### [# Tips and Tricks \# LineNer Keep HubSpot Quote Line Items Accurate Before You Send ![calendar](https://www.4crms.com/hubfs/raw_assets/public/4CRMs%20-%20Redesign/images/icon-calendar.svg) November 27, 2026 ![clock](https://www.4crms.com/hubfs/raw_assets/public/4CRMs%20-%20Redesign/images/icon-clock.svg) 9 min read](https://www.4crms.com/blog/keep-hubspot-quote-line-items-accurate-before-you-send)

### [# Tips and Tricks \# Data Bridge Keep Pricing Sheets and Playbooks Inside HubSpot Deals ![calendar](https://www.4crms.com/hubfs/raw_assets/public/4CRMs%20-%20Redesign/images/icon-calendar.svg) November 26, 2026 ![clock](https://www.4crms.com/hubfs/raw_assets/public/4CRMs%20-%20Redesign/images/icon-clock.svg) 8 min read](https://www.4crms.com/blog/keep-pricing-sheets-and-playbooks-inside-hubspot-deals)

### [# Tips and Tricks \# Data Bridge How to Embed a Google Sheet in a HubSpot Deal Record ![calendar](https://www.4crms.com/hubfs/raw_assets/public/4CRMs%20-%20Redesign/images/icon-calendar.svg) November 26, 2026 ![clock](https://www.4crms.com/hubfs/raw_assets/public/4CRMs%20-%20Redesign/images/icon-clock.svg) 8 min read](https://www.4crms.com/blog/how-to-embed-a-google-sheet-in-a-hubspot-deal-record)

### [![8 Best AI CRM Platforms in 2026: Which One Fits Your Business?](https://www.4crms.com/hubfs/8%20Best%20AI%20CRM%20Platforms%20in%202026.png) \# Tips and Tricks 8 Best AI CRM Platforms in 2026: Which One Fits Your Business? ![calendar](https://www.4crms.com/hubfs/raw_assets/public/4CRMs%20-%20Redesign/images/icon-calendar.svg) November 23, 2026 ![clock](https://www.4crms.com/hubfs/raw_assets/public/4CRMs%20-%20Redesign/images/icon-clock.svg) 20 min read](https://www.4crms.com/blog/8-best-ai-crm-platforms)

### [![Dynamic Line Item Pricing in HubSpot With Deal and Company Tokens](https://www.4crms.com/hubfs/Blog%20featured%20image%20%C2%B7%201200%C3%97630.png) \# Tips and Tricks \# LineNer Dynamic Line Item Pricing in HubSpot With Deal and Company Tokens ![calendar](https://www.4crms.com/hubfs/raw_assets/public/4CRMs%20-%20Redesign/images/icon-calendar.svg) November 23, 2026 ![clock](https://www.4crms.com/hubfs/raw_assets/public/4CRMs%20-%20Redesign/images/icon-clock.svg) 9 min read](https://www.4crms.com/blog/dynamic-line-item-pricing-in-hubspot-with-deal-and-company-tokens)

![](https://www.4crms.com/hubfs/raw_assets/public/4CRMs%20-%20Redesign/images/bg-glow.svg)

Built to keep your organization secure

![Security SOC](https://www.4crms.com/hs-fs/hubfs/raw_assets/public/4CRMs%20-%20Redesign/images/security-soc.png?width=90&height=90&name=security-soc.png)![Security GDPR](https://www.4crms.com/hs-fs/hubfs/raw_assets/public/4CRMs%20-%20Redesign/images/security-gdpr.png?width=90&height=90&name=security-gdpr.png)![Security PCI-DSS](https://www.4crms.com/hs-fs/hubfs/raw_assets/public/4CRMs%20-%20Redesign/images/security-pci-dss.png?width=90&height=90&name=security-pci-dss.png)![Security CCPA](https://www.4crms.com/hs-fs/hubfs/raw_assets/public/4CRMs%20-%20Redesign/images/security-ccpa.png?width=90&height=90&name=security-ccpa.png)![Security HTTPS](https://www.4crms.com/hs-fs/hubfs/raw_assets/public/4CRMs%20-%20Redesign/images/security-https.png?width=90&height=90&name=security-https.png)

## Subscribe to our blog

Get the inside scoop on industry news, product updates, and emerging trends, empowering you to make more informed decisions and stay ahead of the curve.

[Contact us![](https://www.4crms.com/hubfs/raw_assets/public/4CRMs%20-%20Redesign/images/theme-icons/arrow-right-pixel.svg)](https://www.4crms.com/contact-us)

![image](https://www.4crms.com/hs-fs/hubfs/raw_assets/public/4CRMs%20-%20Redesign/images/support-info-img.jpg?width=600&height=400&name=support-info-img.jpg)

- Apps
  
    - [CloneNer](https://www.4crms.com/clonener)
    - [LineNer](https://www.4crms.com/linener)
    - [FlowNer](https://www.4crms.com/flowner)
    - [Copy Line Items](https://www.4crms.com/copy-line-items-between-deals)
    - [Notifyer](https://www.4crms.com/notifyer)
    - [Data Bridge](https://www.4crms.com/data-bridge)
    - [Contact Optimizer](https://www.4crms.com/contacts-optimizer)
    - [Marketplace Apps reporter](https://www.4crms.com/hubspot-apps-reporter-old)
- Information
  
    - [Security Policy](https://www.4crms.com/security-policy)
    - [Privacy Policy](https://www.4crms.com/privacy-policy)
    - [Cookie Policy](https://www.4crms.com/cookie-policy)
    - [Refund Policy](https://www.4crms.com/refund-policy)
    - [Terms of Service](https://www.4crms.com/terms-of-service)
    - [SLA](https://www.4crms.com/service-level-agreement)
    - [Status](https://4crms.hyperping.app/)
- Resources
  
    - [Blog](https://www.4crms.com/blog)
    - [Video Guides](https://www.4crms.com/help)
    - [CloneNer Release Notes](https://www.4crms.com/apps-release-notes)
    - [LineNer Release Notes](https://www.4crms.com/linener-app-release-notes)
- Company
  
    - [Contact us](https://www.4crms.com/contact-us)
    - [About us](https://www.4crms.com/about-us)
    - [Testimonials](https://www.4crms.com/testimonials)
    - [Partnership](https://www.4crms.com/for-partners)

Follow us on

- [![linkedin](https://www.4crms.com/hubfs/linkedin.svg)](https://www.linkedin.com/company/4crms/)
- [![youtube](https://www.4crms.com/hubfs/youtube.svg)](https://www.youtube.com/@4CRMs)

Copyright 2026 © 4CRMs.

```json
{
  "@context" : "https://schema.org",
  "@type" : "BlogPosting",
  "author" : {
    "@type" : "Person",
    "name" : "Daria Vey",
    "url" : "https://www.4crms.com/blog/author/daria-vey"
  },
  "dateModified" : "2026-12-03T08:00:00.580Z",
  "datePublished" : "2026-12-03T08:00:00.000Z",
  "headline" : "Conditional Line Item Rules in HubSpot Workflows",
  "mainEntityOfPage" : {
    "@id" : "https://www.4crms.com/blog/conditional-line-item-rules-in-hubspot-workflows",
    "@type" : "WebPage"
  },
  "publisher" : {
    "@type" : "Organization",
    "logo" : {
      "@type" : "ImageObject",
      "url" : "https://www.4crms.com/hubfs/forCRMS.svg"
    }
  }
}
```