Using the Mapping Step

Last Updated: 08/08/2016 Introduced in Verision: 2.0

The Mapping step lets you map data from one object into another object. For example, if a flow has empty objects and you want to populate attributes of those objects, the Mapping step could meet this need. The Mapping step makes most sense to use when affecting multiple objects, or multiple attributes of an object.

In this example, use the Mapping step to populate attributes of three objects, a FileReference object, a string object, and an Account object.

From a Designer Folder, click on Create Flow. Name the flow and click Create.

Click on the Start step and under its Properties on the right, click on Add under Input Data.



Enter the name “File” and click on the Type field Browse button. Select FileReference and click OK.


Click OK. Repeat this step to create two more pieces of input data: Account (data type is Account), and StringABC (data type is string). The flow input data should look like this:


Next, introduce the Mapping step. From the Toolbox, expand the Data category and drag and drop the Mapping Step into the workspace. Connect the Start step to the Mapping step, and connect the Done path of the Mapping step to the End step.

Click on the Mapping step and from its Actions menu, select Show Mapping Editor.

Change the mapping type for the Account data on the right to Build Data. Connect StringABC to the EmailAddress attribute of the Account data:


Now, the EmailAddress piece of data will contain the value of StringABC following the Mapping step.

Change the mapping type for the File data on the right to Build Data. Expand FlowData and connect CurrentUserEmail to the FileName attribute of the File data.

Lastly, map a string piece of data into the StringABC variable; for example, FlowTrackingId.


Click OK. Now, when the flow executes, the mapping step will change the values of the existing variables.


Additional Resources