Post Salesforce Data from Omniscripts (Managed Package)

For the managed package runtime, create and update sObjects and external objects from an Omniscript using the Omnistudio Data Mapper Post Action. If multiple actions are needed, use an Integration Procedure to host the Data Mapper Post Action and handle the requests.

Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

The Data Mapper Post Action sends data from the script to a Data Mapper Load that performs the update or upsert. (When multiple upsert keys are used, the record must match all keys to be considered a match.)When you define the Data Mapper Load, you map data from the Omniscript's Output JSON to fields in sObjects. For details, see Object Field Mapping (Managed Package).

Before You Begin

  1. Learn about Data Mapper Loads. See Omnistudio Data Mapper Load Overview (Managed Package).

  2. Create a Data Mapper Load. See Create an Omnistudio Data Mapper Load (Managed Package).

  1. From Omniscript, click Preview.
  2. Enter any data you plan to use into the Omniscript. You can prefill elements for testing using the Set Values Action, Default Value element property, or the Seed Data JSON functionality.
  3. Copy the Omniscript's Data JSON.
  4. In your Data Mapper, paste your Omniscript's data JSON into the Data Mapper's Input JSON.
  5. Map your data JSON nodes to Object fields.