ServicesSalesforce consultingArchitectureImplementationOrg health checkDevelopmentIntegrations and APIsData migrationTesting and QAManaged supportSpecialist supportMarketing Cloud auditDeliverability
SolutionsMarketing Cloud EngagementMarketing Cloud NextSalesforce + BrazeAccount EngagementData Cloud (Data 360)Identity resolutionInsights and segmentsAgentforce and AIMCP integrationsSales and Service CloudReal-time personalisationIntegration solutionsEnterprise AI integrationBy industry
ArchitectureSalesforce CRMData 360Salesforce + BrazeAgentforceCustomer 360API-led integrationEvent-drivenMCP host, client and serverIdentity and consentMCP securityData governanceCI/CD and releasesOur public MCP server
ResourcesEngineering journalDecision guidesSolution blueprintsSalesforce productsProjects and achievementsSales ROI calculatorWhere we workChecklists and templatesPlanning toolsReadiness assessmentGlossaryAbout GeekMidstOur approachOur expertiseContact
CompanyAbout GeekMidstOur approachDelivery methodologyTrust and evidenceProjectsAchievementsBook a consultationContactWhere we workSecurity and data
Book a Consultation

DLO vs DMO, explained

Data Lake Objects hold ingested data as it arrives. Data Model Objects give it a shared shape. Here is how they fit together.

Type
Article
Topic
Data Cloud
Reading time
4 min
Updated
Author
GeekMidst Team
Reviewed by
Site owner
Hand holding a glowing cloud connected to email, people and database icons

Data in Salesforce Data Cloud moves through layers. Understanding the difference between Data Lake Objects (DLOs) and Data Model Objects (DMOs) is the foundation for everything that comes after — identity resolution, insights, segments and activation.

Diagram showing source systems feeding data streams into source-shaped Data Lake Objects, which are mapped to Customer 360 Data Model Objects used by identity resolution, insights and segments
Data streams land source-shaped data in DLOs; mapping turns it into canonical DMOs, and only DMOs feed identity resolution, insights and segmentation. View full size

Data Lake Objects

When a data stream ingests data, it lands in a DLO. A DLO keeps the structure of the source: field names, types and grain. Think of it as a staged copy of what the source system sent.

Data Model Objects

DMOs are the harmonised, canonical shape of your data based on the Customer 360 Data Model — objects such as Individual, Contact Point Email or Sales Order. You map DLO fields to DMO fields. Several sources can map into the same DMO, which is what makes unification possible.

Why the distinction matters

  • Identity resolution, calculated insights and segmentation operate on DMOs, not DLOs.
  • Mapping decisions determine which records can be matched and how profiles are built.
  • Getting the grain wrong (for example, mapping order lines to an order-level object) produces misleading insights later.

Data stream categories

When you create a data stream you choose a category, typically Profile, Engagement or Other. The category tells Data Cloud how to treat the data:

  • Profile data describes people or accounts — names, contact points, attributes.
  • Engagement data describes events over time — orders, web visits, email opens. Engagement streams need an event date field, which Data Cloud uses for time-based processing.
  • Other covers reference data such as product catalogues or store lists.

Choose carefully: the category is set when the stream is created and is not easy to change later. A DMO also takes its category from the data mapped into it, so a poor choice at the stream level can follow you into the model.

Each data stream also needs a primary key. If the source has no natural unique key, create one (for example in a formula field or upstream) rather than relying on fields that can repeat.

At a glance

DLODMO
ShapeMirrors the sourceCanonical data model
Created byData streams / transformsStandard model or custom objects
Used forStaging and transformationIdentity resolution, insights, segments
Typical mistakeIngesting unneeded fieldsMapping at the wrong grain

Worked example: an ecommerce order feed

Illustrative example. Suppose your commerce platform sends a daily file with one row per order line: order number, line number, SKU, quantity, price, customer email and order date.

  • The data stream lands this in a DLO at order-line grain. The primary key is the combination of order number and line number, not order number alone.
  • The order-level fields (order number, order date, customer) map to Sales Order, and the line-level fields map to Sales Order Product. Mapping everything to Sales Order would create one "order" per line and inflate order counts.
  • The customer email does not belong on the order object as a loose field. It should link to the person through the Individual and Contact Point Email objects so identity resolution can use it.

Before mapping, confirm the exact standard objects and fields available in your org, because the standard data model is extended over time.

Common mistakes

  • Treating the DLO as the reporting layer. DLOs are useful for checking what arrived, but the business logic — profiles, insights, segments — lives on DMOs.
  • Creating custom DMOs too early. Check the standard model first. Standard objects come with relationships that identity resolution and other features expect.
  • Skipping relationships. Mapping fields without defining how DMOs relate (for example, how a sales order links to an individual) leaves segments unable to join the data.
  • Mapping every field "just in case". Unused fields add noise and make the model harder to maintain. Map what answers a real question.
  • Ignoring data types. A date stored as text in the source needs converting before or during mapping, or time-based logic will not work as expected.

