Export OmniStudio Component
sf_export_omnistudio_componentExport OmniStudio component metadata as JSON for backup, version control, or migration. Supports FlexCard, OmniScript, DataRaptor, IntegrationProcedure, CalculationMatrix, and CalculationProcedure.
Instructions
Exports an OmniStudio component's metadata as a JSON string for backup, version control, or migration to another org.
componentType: FlexCard, OmniScript, DataRaptor, IntegrationProcedure, CalculationMatrix, or CalculationProcedure componentName: the API name / fullName of the component to export (for OmniScript, use Type_SubType_Language format)
Returns the component metadata as a JSON-serialized XML string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subType | No | Sub-type (required for OmniScript and IntegrationProcedure: the subType portion of the fullName) | |
| language | No | Language (for OmniScript, e.g. 'English') | English |
| componentName | Yes | Component API name | |
| componentType | Yes | Component type to export |