Articles in this section

Map Salesforce records

There are three types of mapping: import, results, and response. Mapping data defines how your records are compared, merged, or transformed from one application to another. When working with mappings, you should be familiar with the data fields in your sources and destination applications.

Read more on mapping source record fields to destinations to learn about the various types of mappings.

Mapping previews in Salesforce

Import mappings

You need to be familiar with importing data into Salesforce to successfully use the mapping preview feature. Use the Edit mapping panel to configure mappings. To edit a mapping, click the integration tile on your homepage, open the flow that contains the data you want to map, and click the Mapping ( Edit mappings ) button. The Edit mapping panel opens.

Tip: If you don’t see the mapping icon in Flow Builder, click + in the flow step to reveal the option.

You can define how your data is handled in both applications with mappings. Each mapping screen contains an Input and Output panel, with corresponding dropdown fields, to help you visualize and map your records. Select one input field and one output field to define your mappings. For example, you can match a field from your source record to your destination record in import mapping.

Warning: The Salesforce mapping assistant does not work for composite imports, meaning that in sObject records with parent-child relationships, the child records won’t appear.

import_mapping.pngPreview: Import mapping preview with input and output filter

Some responses might not contain all the fields you need to map when configuring your mappings. You can still map the missing fields field manually, assuming the field is returned by the application, or the flow might fail at this step.

Check Auto-preview to automatically generate your mapping results in the Output screen. If you’re manually editing a field, click out of the edited field to trigger the auto-preview. If you prefer to update the mapping output yourself, click Preview instead, each time you want to review your changes.

Preview: Import mapping preview with input and output filter and Salesforce mapping assistant
Preview: Results mapping preview with input and output filter
Preview: Response mapping preview with input and output filter

Error handling

Any errors encountered during a mapping preview are displayed in the Error section. When you’re using the Salesforce assistant (not the Input and Output), selecting the Preview button will display the errors as a notification banner.

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.