Workflow diagrams

Explore how the pieces fit together. Select a step to read what happens there.

Workflow

Data streams to data lake objects

Open full size
Data streams to data lake objectsA data stream is given a category and a primary key, using a formula field when the source has no single unique key. Records are stored in a data lake object, and an optional data transform writes a cleaned DLO before mapping.Data streams to data lake objectsData streamData adminData lakeYesNoYesNoSource object: From a connector. The admin picks the source object or file for the stream. One source object normally becomes one data stream and one data lake object.Source objectFrom a connectorSet the category: Profile, Engagement. Category affects how the data can be used. Engagement data needs an event time field. Choose carefully, because changing the category later usually means rebuilding the stream.Set the categoryProfile, EngagementUnique key in source?. Every data stream needs a primary key that is unique per row. Check for duplicates in the source before relying on a field that only looks unique.Unique key insource?Set primary key: Unique source field. The chosen field identifies each row, so later loads update the existing record instead of adding a copy.Set primary keyUnique source fieldFormula field key: Combines fields. When no single field is unique, a formula field can combine several (for example order number and line number) into a key that is, and is set as the primary key.Formula field keyCombines fieldsData lake object: Raw, source shape. Records are stored as ingested, with source field names. Keep the DLO close to the source so that problems can be traced back to the system that sent them.Data lake objectRaw, source shapeNeeds clean-up?. Decide whether values must be standardised, filtered or joined before mapping, for example trimming phone numbers or dropping test records.Needs clean-up?Data transform: Batch or streaming. A batch or streaming data transform reads one or more DLOs and writes a new, cleaned DLO. Keep the logic simple and documented; it runs on every refresh.Data transformBatch or streamingDLO ready: Next: map to DMOs. The raw or transformed DLO is now ready to be mapped to data model objects, which is where data from different sources starts to line up.DLO readyNext: map to DMOsStartProcess stepDecisionDataEnd or outcomeOriginal GeekMidst explanatory diagram, not an official Salesforce reference.

Select any step in the diagram, or use Step through, to see what happens at that point and why.

Text version: every step in order
  1. Source object Data streamFrom a connector

    The admin picks the source object or file for the stream. One source object normally becomes one data stream and one data lake object.

    Next: Set the category

  2. Set the category Data streamProfile, Engagement

    Category affects how the data can be used. Engagement data needs an event time field. Choose carefully, because changing the category later usually means rebuilding the stream.

    Next: Unique key in source?

  3. Unique key in source? Data stream

    Every data stream needs a primary key that is unique per row. Check for duplicates in the source before relying on a field that only looks unique.

    Next: Yes: Set primary key; No: Formula field key

  4. Formula field key Data adminCombines fields

    When no single field is unique, a formula field can combine several (for example order number and line number) into a key that is, and is set as the primary key.

    Next: Data lake object

  5. Set primary key Data streamUnique source field

    The chosen field identifies each row, so later loads update the existing record instead of adding a copy.

    Next: Data lake object

  6. Data lake object Data lakeRaw, source shape

    Records are stored as ingested, with source field names. Keep the DLO close to the source so that problems can be traced back to the system that sent them.

    Next: Needs clean-up?

  7. Needs clean-up? Data lake

    Decide whether values must be standardised, filtered or joined before mapping, for example trimming phone numbers or dropping test records.

    Next: Yes: Data transform; No: DLO ready

  8. Data transform Data adminBatch or streaming

    A batch or streaming data transform reads one or more DLOs and writes a new, cleaned DLO. Keep the logic simple and documented; it runs on every refresh.

    Next: DLO ready

  9. DLO ready Data lakeNext: map to DMOs

    The raw or transformed DLO is now ready to be mapped to data model objects, which is where data from different sources starts to line up.

    End of the flow.

A data stream is given a category and a primary key, using a formula field when the source has no single unique key. Records are stored in a data lake object, and an optional data transform writes a cleaned DLO before mapping. Original GeekMidst explanatory diagram; not an official Salesforce reference architecture.

Workflow

Data model object mapping

