---
schema_version: "1"
id: 9844191456d3a8631e4a6ecb425ed989261eef9afebdc38c0d99157b93ca0726
title: Seed Data Into an Omniscript
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_seed_data_into_an_omniscript_10173.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_seed_data_into_an_omniscript_10173.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 6ea538f266813fe23b9458a9e62a60e52171162706ffdf2b1fb93d079fddc1ce
description: 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.
products:
  - Omnistudio
release: "264"
---
# Seed Data Into an Omniscript

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.

Use the Seed Data JSON property with static values that seed during the initial load of the Omniscript. To set values using formulas or with information entered into the Omniscript after the initial load, see [Set Values in an Omniscript](https://help.salesforce.com/s/articleView?id=xcloud.os_set_values_in_an_omniscript_22132.htm&release=264.0.0&type=5 "Use the Set Values action to set element values in subsequent steps, rename JSON nodes, create dynamic values, and concatenate data. Set Values actions use merge fields to access JSON data in other Omniscript elements.").

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio-264-0-0-production-enus/f526eaa8-ae05-487a-8944-4bb99b0b78ac/images/icon_note.png)

Note

When embedding Omniscripts in the utility bar, flyout, or modal, ensure they scroll to the top when users navigate with Previous or Next buttons by using the "omniscriptEmbeddedSource" key in the prefill. Set the key `omniscriptEmbeddedSource` with a value of `utilitybar`, `flyout`, or `modal` accordingly.

1. Open the Omniscript Setup panel.
2. In the Omniscript's **Setup**, find **Seed Data JSON** section, and provide information to prefill the Omniscript during the initial load.
    
    1. Click **Add New Key/Value Pair**.
    2. In the **Key** field, enter the name of the element to prefill.
    3. In the **Value** field, enter the desired value of the element.
        
        If the element has multiple responses, such as a multi-select, you can prefill more than one value by separating the entries with a semicolon.
    
    When the user launches the Omniscript, the elements specified in the Seed Data JSON section contain the static values.
3. If needed, use the Seed Data JSON property to add hidden nodes to the Data JSON of the Omniscript.
    
    For example, an Omniscript used for troubleshooting may create a case. You could use the default values from hidden nodes to prefill values. You may want the Omniscript to create a Case with Type, Status, and Origin defined in the Data JSON of the Omniscript. Using this method, you can have multiple Omniscripts associated with one Omnistudio Data Mapper interface that creates the Case.

When the user launches the Omniscript, the elements specified in the Seed Data JSON section contain the static values.