---
schema_version: "1"
id: 358d722a83b9c94220c95b8c9584e5c5ec33da7e29177b8b5d8287c756f6b48e
title: Create a Rule for a Pricing Matrix
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_create_a_rule_for_a_pricing_matrix.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_create_a_rule_for_a_pricing_matrix.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 0b8ee51d6342bf2597cb696f4578794d527f0841883866bc893451f66593218f
description: When using a pricing matrix, you must create a rule that invokes the rule action entity filter. The rule connects the calculation procedure and entity filter.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# Create a Rule for a Pricing Matrix

When using a pricing matrix, you must create a rule that invokes the rule action entity filter. The rule connects the calculation procedure and entity filter.

A Pricing Matrix is a powerful lookup table used to manage complex, attribute-based pricing. Instead of writing individual rules for every possible combination of product, quantity, and region, you store that data in a matrix. When the system runs a pricing rule, it "looks up" the specific input values from the cart in the matrix and returns the corresponding output.

For more information about pricing rules, see [Pricing Rules](https://help.salesforce.com/s/articleView?id=ind.comms_pricing_rules.htm&language=en_US).

1. On the Vlocity Rules tab, click **New**.
2. Enter the following information:
    
    - The **Rule Name** is the name of the rule.
    - From the **This defines** picklist, select **Pricing**.
    - From the **rule that applies to** picklist, select the appropriate object, for example, **Order Product <OrderItem>**.
    - From the **and is** picklist, select **Active**.
    
    ![Order Pricing](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-comms_media_energy_managed-264-0-0-production-enus/ff4079f6-a384-475c-b863-578bbbb0ef9b/resources-product/images/salesforce_rule_pricingmatrix.jpg)
3. Scroll down to the Filters and Actions list.
4. In the appropriate Filter Name row, click **Add to Rule Filter**.
5. Click **Actions**.
6. In the appropriate Action Name row, click **Add to Rule Action**.
7. Click **Save**.

[Create a Pricing Rules Flow](https://help.salesforce.com/s/articleView?id=ind.comms_create_a_pricing_rules_flow.htm&release=264.0.0&type=5 "To use a pricing matrix, you must create a pricing rules workflow, or flow.").