Skip to content
Datamapper, Omniscript, Omnistudio, Salesforce

Load data into two or multi objects using DataMapper

December 23, 2024

To save data into two objects using DataMapper in Salesforce OmniStudio, you would typically follow these steps to map and store data into different Salesforce objects (or external systems). Here’s a step-by-step guide to using DataMapper to map data to two separate Salesforce objects:

Step 1: Define the DataMapper

Start by creating a DataMapper that can handle the transformation and mapping of data between your source (could be an API, external system, or internal data) and the two Salesforce objects.

  1. Navigate to OmniStudio App: Open Salesforce OmniStudio and go to OmniStudio DataRaptor.
  2. Create a DataMapper: In the OmniStudio DataRaptor app, create a new DataMapper.

Step 2: Define the Source Data

You need to define the source of your data, which could be an API call, a FlexCard input, or any other data source. Let’s assume that the source data is coming from an external system or API.

  • For this example, let’s assume the source data includes customer information (to save in Contact object) and notice information (to save in Notice object).

The source data might look something like this

Step 3: Map the Data

Now, map the source data to the two Salesforce objects (Contact and Notice).

Contact Object Mapping

Notice Object Mapping

Step 3: Save Data to Salesforce Objects

Once everything is done, click on excecute button and you will see data is saved into two objects. See below screenshot

Step 8: Test and Validate

Test the entire flow to ensure that:

  • The source data is correctly mapped to the two objects.
  • The data is being saved correctly into Salesforce.
  • Any transformations or business logic is applied as needed.
Keep Reading

Related Articles and Resources

How to Set Up a Free Salesforce Developer Account?
November 6, 2025

How to Set Up a Free Salesforce Developer Account?

Learn how to create a Free Salesforce Developer Account in...

Revenue Cloud Advanced for Subscription Businesses: Real Use Cases
January 7, 2026

Revenue Cloud Advanced for Subscription Businesses: Real Use Cases

Picture this: It’s month-end, and your finance team...

Agentforce Service Agent: A Step-by-Step Guide to Automating Customer Service in Salesforce
October 31, 2024

Agentforce Service Agent: A Step-by-Step Guide to Automating Customer Service in Salesforce

Customer expectations are higher than ever, and businesses...

Products catalog Salesforce Revenue Cloud Advance
September 27, 2025

Products catalog Salesforce Revenue Cloud Advance

In the following article we’re going to present a Product...

Your Guide to Becoming a Certified AI Specialist in Salesforce (Part-1)
November 5, 2024

Your Guide to Becoming a Certified AI Specialist in Salesforce (Part-1)

The demand for AI in the Salesforce ecosystem is rapidly...

Transaction Management in Salesforce: The Complete Expert’s Guide to Data Integrity, Consistency, and Advanced Implementation
December 29, 2025

Transaction Management in Salesforce: The Complete Expert’s Guide to Data Integrity, Consistency, and Advanced Implementation

If you’re working with Salesforce – whether&...