Loading
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Extract Fields from the Account Object Example

          Extract Fields from the Account Object Example

          In this example, a Data Mapper extracts an account ID parameter and returns the account name so that an Omniscript can use the extracted account data.

          Create Settings

          Field value notes
          Interface Type Extract  
          Input Type JSON If using with another Omnistudio component such as an Omniscript, set the input as JSON.
          Output Type JSON  

          Extract Settings

          Map the extracted object with the path in the JSON, and create a filter for the ID.

          Field Value notes
          Extraction Object Account  
          Extract Object Path Account  
          Filter Id = InputID  

          Mapping Settings

          Map the input data to a JSON node so that an Omniscript (or other component) can access the data. To define a data transformation, you can add key-value pairs. This addition replaces the defined key with the value in the output.

          Extract JSON Path JSON Output Path notes
          Account:Name Account:Name Choose a data type for the data type, such as string. If needed, you can set a default value.

          Extract Preview

          In Preview, add InputId as the key and a valid Salesforce Account object ID as the value, such as 0016100001OBpRi.

          After you execute the sample Data Mapper in Preview, the desired output is shown, such as this example.

          {
                "Account": 
                {
                   "Name":"Smith Incorporated"
                }
          }
           
          Loading
          Salesforce Help | Article