Loading...
Loading...
End-to-end headless setup of Trade Promotion Effectiveness (TPE) dashboards for a Trade Promotion Management (TPM) Cloud org, covering tenant pairing checks, permission sets, SSOT and Tableau Next enablement, C360 SDM verification, the TPM Accruals data kit install, business-period export, RTR Data Cloud export configuration, the TPM_PROMOTION_MEASURE Data Transform, TPE Analytics app install, and optional KPI dashboard customization. Use when a customer or admin wants to set up TPE dashboards, enable Trade Promotion Effectiveness, install the TPE analytics app, or set up and customize TPE dashboards with their own KPIs.
npx skill4agent add forcedotcom/sf-skills consumer-goods-tpe-dashboard-configuresfSKILL.mdconsumer-goods-tpe-datakit-deployconsumer-goods-rtr-datacloud-export-configureconsumer-goods-tpe-dashboard-custom-kpi-configuresfnode ./scripts/sf-rest.js org-status --target-org <username>sf org display --jsonreferences/phases-1-6.mdpending — not run (dry-run)references/phases-1-6.md| Phase | Step | Summary | Details |
|---|---|---|---|
| Setup | — | Collect inputs, detect namespace, version-gate the org | |
| 1 | Tenant pairing | Ask user to confirm Hyperforce Processing Service pairing (not verifiable programmatically) | |
| 2 | TPM Admin permission set(s) | Ask user to confirm org-specific persona permission sets are assigned | |
| 3 | GenieAdmin / TableauEinsteinAdmin | Query, and on confirmation assign, these two permission sets | |
| 4 | SSOT package | Verify the | |
| 5 | Enable Tableau Next | Ask user to confirm manual UI enablement (not verifiable programmatically) | |
| 6 | C360 SDM | Verify or trigger + poll the C360 Unified Semantic Model app install | |
| 7 | TPM Accruals Data Kit | Delegated to | |
| 8 | Business Period export | Anonymous-Apex export via a Hyperforce-substrate Sales Org, poll, then confirm the | |
| 9 | RTR Data Cloud export | Delegated to | |
| 10 | TPM_PROMOTION_MEASURE Data Transform | Ask (credit consumption), then run and poll the Data Transform | |
| 11 | TPE Analytics App install | Trigger + poll the async app-framework install (~15-20 min) | |
| 12 | Customize KPIs (optional) | Delegated to | |
references/phases-7-12.mdscripts/poll-status.jsscripts/sf-rest.jsorg-statusaccessTokenscripts/poll-status.jsscripts/find-failure-reason.jsFailedStatusscripts/render-apex.js--varscripts/soql-escape.jsscripts/soql-escape.jsscripts/run-data-transform.jsscripts/schedule-business-period-export.apex