Logo Cpq Product Catalog Setup

Cpq Product Catalog Setup

Cộng đồng
PranavNagrecha
cpq-product-catalog-setup

Use this skill when setting up or modifying product bundles, product options, product rules, configuration attributes, and product features in Salesforce CPQ. Trigger keywords: CPQ product bundle, product rule, option constraint, feature configuration, dynamic bundle, filter rule, configuration attribute, bundle nesting. NOT for plain Products and Pricebooks without CPQ — use admin/products-and-pricebooks. NOT for moving an existing CPQ catalog between orgs — use data/product-catalog-migration-cpq. NOT for price rules, price actions or discount schedules — use admin/cpq-pricing-rules.

Tổng quan

Nhà phát hànhPranavNagrecha
Kho mãAwesomeSalesforceSkills
Tên kỹ năngcpq-product-catalog-setup
Sao
26
Bản fork
5
Tệp đi kèm
6
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 6 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được PranavNagrecha công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Cpq Product Catalog Setup trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/cpq-product-catalog-setup
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/PranavNagrecha/AwesomeSalesforceSkills.git /tmp/AwesomeSalesforceSkills
mkdir -p .claude/skills
cp -r /tmp/AwesomeSalesforceSkills/skills/admin/cpq-product-catalog-setup .claude/skills/cpq-product-catalog-setup
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Cpq Product Catalog Setup trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Cpq Product Catalog Setup ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Cpq Product Catalog Setup với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

CPQ Product Catalog Setup

Use this skill when configuring the Salesforce CPQ product catalog: building product bundles, defining product options and features, creating product rules (Validation, Alert, Selection, Filter), and setting up configuration attributes that drive dynamic bundle behavior. This skill does not cover standard Salesforce Products & Pricebooks, CPQ pricing rules, discount schedules, or quote document templates.


Before Starting

Gather this context before working on anything in this domain:

  • Confirm the Salesforce CPQ managed package (SBQQ__) is installed and licensed in the org. CPQ product objects (SBQQ__Product2__c, SBQQ__ProductOption__c, SBQQ__ProductRule__c) will not exist without it.
  • Identify the bundle parent product and all child products that will appear as options. Determine which options are Required, Optional, or Default-selected.
  • Understand the nesting depth planned. Salesforce CPQ supports bundle nesting up to 4 levels, but each level multiplies configurator load time — deep nesting is a performance risk.
  • Clarify whether the bundle needs dynamic filtering. Filter rules and configuration attributes add setup complexity but are the correct mechanism for attribute-driven option visibility.
  • Understand rule ordering requirements early. Product Rules fire in sequence number order, and Selection rules can interfere with one another if sequenced incorrectly.

Core Concepts

Product Bundles and Product Options

A CPQ product bundle consists of a parent product and one or more child products registered as SBQQ__ProductOption__c records linked to the parent. Options are organized into SBQQ__Feature__c records, which control how they are grouped and displayed in the CPQ configurator UI.

Each Product Option carries key configuration fields:

  • SBQQ__Type__c — Component (priced individually), Bundle (nested bundle), or null. Drives how the option is quoted.
  • SBQQ__Required__c — Boolean. When true, the option is always included and cannot be removed.
  • SBQQ__Selected__c / SBQQ__Default__c — Controls whether the option is pre-selected when the configurator opens.
  • SBQQ__MinQuantity__c / SBQQ__MaxQuantity__c — Enforces minimum and maximum selection counts per option.
  • SBQQ__Number__c — Sort order within the feature.

Bundles can be nested: a Product Option can itself be a bundle product. The CPQ configurator supports up to 4 nesting levels, but each nested level triggers additional SOQL queries at configurator open, meaning 4-level nesting on large catalogs can exceed governor limits or cause multi-second page loads.

Product Rules

Product Rules (SBQQ__ProductRule__c) enforce business logic in the CPQ configurator. There are four types, each with distinct behavior:

Rule TypeWhen it firesEffect
ValidationOn save attemptBlocks quote save and shows an error message if conditions are met
AlertOn save attemptShows a warning but allows the quote to save
SelectionOn option selection or deselectionAutomatically adds or removes related options
FilterOn configurator open and re-renderHides or shows product options based on conditions

Rules are composed of:

  • Conditions (SBQQ__ErrorCondition__c) — evaluated against quote line fields or product option fields
  • Actions (SBQQ__ProductAction__c) — what to do when all conditions are true (for Selection and Filter rules)

