pricing-wiring

Wires Revenue Cloud pricing recipes, procedure plans, and feature overlays in dependency order.

5|3|Updated Sep 9, 2026
One-click install
npx skills add https://github.com/SalesforceLabs/revenue-cloud-foundations --skill pricing-wiring-salesforcelabs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pricing-wiring
Source: https://github.com/SalesforceLabs/revenue-cloud-foundations/tree/main/.cursor/skills/pricing-wiring
Command: npx skills add https://github.com/SalesforceLabs/revenue-cloud-foundations --skill pricing-wiring-salesforcelabs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Pricing changes in Salesforce Revenue Cloud span recipes, recipe-table mappings, expression set procedures, procedure plans, and context definitions, and deploying them in the wrong order causes silent failures like invalid lookup table errors, stale decision tables, and wrong-currency pricing. ## Core Features & Use Cases - Dependency-Ordered Layering: Separates core, feature, and overlay layers so recipe mappings, procedures, and plan overlays deploy in a safe, idempotent sequence. - Procedure Plan Overlays: Applies JSON-driven plan overlays with deactivate/reactivate cycles, anchor-based section placement, and collision-safe resequencing. - Troubleshooting Playbooks: Diagnoses stale decision tables via LastSyncDate comparison, multicurrency lookup gaps, and generic expression set deploy errors. - Use Case: When adding a PRM pricing feature pack, wire its recipe-table mapping task before the expression set deploy, apply the procedure plan overlay, and validate with the provided cci and sf CLI commands. ## Quick Start Ask the agent to wire a new pricing feature pack's recipe-table mappings and procedure plan overlay into the deployment flow in dependency order.

Frequently Asked Questions about pricing-wiring

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy Salesforce pricing procedures in the correct order?

Deploy in this sequence: refresh decision tables, ensure core recipe mappings, deploy core procedures, ensure feature mappings, deploy feature procedures, apply context updates, then apply plan overlays. This prevents lookup table validation failures caused by missing prerequisites.

Why does my pricing procedure fail with 'lookup table in the ListPrice step is valid' error?

This error occurs when the PricingRecipeTableMapping row is missing even though the decision table exists and is active. Check placeholder resolution, decision table existence, the recipe-to-table mapping row, and the mapping component type in that order.

Why is my decision table returning stale pricing data?

Decision tables are point-in-time snapshots, so rows written after the last refresh are invisible to pricing. Compare each table's LastSyncDate against its own source object's MAX(LastModifiedDate), reproducing the table's source criteria, and run a refresh task if stale.

Can I deploy expression sets with sf project deploy directly?

No, expression sets containing __LOOKUPID_*__ placeholder tokens fail via raw sf project deploy because placeholders are not valid record IDs. Use cci task run deploy_expression_sets, which applies find_replace transforms to resolve placeholders to real DecisionTable IDs first.

Why does my multicurrency org return wrong-currency prices?

A lookup step without CurrencyIsoCode as an input matches the first row regardless of currency, silently returning a plausible but wrong price. Add CurrencyIsoCode to every lookup step resolving currency-denominated values and wire currency inheritance via before-save flows.

When should I use the expression-sets skill instead of pricing-wiring?

Use the expression-sets skill for authoring or CRUD'ing pricing procedures themselves, including Connect API versus Metadata API choices and the activation lifecycle. Use pricing-wiring for where that work fits in the pricing layering model and flow order.