You are here:
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. |