Product Rules fire in ascending order of their SBQQ__Sequence__c field. For Selection rules that chain (rule A's action triggers rule B's conditions), sequence order is the only control mechanism. Misconfigured sequences cause infinite loops or missed selections.

Configuration Attributes

Configuration Attributes (SBQQ__ConfigurationAttribute__c) are header-level fields displayed at the top of the CPQ configurator, outside of individual product lines. They allow bundle-level choices — such as "Service Tier" or "Region" — to drive Product Rule conditions without being tied to a specific option.

Configuration Attributes are scoped to a specific bundle product. When an attribute value changes, CPQ re-evaluates Filter rules and Selection rules that reference that attribute. This is the correct mechanism for attribute-driven dynamic bundles; attempting to replicate this with custom fields on the product record is not supported and will not trigger rule re-evaluation.


Common Patterns

Pattern: Simple Required/Optional Bundle

When to use: The bundle has a fixed set of required components (always included, always priced) and a set of optional add-ons the customer can select.

How it works:

  1. Create the parent product record. Mark it as a Bundle in CPQ (SBQQ__Component__c = false, SBQQ__QuantityEditable__c as needed).
  2. Create a Feature for each logical grouping (e.g., "Hardware", "Software", "Services").
  3. Create Product Option records linking each child product to the parent, setting SBQQ__Required__c = true for mandatory components and SBQQ__Selected__c = true for default-selected optionals.
  4. Set SBQQ__MinQuantity__c and SBQQ__MaxQuantity__c on options where selection limits apply.
  5. Test in the CPQ configurator by adding the bundle to a quote.

Why not the alternative: Using Validation rules to block deselection of required components is fragile — a required option should be marked Required at the Product Option level, not blocked post-hoc by a rule. Validation rules add page load and save overhead unnecessarily.

Pattern: Dynamic Bundle with Filter Rules and Configuration Attributes

When to use: The set of visible options should change based on a header-level choice the rep makes at bundle configuration time (e.g., choosing "Enterprise" service tier reveals premium add-ons not shown for "Standard" tier).

How it works:

  1. Create the parent bundle product and all possible options as Product Option records (including options that will initially be hidden).
  2. Create a Configuration Attribute linked to the parent bundle, mapping it to a custom field on the Quote Line (SBQQ__QuoteLine__c) or Product Option that will hold the attribute value.
  3. Create a Filter Product Rule with conditions that evaluate the Configuration Attribute field value and actions that include or exclude specific options.
  4. Set the Filter rule's SBQQ__Scope__c to "Product" to target options within the bundle.
  5. Test by opening the configurator, changing the attribute value, and confirming the option list re-renders correctly.

Why not the alternative: Custom Lightning Web Components or JavaScript customizations to hide options are fragile across CPQ managed package upgrades. Filter rules are the supported, upgrade-safe mechanism for attribute-driven option visibility.


Decision Guidance

SituationRecommended ApproachReason
Option must always be included and pricedSet SBQQ__Required__c = true on the Product OptionPrevents removal in configurator UI without rule overhead
Option should be pre-selected but removableSet SBQQ__Selected__c = true on the Product OptionCleaner than a Selection rule that fires on open
Block incompatible option combinationsValidation Product Rule with conditions on both optionsOnly Validation rules block save; Alert rules only warn
Auto-add an accessory when a product is selectedSelection Product RuleCorrect mechanism for reactive auto-add behavior
Hide options based on a header attributeFilter Product Rule + Configuration AttributeSupported upgrade-safe pattern; LWC overrides are fragile
Nested bundles deeper than 3 levelsFlatten catalog or redesign grouping4-level nesting causes significant configurator load time
Large catalog with hundreds of options per bundleUse Filter rules to reduce visible optionsReduces configurator rendering cost at open

Recommended Workflow

