Create a Data Mapping & Transformation
Available: Starter and Premium
Introduction
Creating a data mapping and transformation in Plinqx is a straightforward process that allows designers to efficiently map and transform data between Salesforce and external systems. This guide will walk you through the steps to create these mappings using the Plinqx Designer tool.
Starting a New Mapping
-
Initiate a New Mapping:
- In the Plinqx Designer, click the 'New' button in the left Plinqxes pane. This action will clear and reset the designer pane for a new mapping.
-
Access the Source Tab:
- Click on the 'Source' Tab to begin defining your source and destination JSON and Schemas.
Understanding Source and Destination
-
For Inbound API Calls:
The Source is the external system, and the Destination is Salesforce.
-
For Outbound API Calls:
The Source is Salesforce, and the Destination is the external system.
Generating JSON from SOQL
-
Select Salesforce Objects and Fields:
-
Use the 'Generate JSON from SOQL' feature to select objects, fields, and related objects from the Salesforce database.
-
The designer will validate the SOQL query to ensure field accessibility.
-
-
Generate and Map JSON:
- Once validated, click the 'Generate JSON' button. This converts the selected fields into JSON format, ready for mapping.
Creating Destination Mappings
- Follow the same steps for Destination mappings or paste the destination JSON into the Destination JSON field as required.
Mapping in the Designer Pane
-
Drag and Drop Mapping:
- In the Designer pane, drag source fields to their corresponding destination fields to create your mappings.
-
Finalizing the Mapping:
- Once all mappings are complete, click the 'Save Mapping' button to save your work.
Saving Your Mapping
-
Provide Mapping Details:
- Enter a Name and Description for your mapping to easily identify it later.
-
Save the Mapping:
- Click 'Save' to finalise and store your mapping in Plinqx.
Conclusion
Creating data mappings and transformations in Plinqx is a critical step in achieving seamless data integration between Salesforce and external systems. By following these steps, you can effectively map and transform data, ensuring it is accurately represented and processed in your workflows.