Logo Cpq Guided Selling

Cpq Guided Selling

Cộng đồng
PranavNagrecha
cpq-guided-selling

Use this skill when configuring or troubleshooting the Salesforce CPQ Guided Selling wizard: Quote Process records, ProcessInput questions that filter products by field value, mapping answers to Product2 classification fields, and search type choice (Standard, Enhanced, Custom). Trigger keywords: CPQ guided selling, quote process wizard, product selection wizard, SBQQ__QuoteProcess__c, SBQQ__ProcessInput__c, guided product selection, auto select product, product search plugin. NOT for bundles, product options, or product rules — use admin/cpq-product-catalog-setup. NOT for writing a custom ProductSearchPlugin in Apex — use apex/cpq-apex-plugins.

Tổng quan

Nhà phát hànhPranavNagrecha
Kho mãAwesomeSalesforceSkills
Tên kỹ năngcpq-guided-selling
Sao
26
Bản fork
5
Tệp đi kèm
7
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ộ.

  • 7 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 Guided Selling 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-guided-selling
  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-guided-selling .claude/skills/cpq-guided-selling
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 Guided Selling 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 Guided Selling 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 Guided Selling 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 Guided Selling

Use this skill when configuring or troubleshooting the Salesforce CPQ Guided Selling wizard. Reps answer a structured set of questions, and CPQ filters the catalog to products that match. This skill covers Quote Process and Process Input setup, classification field mirroring, the Enhanced and Custom plugin modes, Auto Select Product behavior, and common filtering failures. It does not cover OmniStudio product selection, standard product browsing, bundle setup, or pricing rules.

