Learn how DataRaptors help simplify data tasks in Salesforce OmniStudio using low-code tools. The overview highlights how they handle load and transform.
A Load and Transform Data Mapper is a crucial component in data integration processes, helping to efficiently move and modify data between different systems. Data mapping is the process of defining relationships between source and target data structures. Data is extracted from various sources, transformed into the required format and then loaded into a target system. It reduces the manual intervention and speeds up the workflows.
Load refers to the process of storing or transferring data into a target system after extraction and transformation. Ensuring that data is properly structured and accessible for analysis or operational use.
The input parameter for loading the data will be JSON format. The below example is to load the data into single object which is account.
Then tab which is to configure the object name to load the data into database.

On the Formula tab, we can configure the formula that needs to be calculated in the runtime.
In this tab, we need to map the JSON input path attribute to the fields available in the salesforce environment,
{
Name : 'Load DR'
}
On the Options tab, we can set advanced options such as whether to check the user's access permissions for the fields.

The below example is to load the data into parent account and the child contact data.

1 - Account: Parent object which is Account configured for loading the data.
2- Contact: Child object which need to be configured.
The JSON prepared is mentioned below. The fields tab is the place that we can configure the JSON path node value into fields in the salesforce object.
{
"Account": {
"Name": "Load Parent Child",
"Contacts": [
{
"LastName": "Contact"
}
]
}
}

For the provided JSON, Account:Name node will be mapped to name field of the Account, Account:Contacts:LastName node will be mapped to Last name field of the contact object. The relationship field that is AccountId in contact will be mapped in the initial level object config and that will be appeared in Fields tab.

All tabs will show the summary of field configuration, which is done in the separate object tab.
The provided input JSON is loaded into salesforce with the expected relationship and the details of the created record will be displayed. If there is any error in the runtime, it will be notified.

DataRaptor Transforms enable users to modify data at an intermediate stage without interacting with Salesforce directly. These transformations support formulas and facilitate conversions between JSON and XML formats. Users can reorganize input data, rename fields, replace values, and transform data into formats such as PDF, DocuSign, or Document Template
{
"Account":[
{
"Name":"Test One",
"Rating":"Hot",
"Email":"testone@gmail.com",
"IsValid":"Valid"
},
{
"Name":"Test two",
"Rating":"Cold",
"Email":"testtwo@gmail.com",
"IsValid":"In Valid"
}
]
}This tab enables us to include data in the output of our DataRaptor. Enables calculations, conditional logic, and dynamic value transformations. Navigate to the Formulas tab in your DataRaptor and select Add Formula to create a new one.
The result path from the formula is used somewhere in the transform or in the real time.

The DataRaptor Transform module is where users define and configure the expected input format and the desired output transformations. Allows users to modify and reorganize data fields to meet business needs. Helps in updating field names and replacing values to ensure consistency in processed data.

The Preview Tab in DataRaptor Transform allows users to test and validate their data mappings before deploying them. It provides a real-time view of how input data is transformed into the expected output format and also Users can paste sample input data to see how transformations are applied.
