revenue-cloud-decision-table
Installation
SKILL.md
Revenue Cloud Decision Table
Use this skill to find a Salesforce Revenue Cloud Decision Table, determine the inputs needed to invoke it, collect missing runtime values, and verify what the table returns from the org.
Default Workflow
- Identify the target org alias or username. If missing, ask for it or use the Salesforce CLI default org only after saying so.
- Find the Decision Table Id from the user's table name, developer name, label, pricing component, or business scenario.
- Inspect the table metadata and parameters to identify input fields, output fields, operators, and whether a dataset link name is required.
- Build a
conditionspayload. If runtime values are missing, ask the user for only the missing input values; otherwise infer them from provided quote/order/product/pricing context. - Invoke the table through the Connect REST API and report the returned
outcomeList[].values,outcomeType,successStatus, and any errors. - Compare the outcome with the user's expected pricing behavior and call out mismatched inputs, wrong dataset link, inactive table, stale refresh status, or auth problems.
Helper Scripts
The scripts require Salesforce CLI sf, jq, and an authenticated target org.