Skip to content

forcedotcom/sf-skills / skills/crm-analytics-wave-generate

crm-analytics-wave-generate

Verified

Use to build a Wave Recipe, deploy a CRM Analytics dataset or dashboard, or author the full CRMA asset stack — apps, Wave Recipes (.wdpr), datasets, and dashboards — against a connected Salesforce org via REST and Metadata APIs, without CRM Analytics Studio or Dashboard Builder. TRIGGER when: user asks to build or create a Wave Recipe, generate a .wdpr or .wdpr-meta.xml, deploy a .wdash or .wapp, run a recipe or dataflowjob programmatically, upload CSV data via InsightsExternalData, validate a dataset schema with synthetic data, fetch dataset XMD, audit dashboard SAQL re-encoding, or find unused dataset fields. TRIGGER on keywords: Wave Recipe, CRMA, CRM Analytics, wdpr, wdash, wapp, WaveRecipe, Wave dataflow, dataflowjob, InsightsExternalData, SAQL, dataset XMD, Analytics Studio, R3 format, wave/recipes, wave/dashboards, or analytics on Salesforce objects (opportunities, leads, cases, accounts, sales). DO NOT TRIGGER for standard Salesforce reports or LWC components unrelated to CRM Analytics.

examples/industry-binding-dashboard.wdash

View on GitHub
{
    "dataSourceLinksInfo": {},
    "gridLayouts": [
        {
            "name": "default",
            "numColumns": 24,
            "pages": [
                {
                    "label": "Page 1",
                    "name": "Page_1",
                    "navigationHidden": false,
                    "widgets": [
                        { "name": "wgt_industry_filter", "row": 0, "column": 0, "colspan": 6, "rowspan": 4 },
                        { "name": "wgt_kpi", "row": 0, "column": 6, "colspan": 18, "rowspan": 4 },
                        { "name": "wgt_accounts", "row": 4, "column": 0, "colspan": 24, "rowspan": 9 }
                    ]
                }
            ]
        }
    ],
    "widgets": {
        "wgt_industry_filter": {
            "type": "listselector",
            "parameters": { "step": "step_industry_sel" }
        },
        "wgt_kpi": {
            "type": "number",
            "parameters": { "step": "step_kpi", "measureField": "TotalRevenue" }
        },
        "wgt_accounts": {
            "type": "chart",
            "parameters": { "step": "step_accounts", "visualizationType": "hbar" }
        }
    },
    "steps": {
        "step_industry_sel": {
            "type": "saql",
            "query": "q = load \"DTS_PipelineByIndustry\"; q = group q by 'Account.Industry'; q = foreach q generate 'Account.Industry' as 'Industry'; q = order q by 'Industry' asc;",
            "broadcastFacet": false,
            "useGlobal": false,
            "selectMode": "single",
            "groups": [],
            "numbers": [],
            "strings": []
        },
        "step_kpi": {
            "type": "saql",
            "query": "q = load \"DTS_PipelineByIndustry\"; q = filter q by {{column(step_industry_sel.selection, [\"Industry\"]).asEquality(\"Account.Industry\")}}; q = group q by all; q = foreach q generate sum('TotalRevenue') as 'TotalRevenue';",
            "broadcastFacet": false,
            "useGlobal": false,
            "selectMode": "single",
            "groups": [],
            "numbers": [],
            "strings": []
        },
        "step_accounts": {
            "type": "saql",
            "query": "q = load \"DTS_PipelineByIndustry\"; q = filter q by {{column(step_industry_sel.selection, [\"Industry\"]).asEquality(\"Account.Industry\")}}; q = group q by 'Account.Name'; q = foreach q generate 'Account.Name' as 'AccountName', sum('TotalRevenue') as 'TotalRevenue'; q = order q by 'TotalRevenue' desc; q = limit q 10;",
            "broadcastFacet": false,
            "useGlobal": false,
            "selectMode": "single",
            "groups": [],
            "numbers": [],
            "strings": []
        }
    }
}
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall