---
schema_version: "1"
id: fada1f65fff06e5b140f5e44668faccfc0dfb0866a015985482ace423bb0a272
title: Create and Update Data from Omniscripts
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_create_and_update_data_from_omniscripts_23157.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_create_and_update_data_from_omniscripts_23157.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 79d84d1aa76f8540105488498c5dbd68e6fc8159e54292003cf22a2bbd69d259
description: "After you’ve gotten new or changed data from other sources or users, you’ll likely need to update records in Salesforce or other data sources. As with getting data, Omniscripts can create or update records with various methods: Omnistudio Data Mappers, REST APIs, or Apex. You can also write data to a fillable PDF."
products:
  - Omnistudio
release: "264"
---
# Create and Update Data from Omniscripts

After you’ve gotten new or changed data from other sources or users, you’ll likely need to update records in Salesforce or other data sources. As with getting data, Omniscripts can create or update records with various methods: Omnistudio Data Mappers, REST APIs, or Apex. You can also write data to a fillable PDF.

![A diagram that shows an Omniscript saving data to sObjects, other data sources, or a PDF with the 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_outputs.png)

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

- To write data to Salesforce objects, use a Data Mapper Post Action.
- To write to an internal or external source, you can directly connect with the HTTP (for REST APIs) and Remote (for Apex classes and methods) actions.
- To update an uploaded PDF form, use a PDF action element with a Data Mapper Transform to map the data to the PDF fields.