What is data mapping between systems?
Data mapping means working out which piece of information in one system matches which piece in another.
Say one tool labels a field Customer ID and a second tool labels the same thing Account Number. The data map captures that link, so the integration knows which destination field each value belongs in.
A map can also spell out transformations, like turning a status from the source into one of the status values the destination will accept.
How does data mapping work in real life?
Picture a CRM passing new customers over to an accounting platform.
Why do integrations depend on data mapping?
It's unusual for two systems to arrange their data in an identical way. Even when both describe the same business idea, the field names, structure, formatting or accepted values can all differ.
Field names that differ
An app might call it "First Name" when the other one wants "given_name".
Different structures
An address might live in several separate fields in one system and in a single formatted field in the other.
Different values
A status of "Active" in one system might need to become a code like "A" in the other.
Data types that differ
The source might send text when the destination wants a number, a date or a Boolean.
Different units
Quantities, currencies or measurements may be expressed in different units, which calls for a controlled conversion.
Business rules that differ
The destination might insist on fields, values or combinations the source never asks for.
Are data mapping and data transformation the same thing?
No. The two go hand in hand, but they aren't identical.
Mapping sets out how source data relates to destination data. Transformation sets out how a value gets altered when the destination needs it expressed differently.
| Activity | Example |
|---|---|
| Field mapping | The email field in the CRM → email_address in billing |
| Value mapping | Active → A |
| Format transformation | Reformat a date to match what the destination expects. |
| Structural transformation | Merge a few source fields into the structure the destination wants. |
| Unit conversion | Change a source quantity into the unit the destination requires. |
What belongs in a data mapping specification?
A spec worth having does more than pair up field names that look alike.
Source field
Pin down precisely which source the value comes from.
Destination field
Pin down where in the receiving system the value has to land.
Transformation
Record every conversion, format change or calculation that happens between the systems.
Validation
Spell out what counts as a valid mapped value for the destination.
Rule for defaults or missing values
State what should happen if the source value is empty or has no valid mapping.
Exception handling
State what should happen when a value fails validation or can't be transformed safely.
Do mappings always pair one field with one field?
No. A mapping might be one-to-one, one-to-many, many-to-one, or a more involved transformation.
One to one
Each source field lines up with exactly one destination field.
One to many
A single source value feeds several destination fields or records.
Many to one
A number of source values get merged into a single destination value.
Conditional
What the destination receives hinges on a condition or rule in the source data.
Lookup
The source value is converted by looking it up in a reference table or mapping dictionary.
Calculated
The destination value is calculated from one or more values in the source.
What does a more complicated mapping look like?
Imagine the CRM records customer status as text, but the receiving system works with numbered workflow codes.
| CRM value | Destination value | Mapping rule |
|---|---|---|
| Active | 1 | Active customers become code 1 in the destination. |
| Prospect | 2 | Prospects become code 2 in the destination. |
| Suspended | 3 | Suspended customers become code 3 in the destination. |
| Unknown | Exception | Don't guess. Send the record off to be resolved. |
Who gets to decide how data is mapped?
Mapping is a technical job and a business call at the same time.
Technical staff can work out how fields and formats link up, but business owners frequently have to confirm whether two fields truly mean the same thing and what a given status or value represents in day-to-day operations.
Two fields sharing a name doesn't mean they share a business meaning.
In one system, "customer status" could describe where the sales relationship stands, and in another it could describe the state of the financial account. The map has to follow what the data actually means, not what it's called.
Where can data mapping go wrong?
Same label, different meaning
Fields look like matches but stand for different business concepts.
A key field left out
A necessary source value never gets a destination and is lost in the integration.
Wrong value translation
Codes get converted incorrectly between source and destination, so business rules further down the line act in unexpected ways.
Type mismatch
The destination wants one data type and the integration sends a different one.
Unclear handling of missing values
Nothing defines what the integration should do when a mapped source value is empty or not available.
Mapping drift
One of the systems changes its fields or values, and nobody updates the mapping to match.
Do data mappings need documentation?
Yes. Once written down, the mapping serves as a common reference for everyone who builds, tests, runs and eventually modifies the integration.
As a baseline, record the source field, the destination field, any transformation, the validation rule and how missing or unusual values are handled.
When no one can say why a field is mapped a certain way, the integration is holding business logic nobody wrote down.
How should a data mapping be tested?
Try typical records
Check that everyday source values land in the right fields at the destination.
Try edge cases
Cover empty fields, odd values, long text, boundary values and statuses that rarely appear.
Test transformations
Make sure lookups, conversions, calculations and formatting rules give the results you intended.
Try bad data
Make sure values that are invalid or can't be mapped get rejected or sent down the right exception path.
Reconcile what came through
Check source records against destination records so you know nothing important was dropped or altered by mistake.
How is data mapping connected to a source of truth?
A mapping carries data from system to system, but on its own it doesn't settle whose value is the authoritative one.
The difference becomes important once more than one system can edit the same data.
Say both the CRM and the accounting system hold a customer's address. The map can describe how that address travels between the two, while a separate ownership rule should say which system wins when the two addresses don't match.
When is data mapping harder?
Mapping gets more complicated when the systems use different data models, have tangled relationships, hold inconsistent source data or apply substantial business rules in between.
Data models that differ
The systems organize customers, orders or products in ways that are fundamentally unlike each other.
Nested data
One system keeps related details as nested objects, and the other splits them into separate records or fields.
Different identifiers
The same real customer, product or transaction carries different IDs in each system.
Business logic
The destination needs judgment calls, not just a field being copied across.
Relationships that are many-to-many
Simple one-to-one field mappings aren't enough to move the records.
Changing schemas
Fields, APIs or accepted values shift over time, and the mapping has to keep up.
Bottom line
Data mapping spells out how information in one system lines up with information in another.
A solid map names the source and destination fields, describes transformations and value conversions, sets validation rules and says what happens when data is absent or can't be mapped.
It's more than a technical task. The real question is whether the two fields describe the same business concept, and whether the destination should get the identical value, a transformed one or one produced by a business rule.
Careful data mapping is how "we need these systems talking" becomes an exact integration you can test.
Further reading: MDN Web Docs: API