Configure Omnistudio DataMapper Transform data JSON
How to Use DataMapper in Salesforce OmniStudio
DataMapper is a key component in Salesforce OmniStudio that facilitates seamless data integration and transformation. In this post, we’ll cover what DataMappers are, their primary features, and a live example to help you get started.
Table of Contents:
- What is DataMapper?
- Key Features of DataMapper
- Setting Up a DataMapper
- Example Walkthrough
- Watch the Demo Video
1. What is DataMapper?
DataMapper is part of the OmniStudio suite in Salesforce, designed to retrieve, transform, and manage data across various Salesforce and external systems. Whether it’s to convert data formats, merge multiple data sources, or build complex data flows, DataMapper handles it all within a no-code/low-code environment.
2. Key Features of DataMapper
DataMapper provides several robust features, including:
- Data Transformation: Customizable mappings allow you to transform data structures to meet specific requirements.
- Data Merging: Combine multiple data sources into one for a unified view.
- Simplified Data Fetching: Automates data retrieval from Salesforce or external APIs.
- Mapping and Filtering: Map incoming data to desired fields and filter out unnecessary data for optimized processing.
3. Setting Up a DataMapper
To begin, navigate to OmniStudio in Salesforce and find the DataMapper tool. You’ll want to create a new DataMapper to understand the process.
Go to AppLaucher → OmniStudio → DataMapper.
Click New and provide the required details (e.g., Name, Source, Target). Interface Type = Transform

Choose the Input Type and Output Type. The Source is where data originates, while the Target is where the data will be mapped or transformed.In our case its JSON data
Map Fields: Use the drag-and-drop interface to map fields between the Source and Target objects. For example, if you’re pulling data from an external API into Salesforce, align fields based on business requirements.
4. Example Walkthrough
Let’s go through an example of setting up a DataMapper to integrate customer data from an external system with Salesforce.
Step 1: Create the DataMapper Transform
Select Formula tab to apply transformation formula for output

Step 2: Map Data Fields
From Transform tab map input and output Json fields

Step 3: Test the DataMapper
After setting up your mapping rules:
Use the Preview option to check how data flows between Source and Target.
Run the test to ensure mappings are correct.

Step 4: Activate and Deploy
Once everything looks good, activate the DataMapper. You can then use this DataMapper within your flows or other OmniStudio components.
5. Watch the Demo Video
For a full walkthrough with live interaction, check out our YouTube Demo on using DataMapper in Salesforce OmniStudio. This video will provide more insights and show you how to navigate the DataMapper interface efficiently.
Conclusion
DataMapper in Salesforce OmniStudio makes data integration more straightforward, enabling you to handle complex data requirements without extensive coding. With these steps, you’ll be ready to build your own DataMappers and streamline your data workflows in Salesforce!