arohitu/salesforce-revenue-cloud-skills

salesforce-revenue-cloud-pricing

Helps design, implement, debug, and explain Salesforce Revenue Cloud pricing logic.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/arohitu/salesforce-revenue-cloud-skills --skill salesforce-revenue-cloud-pricing

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

Salesforce Revenue Cloud Pricing

Use this skill for Salesforce Revenue Cloud and Agentforce Revenue Management pricing work. Prefer out-of-the-box Salesforce Pricing configuration first, then Apex hooks only when declarative pricing cannot express the requirement.

Route The Request

  • Building or changing pricing logic: read references/build-pricing.md.
  • Debugging an unexpected price, failed pricing API, or quote/order pricing issue: read references/debug-pricing.md.
  • Debugging a decision table runtime error where lookup returns no row or multiple rows: read references/debug-pricing.md, then use the revenue-cloud-pricing-diagnostics skill to trace the pricing element inputs and context mappings.
  • Analyzing how a price, total, discount, exchange rate, or pricing field is calculated in an existing implementation: use the revenue-cloud-pricing-diagnostics skill as the primary workflow, then read references/analyze-pricing.md here only for supplemental Salesforce Pricing setup context.
  • Explaining what pricing logic is already implemented at a high level: read references/analyze-pricing.md.

If the user has not provided enough context, ask for the business scenario, object/process being priced (quote, order, product discovery, headless API), expected result, actual result, relevant product/price book/selling model, org access method, and any pricing procedure/procedure plan names they already know.

Default Workflow

  1. Identify the pricing surface: quote/order runtime pricing, product discovery pricing, headless pricing API, or procedure plan execution.
  2. Establish the active entry point:
  • Product Discovery Settings pricing procedure for product discovery list prices.
  • Salesforce Pricing Setup pricing procedure for headless pricing calls.
  • Revenue Settings pricing procedure for quotes and orders.
  • Procedure Plan Definition when Procedure Plan Orchestration for Pricing is enabled.
  1. Map the pricing path from data to result: context definition and mappings, decision tables, pricing recipe, pricing procedure elements, procedure plan sections, and optional Apex hooks.
  2. Validate with simulation, Price Waterfall, Revenue Cloud Operations Console price logs, or Apex debug logs depending on the task.
  3. Report findings as a concise pricing trace: inputs, matching rules/tables, executed elements/hooks, outputs, and likely fix.

Ground Rules

  • Use the same context definition across pricing procedures and procedure plans.
  • Prefer predefined Salesforce Pricing artifacts, especially the Revenue Management Default Pricing Procedure, before creating custom procedures.
  • Use decision tables and pricing recipes for maintainable rule lookup; do not hardcode rules in Apex unless declarative pricing cannot meet the requirement.
  • For decision table ambiguity or no-match errors, the preferred fix is to make the table inputs resolve to exactly one business-valid row. Do not assume the business wants a checkbox/setting that allows fallback, first-match, or multiple-match behavior.
  • Ask users to enable advanced/debug logging only during active troubleshooting and to turn it off afterward.
  • When Apex hook logic is needed, place prehooks before the Pricing section and posthooks after it; avoid DML in hooks and keep queries narrow.

按任务相关推荐

来自同一仓库

更多 Skills

全部 Skills
arohitu
社区

revenue-cloud-decision-table

Finds and verifies Salesforce Revenue Cloud Decision Tables. Use when users need to locate a Decision Table Id, discover required Decision Table inputs, build conditionsList payloads, invoke business-rules decision-table lookup APIs, validate pricing lookup outcomes, or debug datasetLinkName and INVALIDAUTHHEADER issues.

安装量
1
GitHub Stars
21
最近更新
9月1日
arohitu
社区

revenue-cloud-config-apis

Reference and call the Salesforce Revenue Cloud (Revenue Lifecycle Management) Product Configurator Business APIs. Use when working with the CPQ configurator Connect REST resources - configuring a product bundle, loading/getting/setting/saving a configuration instance, adding/updating/deleting nodes, setting product quantity, or running configuration rules - and when the user mentions Revenue Cloud, RLM, Product Configurator, CPQ configurator, /connect/cpq/configurator, contextId, transactionId,

安装量
1
GitHub Stars
21
最近更新
9月1日
arohitu
社区

revenue-cloud-pcm

Salesforce Revenue Cloud Product Catalog Management (PCM) master data on core Salesforce objects for Agentforce Revenue Management, Revenue Cloud Advanced, and Revenue Cloud Billing. Use for any lookup, query, design, build, export, import, migration, CSV, sandbox load, troubleshooting, or analysis involving catalogs, categories, products, bundles, classifications, dynamic attributes, picklists, qualification/disqualification, selling models, Product Discovery, Product2, ProductCatalog, ProductC

安装量
1
GitHub Stars
21
最近更新
9月1日
arohitu
社区

revenue-cloud-pricing-diagnostics

Use this skill when dissecting Salesforce Revenue Cloud pricing in core Revenue Cloud orgs, tracing how a Quote, Order, Quote Line, or pricing field is populated, debugging pricing procedures, context definitions, context mappings, expression sets, pricing elements, decision tables, procedure plans, or Apex pricing hooks. Use it for Revenue Cloud pricing analysis even when the user asks generally how a price, total, discount, exchange rate, or field value is calculated. Do not use it for Salesfo

安装量
1
GitHub Stars
21
最近更新
9月1日