Analytics Requirements Gathering
This skill activates when a practitioner needs to gather, document, and validate CRM Analytics requirements before any dataset, dataflow, or dashboard is built. It produces a structured requirements package — data source inventory, audience matrix, transformation requirements, and drill-down specifications — that the analytics developer uses as the authoritative spec.
Before Starting
Gather this context before working on anything in this domain:
- The first question to answer: Do stakeholders need CRM Analytics or standard Reports and Dashboards? CRM Analytics is appropriate for cross-object aggregation, predictive insights, and multi-audience views. For simple single-object reports with no cross-object joins, standard Reports are the correct (and license-free) choice.
- CRM Analytics requires Salesforce CRM Analytics Growth or Plus license. Confirm the org has the required license before committing to CRM Analytics.
- The most common wrong assumption: practitioners assume synced Salesforce objects are immediately usable as CRM Analytics data sources without a dataset step. Every data source (Salesforce object sync, external file, Data Cloud Direct) requires a dataflow or recipe to create a dataset before it can be queried.
- Requirements must capture data source type (Salesforce object sync vs external connector vs Data Cloud direct vs CSV/External Data API) — this determines whether a recipe or a dataflow runs the transformation.
Core Concepts
Data Source Types
CRM Analytics has four distinct data source types with different setup requirements:
| Source type |
Setup |
| Salesforce object sync |
Direct connection to Salesforce standard and custom objects; configured in Data Manager; requires a dataflow or recipe to create a dataset |
| External connector |
Snowflake, AWS S3, Google BigQuery, etc.; requires Named Credential and Connector setup; data pulled via recipe |
| Data Cloud Direct |
Real-time query of Data Cloud Data Model Objects (DMOs) without dataset creation; available in Spring '25+ for specific query patterns; does not support all SAQL operations |
| CSV/External Data API |
Static file upload; creates a dataset directly; requires manual or API-driven refresh |
Requirements must specify which type each data source is — the implementation path differs significantly.
Audience-Specific Views
CRM Analytics supports multiple access patterns for different audiences:
- Sharing inheritance — Row-level security inherited from Salesforce record sharing
- Predicate-based row-level security — Custom SAQL predicates filtering data to the viewing user's role or territory
- Separate dashboards per audience — Different dashboard designs for different roles (e.g., VP dashboard vs rep dashboard)
Requirements must document which rows each audience can see and whether they need different visualizations or just different filtered views of the same data.
Transformation Requirements
Raw Salesforce object data often requires transformation before it is useful in CRM Analytics:
- Field remapping and renaming for consistent naming across datasets
- Computed fields (revenue tiers, fiscal period labels, region groupings)
- Dataset joins (Account + Opportunity joined dataset)
- Date dimension augmentation (fiscal year/quarter derived from CloseDate)
Requirements must specify each transformation explicitly — the developer cannot infer them from field names alone.
Common Patterns
Pattern: Data Source Mapping Matrix
When to use: At the start of every CRM Analytics requirements engagement — before any dataset or recipe is designed.
How it works:
- List all data sources stakeholders need in the analytics
- For each source: identify the type (Salesforce object / external connector / Data Cloud / CSV), the connection mechanism, and the refresh frequency required
- For Salesforce objects: list all fields needed (not just the objects) — unnecessary fields increase dataset size and dataflow runtime
- For external connectors: confirm Named Credential and connector setup exists or is in scope
Why not the alternative: Leaving data source type unspecified causes the developer to choose the connection mechanism arbitrarily, which leads to wrong refresh cadence or missing incremental update configuration.
Pattern: Audience Matrix
When to use: When more than one user role will access the analytics and they should see different data or layouts.
How it works:
- List all user roles/personas
- For each role: document what data rows they can see (all data / own territory / direct reports / etc.)
- For each role: document whether they need a different dashboard layout or just a filtered view of a shared dashboard
- Specify the row-level security mechanism: sharing inheritance, SAQL predicate, or separate org-wide defaults
Decision Guidance
| Situation |
Recommended Approach |
Reason |
| Single-object reporting with filters and grouping |
Standard Reports and Dashboards |
No CRM Analytics license required; covers single-object use cases natively |
| Cross-object aggregation (Opp + Account + Activity) |
CRM Analytics |
Standard Reports cannot join three or more objects efficiently |
| Predictive scoring or trend analysis |
CRM Analytics with Einstein Discovery |
Predictive capabilities require CRM Analytics license |
| Data from external databases (Snowflake, BigQuery) |
CRM Analytics external connector |
External data cannot feed standard Reports |
| Real-time Data Cloud data |
Data Cloud Direct connection in CRM Analytics |
Spring '25+ feature; check if applicable query patterns are supported |
| Different views for VP vs individual rep |
CRM Analytics with audience-specific predicate or separate dashboards |
Standard Dashboards have limited row-level security |
Recommended Workflow
Step-by-step instructions for an AI agent or practitioner working on this task:
- Qualify the platform decision.
- Determine whether CRM Analytics is required or if standard Reports can serve the need — document this decision with the rationale.
- Confirm CRM Analytics license availability in the org before proceeding.
- List all reporting questions stakeholders need the analytics to answer — these drive the data model.
- Build the data source matrix.
- For each reporting question: identify the data source type (Salesforce object sync / external connector / Data Cloud / CSV) and document it in the matrix.
- For each data source: list the specific fields needed (not just the object) — unnecessary fields increase dataflow runtime.
- Document transformation requirements: joins needed, computed fields, date dimension derivations, and field renames for consistency.
- Define audience and navigation.
- Build the audience matrix: list all user roles, what rows each can see, and whether they need different layouts.
- Specify drill-down paths: for each summary visualization, document what level of detail users should be able to drill into.
- Review with stakeholders and the developer to confirm the requirements are complete and buildable before dataset design begins.
Review Checklist
Run through these before marking work in this area complete:
Salesforce-Specific Gotchas
Non-obvious platform behaviors that cause real production problems:
- Synced objects are not immediately usable — a dataset step is required — Enabling Salesforce object sync in CRM Analytics Data Manager does not create a queryable dataset. The sync brings data into the analytics storage layer, but a dataflow or recipe must run to create a dataset from the synced object. Requirements that say "use the Opportunity object" without specifying the dataset creation step leave a gap in the developer's understanding.
- Data Cloud Direct query does not support all SAQL operations — Spring '25+ Data Cloud Direct connection allows real-time queries of Data Cloud DMOs without a dataset, but not all SAQL operations are supported (no recipe transforms, limited GROUP BY patterns). Requirements that specify Data Cloud Direct must confirm that the required query patterns are supported.
- External connector data does not support incremental refresh by default — External connector data sources pull full datasets on each recipe run unless incremental refresh is explicitly configured. Large external tables (millions of rows) run slowly with full refreshes. Requirements must specify whether incremental refresh is needed and whether the external source supports a reliable watermark field.
Output Artifacts
| Artifact |
Description |
| CRM Analytics requirements document |
Data source inventory, transformation needs, audience matrix, drill-down paths |
| Data source mapping matrix |
Per-source table of type, connection, fields needed, refresh cadence |
| Audience matrix |
User roles mapped to row-level security rules and dashboard view requirements |
| CRM Analytics vs Reports decision record |
Documented decision with rationale and license confirmation |
Related Skills
admin/analytics-kpi-definition — use after requirements gathering to define KPI formulas and targets before build
admin/saql-query-development — downstream implementation skill using requirements from this document
admin/requirements-gathering-for-sf — general Salesforce requirements gathering companion skill
1---2name: analytics-requirements-gathering3description: Use this skill to elicit, document, and validate CRM Analytics requirements — covering data source mapping (Salesforce object sync vs external connector vs Data Cloud), transformation needs, audience-specific lens or dashboard views, and drill-down path specifications — before any dataset or dashboard is built. Trigger keywords: CRM Analytics requirements, analytics data source mapping, CRM Analytics audience requirements, analytics visualization requirements. NOT for the formula and target behind each KPI — use admin/analytics-kpi-definition. NOT for building the dashboard once requirements are agreed — use admin/analytics-dashboard-design.4---56# Analytics Requirements Gathering78This skill activates when a practitioner needs to gather, document, and validate CRM Analytics requirements before any dataset, dataflow, or dashboard is built. It produces a structured requirements package — data source inventory, audience matrix, transformation requirements, and drill-down specifications — that the analytics developer uses as the authoritative spec.910---1112## Before Starting1314Gather this context before working on anything in this domain:1516- The first question to answer: Do stakeholders need CRM Analytics or standard Reports and Dashboards? CRM Analytics is appropriate for cross-object aggregation, predictive insights, and multi-audience views. For simple single-object reports with no cross-object joins, standard Reports are the correct (and license-free) choice.17- CRM Analytics requires Salesforce CRM Analytics Growth or Plus license. Confirm the org has the required license before committing to CRM Analytics.18- The most common wrong assumption: practitioners assume synced Salesforce objects are immediately usable as CRM Analytics data sources without a dataset step. Every data source (Salesforce object sync, external file, Data Cloud Direct) requires a dataflow or recipe to create a dataset before it can be queried.19- Requirements must capture data source type (Salesforce object sync vs external connector vs Data Cloud direct vs CSV/External Data API) — this determines whether a recipe or a dataflow runs the transformation.2021---2223## Core Concepts2425### Data Source Types2627CRM Analytics has four distinct data source types with different setup requirements:2829| Source type | Setup |30|---|---|31| Salesforce object sync | Direct connection to Salesforce standard and custom objects; configured in Data Manager; requires a dataflow or recipe to create a dataset |32| External connector | Snowflake, AWS S3, Google BigQuery, etc.; requires Named Credential and Connector setup; data pulled via recipe |33| Data Cloud Direct | Real-time query of Data Cloud Data Model Objects (DMOs) without dataset creation; available in Spring '25+ for specific query patterns; does not support all SAQL operations |34| CSV/External Data API | Static file upload; creates a dataset directly; requires manual or API-driven refresh |3536Requirements must specify which type each data source is — the implementation path differs significantly.3738### Audience-Specific Views3940CRM Analytics supports multiple access patterns for different audiences:41- **Sharing inheritance** — Row-level security inherited from Salesforce record sharing42- **Predicate-based row-level security** — Custom SAQL predicates filtering data to the viewing user's role or territory43- **Separate dashboards per audience** — Different dashboard designs for different roles (e.g., VP dashboard vs rep dashboard)4445Requirements must document which rows each audience can see and whether they need different visualizations or just different filtered views of the same data.4647### Transformation Requirements4849Raw Salesforce object data often requires transformation before it is useful in CRM Analytics:50- Field remapping and renaming for consistent naming across datasets51- Computed fields (revenue tiers, fiscal period labels, region groupings)52- Dataset joins (Account + Opportunity joined dataset)53- Date dimension augmentation (fiscal year/quarter derived from CloseDate)5455Requirements must specify each transformation explicitly — the developer cannot infer them from field names alone.5657---5859## Common Patterns6061### Pattern: Data Source Mapping Matrix6263**When to use:** At the start of every CRM Analytics requirements engagement — before any dataset or recipe is designed.6465**How it works:**661. List all data sources stakeholders need in the analytics672. For each source: identify the type (Salesforce object / external connector / Data Cloud / CSV), the connection mechanism, and the refresh frequency required683. For Salesforce objects: list all fields needed (not just the objects) — unnecessary fields increase dataset size and dataflow runtime694. For external connectors: confirm Named Credential and connector setup exists or is in scope7071**Why not the alternative:** Leaving data source type unspecified causes the developer to choose the connection mechanism arbitrarily, which leads to wrong refresh cadence or missing incremental update configuration.7273### Pattern: Audience Matrix7475**When to use:** When more than one user role will access the analytics and they should see different data or layouts.7677**How it works:**781. List all user roles/personas792. For each role: document what data rows they can see (all data / own territory / direct reports / etc.)803. For each role: document whether they need a different dashboard layout or just a filtered view of a shared dashboard814. Specify the row-level security mechanism: sharing inheritance, SAQL predicate, or separate org-wide defaults8283---8485## Decision Guidance8687| Situation | Recommended Approach | Reason |88|---|---|---|89| Single-object reporting with filters and grouping | Standard Reports and Dashboards | No CRM Analytics license required; covers single-object use cases natively |90| Cross-object aggregation (Opp + Account + Activity) | CRM Analytics | Standard Reports cannot join three or more objects efficiently |91| Predictive scoring or trend analysis | CRM Analytics with Einstein Discovery | Predictive capabilities require CRM Analytics license |92| Data from external databases (Snowflake, BigQuery) | CRM Analytics external connector | External data cannot feed standard Reports |93| Real-time Data Cloud data | Data Cloud Direct connection in CRM Analytics | Spring '25+ feature; check if applicable query patterns are supported |94| Different views for VP vs individual rep | CRM Analytics with audience-specific predicate or separate dashboards | Standard Dashboards have limited row-level security |9596---9798## Recommended Workflow99100Step-by-step instructions for an AI agent or practitioner working on this task:1011021. **Qualify the platform decision.**103 - Determine whether CRM Analytics is required or if standard Reports can serve the need — document this decision with the rationale.104 - Confirm CRM Analytics license availability in the org before proceeding.1052. **List all reporting questions** stakeholders need the analytics to answer — these drive the data model.1063. **Build the data source matrix.**107 - For each reporting question: identify the data source type (Salesforce object sync / external connector / Data Cloud / CSV) and document it in the matrix.108 - For each data source: list the specific fields needed (not just the object) — unnecessary fields increase dataflow runtime.1094. **Document transformation requirements:** joins needed, computed fields, date dimension derivations, and field renames for consistency.1105. **Define audience and navigation.**111 - Build the audience matrix: list all user roles, what rows each can see, and whether they need different layouts.112 - Specify drill-down paths: for each summary visualization, document what level of detail users should be able to drill into.1136. **Review with stakeholders and the developer** to confirm the requirements are complete and buildable before dataset design begins.114115---116117## Review Checklist118119Run through these before marking work in this area complete:120121- [ ] CRM Analytics vs standard Reports decision documented with rationale122- [ ] CRM Analytics license confirmed123- [ ] All data sources identified with type (object sync / external / Data Cloud / CSV)124- [ ] Field-level requirements documented for each data source (not just object names)125- [ ] Transformation requirements specified (joins, computed fields, date dimensions)126- [ ] Audience matrix complete with row-level security specification127- [ ] Drill-down paths documented for each summary visualization128- [ ] Refresh cadence specified for each data source129130---131132## Salesforce-Specific Gotchas133134Non-obvious platform behaviors that cause real production problems:1351361. **Synced objects are not immediately usable — a dataset step is required** — Enabling Salesforce object sync in CRM Analytics Data Manager does not create a queryable dataset. The sync brings data into the analytics storage layer, but a dataflow or recipe must run to create a dataset from the synced object. Requirements that say "use the Opportunity object" without specifying the dataset creation step leave a gap in the developer's understanding.1372. **Data Cloud Direct query does not support all SAQL operations** — Spring '25+ Data Cloud Direct connection allows real-time queries of Data Cloud DMOs without a dataset, but not all SAQL operations are supported (no recipe transforms, limited GROUP BY patterns). Requirements that specify Data Cloud Direct must confirm that the required query patterns are supported.1383. **External connector data does not support incremental refresh by default** — External connector data sources pull full datasets on each recipe run unless incremental refresh is explicitly configured. Large external tables (millions of rows) run slowly with full refreshes. Requirements must specify whether incremental refresh is needed and whether the external source supports a reliable watermark field.139140---141142## Output Artifacts143144| Artifact | Description |145|---|---|146| CRM Analytics requirements document | Data source inventory, transformation needs, audience matrix, drill-down paths |147| Data source mapping matrix | Per-source table of type, connection, fields needed, refresh cadence |148| Audience matrix | User roles mapped to row-level security rules and dashboard view requirements |149| CRM Analytics vs Reports decision record | Documented decision with rationale and license confirmation |150151---152153## Related Skills154155- `admin/analytics-kpi-definition` — use after requirements gathering to define KPI formulas and targets before build156- `admin/saql-query-development` — downstream implementation skill using requirements from this document157- `admin/requirements-gathering-for-sf` — general Salesforce requirements gathering companion skill