---
schema_version: "1"
id: f55cbb633785c78e694c1d60cce58666626f7eb546e936f1879a321d789812da
title: Load Data into Omniscript Elements
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_load_data_into_omniscript_elements_21907.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_load_data_into_omniscript_elements_21907.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c144db76676ba567abbf26dd1d04b1d64f9742143e2f31d903ffa778c55339ea
description: "You’ll likely need to pull data into an Omniscript to prefill elements, create selectable options, dynamically display elements, or test your Omniscript. You can use data from Salesforce objects or external and internal sources. Omniscripts use several ways to get this data: Omnistudio Data Mappers, Integration Procedures, REST APIs, or Apex. Users can also add or change data in an Omniscript."
products:
  - Omnistudio
release: "264"
---
# Load Data into Omniscript Elements

You’ll likely need to pull data into an Omniscript to prefill elements, create selectable options, dynamically display elements, or test your Omniscript. You can use data from Salesforce objects or external and internal sources. Omniscripts use several ways to get this data: Omnistudio Data Mappers, Integration Procedures, REST APIs, or Apex. Users can also add or change data in an Omniscript.

For each of these methods, you’ll use Omniscript elements.

- To get data from Salesforce objects, you can use a Data Mapper Extract or Turbo Action element or an Integration Procedure Action element.
- If you need data from an internal or external source or to collect data from multiple sources, you can also use an Integration Procedure Action element.
- Or you can directly connect with the HTTP (to use REST APIs) and Remote (to use Apex classes and methods) action elements.

You can think of user input as a method to get data. Omniscripts have many types of input elements, including images, choices, URLs, phone numbers, signatures, time, and currency.

To prefill an Omniscript with data, see [Seed Data Into an Omniscript](https://help.salesforce.com/s/articleView?id=xcloud.os_seed_data_into_an_omniscript_10173.htm&release=264.0.0&type=5 "Prefill Omniscript fields with data or add hidden nodes to the Omniscript Data JSON using the Seed Data JSON property in the Omniscript's Setup section.")

![A diagram that shows an Omniscript retrieving data from sObjects,internal data sources, and external data sources with different Omniscript elements](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio-264-0-0-production-enus/f526eaa8-ae05-487a-8944-4bb99b0b78ac/omnistudio/images/omniscript_data_inputs.png)

- **[Load Salesforce Data into an Omniscript Using an Omnistudio Data Mapper](https://help.salesforce.com/s/articleView?id=xcloud.os_load_salesforce_data_into_omniscript_using_dataraptor_21910.htm&release=264.0.0&type=5)**  
    Add Salesforce data to your Omniscript using a Data Mapper Turbo Action or Data Mapper Extract Action.
- **[Prefill Repeatable Blocks](https://help.salesforce.com/s/articleView?id=xcloud.os_prefill_repeatable_blocks_21959.htm&release=264.0.0&type=5)**  
    Prefill repeatable blocks with data by passing data to the block in an array format.
- **[Set a Default Value for an Omniscript Element](https://help.salesforce.com/s/articleView?id=xcloud.os_set_a_default_value_for_an_element_22037.htm&release=264.0.0&type=5)**  
    The Default Value property sets the JSON value of an element to a static value by default. The default value is overwritten if the element is prefilled from an Omnistudio Data Mapper or JSON response. The Default Value property is available for the Input elements (except Custom LWC, Disclosure, File, Image, and Password).