Step-by-step instructions for an AI agent or practitioner working on this task:

  1. Confirm CPQ installation and license. Verify SBQQ__ objects exist in the org schema. Check that the user has CPQ product configuration permissions. Without the managed package, no CPQ product setup is possible.
  2. Map the bundle structure. Document the parent product, all child products, their Feature groupings, and which options are Required, Default-selected, or Optional. Identify nesting depth. Flag any planned nesting beyond 2 levels for performance review.
  3. Create Features and Product Options. Create Feature records for each option group. Create Product Option records for each child product, setting Type, Required, Selected, Min/Max Quantity, and sort order. Do not proceed to rules until the base bundle is tested in the configurator.
  4. Define and sequence Product Rules. Identify all business constraints. Map each constraint to a rule type (Validation, Alert, Selection, Filter). Assign sequence numbers deliberately — Selection rules that chain must be sequenced so earlier rules do not undo later ones. Create Conditions and Actions for each rule.
  5. Configure Configuration Attributes if needed. If any product rules depend on header-level choices, create Configuration Attributes linked to the bundle and the relevant field. Validate that changing the attribute value triggers the expected Filter or Selection rule behavior.
  6. Test in the CPQ configurator end to end. Add the bundle to a test quote. Test all rule branches: required options appear, incompatible options are blocked on save, auto-select fires correctly, and filter rules re-render on attribute change.
  7. Document rule sequences and attribute mappings. Record the purpose and sequence number of every product rule. Undocumented rule sequences become maintenance liabilities, especially when new rules are added later.

Review Checklist

Run through these before marking work in this area complete:

  • All Product Option records have correct Type, Required, Selected, and Min/Max Quantity values
  • Feature records are created and options are assigned to the correct feature with correct sort order
  • Product Rules have explicit sequence numbers and the sequence order is documented
  • Each Product Rule has at least one Condition and (for Selection/Filter rules) at least one Action
  • Configuration Attributes are scoped to the correct bundle product and linked to the correct field
  • Filter rules have been tested with attribute value changes in the configurator
  • Bundle nesting depth is 3 levels or fewer, or a performance exception has been documented
  • Validation rules have been tested by attempting to save a quote that violates each condition

Salesforce-Specific Gotchas

Non-obvious platform behaviors that cause real production problems:

  1. Bundle nesting beyond 2 levels multiplies configurator load time — Each nested level triggers additional SOQL queries when the configurator opens. At 4 levels with a large catalog, page load can exceed 10–15 seconds or hit anonymous apex governor limits. Flatten nested bundles wherever possible.
  2. Product Rules fire in sequence number order — duplicates or gaps cause unpredictable behavior — If two Selection rules share the same sequence number, CPQ's evaluation order between them is undefined. Always use unique, spaced sequence numbers (10, 20, 30) to allow insertion without renumbering.
  3. Configuration Attributes are bundle-scoped, not product-scoped — An attribute defined on Bundle A does not carry over when Bundle A is nested inside Bundle B. Each bundle level that needs attribute-driven behavior requires its own Configuration Attribute setup.
  4. Filter rules hide options in the UI but do not prevent API-level additions — If a record is inserted via the SBQQ API or via a Salesforce Flow outside the configurator, Filter rules are not evaluated. Validation rules are required to enforce constraints that must hold at the data level.

Output Artifacts

ArtifactDescription
CPQ product bundle configurationParent product with Feature and Product Option records
Product RulesValidation, Alert, Selection, and Filter rules with Conditions and Actions
Configuration AttributesHeader-level bundle attributes linked to rule conditions
CPQ product catalog setup checklistCompleted checklist from this skill documenting all setup decisions

Related Skills

  • products-and-pricebooks — Use for standard Product2 and Pricebook2 setup before adding CPQ-specific configuration
  • cpq-vs-standard-products-decision — Use to determine whether CPQ is the right tool before beginning CPQ product setup
  • quote-to-cash-requirements — Use during requirements gathering to confirm which CPQ capabilities are needed

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Cpq Product Catalog Setup làm được gì?

Use this skill when setting up or modifying product bundles, product options, product rules, configuration attributes, and product features in Salesforce CPQ. Trigger keywords: CPQ product bundle, product rule, option constraint, feature configuration, dynamic bundle, filter rule, configuration attribute, bundle nesting. NOT for plain Products and Pricebooks without CPQ — use admin/products-and-pricebooks. NOT for moving an existing CPQ catalog between orgs — use data/product-catalog-migration-cpq. NOT for price rules, price actions or discount schedules — use admin/cpq-pricing-rules.

Vì sao nên dùng Cpq Product Catalog Setup trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Cpq Product Catalog Setup là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Cpq Product Catalog Setup trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/admin/cpq-product-catalog-setup. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Cpq Product Catalog Setup?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Cpq Product Catalog Setup với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Cpq Product Catalog Setup với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Cpq Product Catalog Setup có miễn phí không?

Kỹ năng này được PranavNagrecha phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