Open full size
Data model object mappingFields in a data lake object are reviewed and mapped to a standard data model object where one fits, or to a custom one where it does not. Relationships between objects are defined, and gaps in the fields identity resolution needs send the admin back to remap.Data model object mappingData lakeData adminData modelYesNoYesNoRemapDLO ready: Keyed, cleaned. Mapping starts from a data lake object that already has a reliable primary key and, if needed, cleaned values.DLO readyKeyed, cleanedReview DLO fields: Meaning, not names. Agree what each field means with the source owner. Two sources can both have a "status" field that means different things, and mapping them to one attribute mixes them up.Review DLO fieldsMeaning, not namesStandard DMO fits?. Prefer standard objects such as Individual, Contact Point Email or Sales Order. Standard objects work with identity resolution and other features without extra setup.Standard DMOfits?Custom DMO: Only if none fits. Create a custom data model object, or add custom fields to a standard one, when the data has no standard home. Name and document it so others can find it.Custom DMOOnly if none fitsMap fields: DLO field to DMO. Each DLO field is mapped to an attribute on the target object. One DLO can feed several DMOs, for example a customer file that feeds Individual and Contact Point Email.Map fieldsDLO field to DMODefine relationships: Keys between DMOs. Relationships link objects, for example a contact point to its Individual or an order line to its order. Without them, segments and insights cannot reach related data.DefinerelationshipsKeys between DMOsKey fields mapped?. Check that the fields identity resolution needs are mapped: Individual ID on contact points, plus names, emails, phones or party identifiers that match rules will use.Key fieldsmapped?Model ready: For match rules. The mapped model is ready for identity resolution. Keep a simple mapping sheet; it is the first thing to check when a profile or segment looks wrong.Model readyFor match rulesMapping gaps: Fix and remap. Missing or wrongly mapped fields are fixed before rules run. A gap found later means rerunning identity resolution and checking every segment built on it.Mapping gapsFix and remapStartProcess stepDecisionEnd or outcomeAlert or exceptionOriginal GeekMidst explanatory diagram, not an official Salesforce reference.

Select any step in the diagram, or use Step through, to see what happens at that point and why.

Text version: every step in order
  1. DLO ready Data lakeKeyed, cleaned

    Mapping starts from a data lake object that already has a reliable primary key and, if needed, cleaned values.

    Next: Review DLO fields

  2. Review DLO fields Data adminMeaning, not names

    Agree what each field means with the source owner. Two sources can both have a "status" field that means different things, and mapping them to one attribute mixes them up.

    Next: Standard DMO fits?

  3. Standard DMO fits? Data admin

    Prefer standard objects such as Individual, Contact Point Email or Sales Order. Standard objects work with identity resolution and other features without extra setup.

    Next: Yes: Map fields; No: Custom DMO

  4. Custom DMO Data modelOnly if none fits

    Create a custom data model object, or add custom fields to a standard one, when the data has no standard home. Name and document it so others can find it.

    Next: Map fields

  5. Map fields Data modelDLO field to DMO

    Each DLO field is mapped to an attribute on the target object. One DLO can feed several DMOs, for example a customer file that feeds Individual and Contact Point Email.

    Next: Define relationships

  6. Define relationships Data modelKeys between DMOs

    Relationships link objects, for example a contact point to its Individual or an order line to its order. Without them, segments and insights cannot reach related data.

    Next: Key fields mapped?

  7. Key fields mapped? Data model

    Check that the fields identity resolution needs are mapped: Individual ID on contact points, plus names, emails, phones or party identifiers that match rules will use.

    Next: Yes: Model ready; No: Mapping gaps

  8. Model ready Data adminFor match rules

    The mapped model is ready for identity resolution. Keep a simple mapping sheet; it is the first thing to check when a profile or segment looks wrong.

    End of the flow.

  9. Mapping gaps Data modelFix and remap

    Missing or wrongly mapped fields are fixed before rules run. A gap found later means rerunning identity resolution and checking every segment built on it.

    Next: Remap: Map fields

Fields in a data lake object are reviewed and mapped to a standard data model object where one fits, or to a custom one where it does not. Relationships between objects are defined, and gaps in the fields identity resolution needs send the admin back to remap. Original GeekMidst explanatory diagram; not an official Salesforce reference architecture.

Frequently asked questions

Can one DLO map to several DMOs?
Yes. A single DLO's fields can be mapped to more than one DMO, which is common when a source row holds both person and transaction details.
Can several DLOs map to the same DMO?
Yes, and that is how data from different sources is brought together into one canonical object.
Do I need data transforms?
Not always. Use them when a source needs cleaning, joining or reshaping that mapping alone cannot do. Check Salesforce Help for the current options for batch and streaming transforms.
Where do unified profiles come from?
Identity resolution runs on mapped DMOs and produces unified objects. Its results depend directly on how well identifiers were mapped.

Modelling checklist

  1. List every source and the business questions it must answer.
  2. Decide the grain of each source before mapping.
  3. Map identifiers (email, phone, external IDs) carefully — they drive identity resolution.
  4. Use data transforms when a source needs cleaning or reshaping before mapping.
  5. Validate counts at each layer after the first full ingestion.

Need help designing this? See our Data Cloud consulting service.

Tell us what you are trying to fix.

Share your Salesforce setup, goals and constraints. A practitioner reads every message and replies with questions, first thoughts or an honest view of whether you need outside help at all.

Talk to a Salesforce Expert
Book a Consultation