Skip to main content
Conditional Rules control how individual line items behave when a proposal is automatically generated from a CPQ-based template. Each rule is defined directly on a product, service, bundle, or service package in the Package Configuration stage of the template. While generating a proposal, Zuper checks real job data, such as measurement token values, checklist responses, and job details, and then automatically decides whether that line item should be added, removed, or markup should be adjusted. For example, if the roof pitch is greater than 6/12, you can set the rule to add the premium underlayment line item to the proposal automatically; otherwise, the standard underlayment option is included instead. In this guide, we will explore how to access and define the condition rule for the line item in the CPQ proposal template.

Accessing the Conditional Rules

You’ll find Conditional Rules when you’re setting up your CPQ Proposal template in the Quote Builder.
Sect32
When you add a material, service, or bundle, you’ll see an Add Rule option beside it. Click that, and the Conditional Rule panel will open.
Sect34
Note: For a fixed bundle, the Conditional Rule logic is applied at the bundle level. For a roll-up bundle, the logic is stored against the individual constituent items.
That’s where you’ll build your rule, and it’s divided into three simple sections: IF, THEN, and ELSE.

Set the Condition (IF section)

In the IF section, you define what should be checked before deciding how to handle the line item. You can add multiple conditions using ALL (AND) or ANY (OR) logic.
  • Click “+ Add condition”.
  • Choose the data source (Job, Checklist, or System) and select the field .
  • Set an operator such as is, is not, greater than, less than, etc.
  • Enter a comparison value .

    IF Job Category = Roofing ALL “New Job” = Yes

Define the Action (THEN Section)

The THEN section tells what to do with the line item when the IF condition is true.
Available actions include:
  • Add Item
  • Remove Item
  • Adjust Markup
THEN Adjust markup = 5

Define the Alternate Action (ELSE Section)

The ELSE section defines what happens if the condition is not met.
Similar to then actions:
ELSE Add item When you’re finished, use the Rule toggle at the top to enable or disable the rule, then click Save.
Sect33 1

Section Rules - CPQ

Rules can be applied at the section level in CPQ templates, in addition to individual item rules. Here is how the precedence rules work: Remove Section Rule
  • If a rule removes a section, it overrides all item-level rules within it.
  • All items in that section are removed, regardless of their individual rule conditions.
Add Section Rule
  • If the section-level rule allows the section to be added, each item’s rule is evaluated individually.
  • Items whose rules do not meet the conditions are excluded.
  • The section is added with only the eligible items.
Empty Section Handling
  • If a section is added but no items qualify after item-level rules are evaluated, the section is not displayed on the proposal.
If Section Handling
  • Note that Products are not available as a source within the IF condition for sections.  
Sect28
Your rule will now automatically evaluate every time a user interacts with that item. Click here to know more about the Sections.