The Data Layer: Sync, Recipes & Datasets
The Data Layer: Sync, Recipes & Datasets
Everything impressive in CRM Analytics — snappy dashboards, instant filtering, machine-learning predictions — rests on a strong data layer. This layer does two jobs: it stores your data efficiently and it prepares that data into an analysis-ready shape. Get comfortable here and the rest of the platform makes sense. This lesson is a members lesson because it is where "using CRM Analytics" turns into "understanding CRM Analytics."
Data Sync: the staging layer
Before you can transform data, you have to bring it in. That is the job of Data Sync, sometimes called Connect. Think of it as a staging area: it reaches out to your sources and pulls their data into CRM Analytics as small, individual datasets — one per object or table you sync.
For the local Salesforce connection, Data Sync is especially smart:
- Incremental refresh — instead of reloading every record on every run, it fetches only what changed since last time. Faster syncs, lighter load.
- Filters — you can sync only the rows you actually need (for example, only opportunities from the last two years), keeping your staged data lean.
Preparing data: Dataflow vs. Recipes
Once data is staged, you shape it — join tables, compute fields, aggregate, filter, bucket. CRM Analytics gives you two tools for this, and knowing the difference is a classic interview topic.
The Dataflow editor is the original, legacy transformation engine. It is genuinely powerful and can express complex logic, but it is less user-friendly — a JSON-driven, node-based experience that takes some getting used to.
Data Prep / Recipes is the modern, drag-and-drop experience. You build a visual pipeline of transformation nodes, preview results as you go, and generally move faster with less friction. Salesforce has been investing heavily here, and Recipes is steadily moving toward feature parity with the dataflow. For new work, Recipes is the recommended path; you will still encounter dataflows in older orgs.
Datasets: the secret sauce
The output of all this preparation is the dataset — and datasets are the real "secret sauce" of CRM Analytics.
A dataset is optimized columnar storage. Unlike a traditional row-based transactional database (great for saving one record at a time), columnar storage is purpose-built for analytics: reading a few columns across millions of rows, filtering, and aggregating at lightning speed. This is precisely why CRM Analytics can filter a multi-million-row dashboard the instant you click, something a standard report struggles to match.
Key things to remember about datasets:
- They handle high volume gracefully.
- They deliver fast query performance because of the columnar design.
- They are the unit that dashboards, lenses, and stories all read from.
Keeping it running: monitoring data jobs
A data layer is not "set and forget." Syncs, dataflows, and recipes all run as data jobs, and part of owning the data layer is monitoring those jobs — checking that they ran, how long they took, and whether any failed. CRM Analytics provides a monitor view for exactly this, so you can catch a broken sync before a stakeholder notices a stale dashboard.
Putting it together
The data layer flow is simple to recite and worth memorizing:
- Data Sync / Connect stages source data as small datasets (with incremental refresh and filters for Salesforce).
- Dataflow (legacy) or Recipes (modern) transform and combine that staged data.
- The result is optimized datasets — high-volume, fast-query columnar storage.
- Monitoring keeps the whole pipeline healthy.
Master this and you have mastered the foundation of the platform. Next up: the design layer, where those datasets finally become something people can see and explore — lenses, dashboards, and apps.
This is a members-only lesson
Sign in free to read the full lesson, track your progress, and take the quiz.
Sign in to continueDiscussion
No comments yet — be the first to start the discussion.
Architecture
A simple map of CRM Analytics architecture: connectors, CSV upload, ETL/API ingestion, datasets, live connections, output, and dedicated compute in Salesforce.
The Design Layer
The CRM Analytics design layer explained: lenses for quick exploration, dashboards for curated analytics, and apps that group assets and control sharing.