---
schema_version: "1"
id: 11375968f1534cc30e1b0be8a435117bee7efdc48ad9bd7d00e85e1f45f2fd71
title: Omnistudio Data Mapper Extract Examples
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_dataraptor_extract_examples_46190.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_dataraptor_extract_examples_46190.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: aacbf43bbc971880aa6d68da67d552f7dfbbb0740c4066af9a13cd4f6919db60
description: Data Mapper Extract examples demonstrate object relationships, paging with data values, paging with offsets, and relationship notation.
products:
  - Omnistudio
release: "264"
---
# Omnistudio Data Mapper Extract Examples

Data Mapper Extract examples demonstrate object relationships, paging with data values, paging with offsets, and relationship notation.

For additional examples that show how you can improve Data Mapper performance for some use cases using relationship notation, see [Relationship Notation versus Multiple Extract Steps](https://help.salesforce.com/s/articleView?id=xcloud.os_relationship_notation_versus_multiple_extract_steps_45995.htm&release=264.0.0&type=5 "Using relationship notation improves the performance of Omnistudio Data Mappers that retrieve data from a parent of the primary object. Use this notation in the Extract JSON Paths for the parent object's fields instead of adding a second object in the Data Mapper's Extract tab.").

- **[Extract Fields from the Account Object Example](https://help.salesforce.com/s/articleView?id=xcloud.os_create_a_basic_dataraptor_extract_example_46195.htm&release=264.0.0&type=5)**  
    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.
- **[Extract Data from Three Related Objects](https://help.salesforce.com/s/articleView?id=xcloud.os_extract_data_from_three_related_objects_46249.htm&release=264.0.0&type=5)**  
    Create an Omnistudio Data Mapper Extract for use by a Case-handling Omniscript. The agents who handle Cases can look up an Account, list all the Cases for the Account, and find the Contact for each Case.
- **[Use Data Values and Page Through Sorted Data](https://help.salesforce.com/s/articleView?id=xcloud.os_page_through_sorted_data_using_data_values_46366.htm&release=264.0.0&type=5)**  
    If an Omnistudio Data Mapper Extract is expected to retrieve numerous records, you can use _paging_ to retrieve a few at a time based on field values. For example, you can page through Accounts by Id.
- **[Page Through Sorted Data Using Offsets](https://help.salesforce.com/s/articleView?id=xcloud.os_page_through_sorted_data_using_offsets_46444.htm&release=264.0.0&type=5)**  
    If an Omnistudio Data Mapper Extract is expected to retrieve numerous records, you can use _paging_ to retrieve a few at a time based on OFFSET values. For example, you can page through Contacts by last name.