Product status: the Salesforce CPQ Developer Guide (Summer '26) states that the Salesforce CPQ managed package "continues to be available for existing customers, however, there is no longer any new feature development", and recommends Revenue Cloud for new implementations. Use this skill for orgs already on CPQ.

Field-name caution: the CPQ object reference is published only on help.salesforce.com, which did not fetch for this pass. UNVERIFIED (2026-10-03): the field API names below for SBQQ__QuoteProcess__c and SBQQ__ProcessInput__c (SBQQ__GuidedProductSelection__c, SBQQ__SearchType__c, SBQQ__AutoSelectProduct__c, SBQQ__SearchField__c, SBQQ__Operator__c, SBQQ__InputType__c, SBQQ__Label__c, SBQQ__Active__c, SBQQ__Required__c, SBQQ__Order__c) and Pricebook2.SBQQ__GuidedSelling__c come from earlier versions of this skill and are not in the CPQ Developer Guide or the CPQ Plugins Guide. Confirm each in Object Manager before writing data loads or automation. The documented names are SBQQ__Quote__c.SBQQ__QuoteProcessId__c and SBQQ__Quote__c.SBQQ__Pricebook__c, and the quote process's Product Search Executor and Product Configuration Initializer fields (labels).


Before Starting

  • Confirm the CPQ managed package (SBQQ__) is installed and the Quote Process and Process Input objects exist.
  • Identify every Product2 field the wizard filters on. For custom fields, plan a field with the same API name on the Process Input object (see Core Concepts).
  • Decide whether plain guided selling is enough, or whether the product search plugin is needed: Enhanced mode (the plugin appends a WHERE clause) or Custom mode (the plugin builds the whole query).
  • Decide how the Quote Process is chosen: the org default, or set per quote (SBQQ__Quote__c.SBQQ__QuoteProcessId__c).
  • Decide whether Auto Select Product should add the single match automatically.

Questions to Ask Before Configuring

Ask these before creating a Quote Process. Each one traces to a gotcha in references/gotchas.md.

QuestionWhy it mattersWhat a good answer addsWhat proper configuration adds over just doing it
"Is this org staying on CPQ, or moving to Revenue Cloud?"The CPQ package has no new feature development (gotcha 1)A decision on how much to invest in custom plugin codeEffort spent where the platform is still developed
"Which Product2 fields do the questions filter on, and are any custom?"Custom fields need a same-name field on Process Input (gotcha 2)A field list with types, mirrored where customAnswers that actually filter instead of returning the whole catalog
"Can every answer be expressed as a simple field filter, or is extra logic needed (inventory, region, ranking)?"Extra logic means the product search plugin, in Enhanced or Custom mode (gotcha 3)The plugin mode, or a decision not to use oneNo Apex where configuration was enough, and correct Apex where it was not
"Which quote fields would plugin logic need?"Plugins see only a subset of quote fields by default; others need SOQL (gotcha 4)The quote fields the plugin must queryPlugin logic that works on the first quote
"Should a bundle be pre-configured from the answers?"The configuration initializer works only for standard product option fields (gotcha 6)Which option fields the answers setNo initializer built for fields it cannot set
"Do all possible single matches have a price book entry in every price book used?"Auto Select can fail on a missing entry (gotcha 7)A price book coverage checkAuto Select that adds a line instead of raising an error

What a proper configuration adds over "just turning on the wizard": every answer narrows the catalog as intended, plugin code exists only where configuration cannot express the rule, and reps never see an unexplained empty or unfiltered result.


Core Concepts

Quote Process and the Guided Selling Wizard

A Quote Process record (SBQQ__QuoteProcess__c) holds the wizard configuration; its Process Input records (SBQQ__ProcessInput__c) are the questions. A quote records the quote process it uses in SBQQ__QuoteProcessId__c (CPQ Developer Guide, quote model JSON). The quote process can also name a Product Search Executor (a Visualforce page that further filters guided selling results) and a Product Configuration Initializer (a Visualforce page that preselects bundle options from the answers); both are entered as c__ followed by the page name.

UNVERIFIED (2026-10-03): earlier versions of this skill said the wizard activates only when SBQQ__GuidedProductSelection__c is true, that the org default is set in CPQ Settings, and that a price book can carry its own quote process in Pricebook2.SBQQ__GuidedSelling__c. These are help-only claims; confirm the field and setting names in the org.

Process Input Questions and Field Mapping

Each Process Input defines one question: its label, order, whether it is active and required, how the rep answers, the Product2 field it filters, and the operator. The plugin guide confirms the runtime shape: the answers reach the plugin as a map whose "key is a Product2 API name and the value is the desired search value". UNVERIFIED (2026-10-03): the field-level detail of how CPQ stores each answer on the Process Input record is help-only.

Custom Classification Field Mirroring

When a question filters on a custom Product2 field (for example Deployment_Model__c), earlier versions of this skill state that a field with the identical API name and a compatible type must exist on SBQQ__ProcessInput__c, and that without it the question silently applies no filter. UNVERIFIED (2026-10-03): this mechanism is help-only. It is the first thing to check when answers return the whole catalog, and the mirror field is deployable metadata (see references/metadata-examples.md).

Standard, Enhanced, and Custom Search

ModeWhat runsGrounding
StandardCPQ's own filter from the Process Input answers, no pluginUNVERIFIED (2026-10-03): help-only
EnhancedCPQ's query plus a WHERE fragment returned by getAdditionalSuggestFilters(quote, fieldValuesMap)CPQ Plugins Guide: isSuggestCustom returning false selects Enhanced searching
CustomThe plugin's suggest(quote, fieldValuesMap) builds and runs the whole query and returns List<PricebookEntry>CPQ Plugins Guide: isSuggestCustom returning true selects Custom searching

The guided selling interface of SBQQ.ProductSearchPlugin has five methods: isInputHidden(quote, fieldName), getInputDefaultValue(quote, fieldName), isSuggestCustom(quote, fieldValuesMap), suggest(quote, fieldValuesMap), and getAdditionalSuggestFilters(quote, fieldValuesMap). CPQ calls isInputHidden and getInputDefaultValue for each input, then isSuggestCustom, then either suggest or getAdditionalSuggestFilters. Earlier versions of this skill described a search(SBQQ.ProductSearchContext ctx) method returning List<Id>; that signature is not in the guide. UNVERIFIED (2026-10-03): the claim that Enhanced mode renders multi-select questions with OR matching is help-only.

Auto Select Product

When Auto Select is on and the answers return exactly one product, CPQ adds it to the quote without showing the results list. With zero matches the wizard shows an empty result; with two or more it shows the results grid. UNVERIFIED (2026-10-03): this behavior and the field name SBQQ__AutoSelectProduct__c are help-only.


Common Patterns

Pattern: Guided Selling with Custom Classification Fields

When to use: The catalog has custom classification fields (industry, deployment model, service tier) and reps should narrow it with dropdown questions.

How it works:

  1. Create the custom fields on Product2.
  2. Create same-name, same-type fields on SBQQ__ProcessInput__c (deployable, see references/metadata-examples.md).
  3. Populate the classification fields on every product that should appear.
  4. Create the Quote Process for guided selling.
  5. Create one Process Input per question, pointing at the Product2 field API name.
  6. Make the Quote Process the default or assign it to the quotes that need it.
  7. Test from a quote with Add Products, answering every question.

Pattern: Enhanced Mode for a Business Rule the Questions Cannot Express

When to use: Reps answer the questions, but the results must also respect a rule they do not control, such as "urgent shipments only show products with inventory above 3".

How it works: Implement SBQQ.ProductSearchPlugin with isSuggestCustom returning false, and return an extra WHERE fragment from getAdditionalSuggestFilters (the guide's own example returns AND Product2.Inventory_Level__c > 3 when the "Urgent Shipment" input is "Yes"). Register the class on the Plugins tab of the CPQ package settings. UNVERIFIED (2026-10-03): the guide describes that tab for the quote calculator and recommended products plugins but does not name the product search plugin field. The full class, test, and manifest are in references/metadata-examples.md.


Decision Guidance

SituationRecommended ApproachReason
Filter on standard Product2 fieldsPoint the question at the standard field API nameNo mirror field needed
Filter on a custom Product2 fieldMirror field with the same API name on Process InputRequired for the answer to filter (help-only mechanism)
Extra rule the rep does not controlPlugin in Enhanced mode (getAdditionalSuggestFilters)CPQ keeps its query; the plugin appends a WHERE fragment
Results need external data or rankingPlugin in Custom mode (suggest)The plugin owns the whole query and returns price book entries
Results need a post-filter the rep cannot overrideProduct Search Executor on the quote processA Visualforce page that filters guided selling results
Answers should preselect bundle optionsProduct Configuration InitializerWorks only for standard product option fields
New implementation, no CPQ yetEvaluate Revenue CloudThe CPQ package has no new feature development

Recommended Workflow

  1. Confirm the platform and fields. CPQ installed and staying in use; every filter field listed; custom fields flagged for mirroring; every CPQ field API name confirmed in Object Manager.
  2. Deploy the mirror fields. Create the same-name fields on SBQQ__ProcessInput__c from metadata, with field-level security for the users who run the wizard.
  3. Populate classification data. Every product that should appear has values on the filter fields; null values never match an equals filter.
  4. Create the Quote Process and Process Inputs. One input per question, pointing at Product2 field API names.
  5. Add plugin logic only if needed. Enhanced mode for appended filters, Custom mode for full control. Use bind variables, query any quote fields the plugin needs, and register the class on the Plugins tab of the CPQ package settings.
  6. Activate and test. Make the Quote Process the default or assign it, then test every question with matching, non-matching, and blank answers, and test Auto Select against every price book.

Review Checklist

  • CPQ field API names confirmed in Object Manager (help-only names flagged in this skill)
  • Every custom Product2 filter field has a same-name field on SBQQ__ProcessInput__c, with field-level security granted
  • Filter fields populated on every product that should appear
  • Plugin used only where questions cannot express the rule; mode (Enhanced or Custom) documented
  • Plugin SOQL uses bind variables, not string concatenation
  • Quote fields the plugin needs are queried explicitly
  • Quote Process activated (default or assigned)
  • Auto Select tested against every price book in use
  • End-to-end wizard test completed in a sandbox

Salesforce-Specific Gotchas

The deep versions, with sources, live in references/gotchas.md.

#GotchaOne-line consequence
1CPQ package has no new feature developmentLarge new investments may be stranded
2Missing mirror field returns the whole catalogNo error, just unfiltered results
3Enhanced and Custom are plugin modes chosen by isSuggestCustomWrong method gets ignored
4Plugins see only some quote fieldsLogic fails on null quote values
5The guide's sample plugin concatenates strings into SOQLCopying it invites SOQL injection
6Initializer sets only standard product option fieldsCustom option fields stay unset
7Auto Select needs a price book entry for the single matchRep sees an error instead of a line
8Null classification values never match equals filtersValid products disappear

Output Artifacts

ArtifactDescription
Quote Process recordGuided selling configuration, with executor and initializer if used
Process Input recordsOne per question; label, field, operator, order, required
Mirror custom fields on Process InputDeployable CustomField metadata matching Product2 API names
Product search plugin (if needed)Apex class implementing SBQQ.ProductSearchPlugin, with test
Guided selling configuration checklistSetup decisions and test results

Related Skills

  • admin/cpq-product-catalog-setup: Product2 catalog and bundles before guided selling
  • admin/products-and-pricebooks: standard Product2 and price book setup that guided selling filters
  • admin/cpq-pricing-rules: price rules and discount schedules applied after selection
  • admin/quote-to-cash-requirements: whether guided selling is the right selection mechanism
  • apex/cpq-apex-plugins: deeper plugin development beyond the guided selling interface

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 Guided Selling làm được gì?

Use this skill when configuring or troubleshooting the Salesforce CPQ Guided Selling wizard: Quote Process records, ProcessInput questions that filter products by field value, mapping answers to Product2 classification fields, and search type choice (Standard, Enhanced, Custom). Trigger keywords: CPQ guided selling, quote process wizard, product selection wizard, SBQQ__QuoteProcess__c, SBQQ__ProcessInput__c, guided product selection, auto select product, product search plugin. NOT for bundles, product options, or product rules — use admin/cpq-product-catalog-setup. NOT for writing a custom...

Vì sao nên dùng Cpq Guided Selling 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 Guided Selling 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 Guided Selling 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-guided-selling. 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 Guided Selling?

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 Guided Selling 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 Guided Selling 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 Guided Selling 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 👇