Import OmniStudio Component
sf_import_omnistudio_componentImport OmniStudio components (FlexCard, OmniScript, DataRaptor, IntegrationProcedure) from JSON into Salesforce. Optionally rename or activate on import.
Instructions
Imports an OmniStudio component into the org from previously exported JSON (from sf_export_omnistudio_component). Optionally renames the component on import.
componentType: FlexCard, OmniScript, DataRaptor, IntegrationProcedure, CalculationMatrix, or CalculationProcedure exportedJson: the JSON string returned by sf_export_omnistudio_component newComponentName: optional new name/fullName for the imported component (useful when migrating to a different name)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| newName | Yes | New API name for the imported component (must differ from source) | |
| activate | No | Activate the component after import | |
| componentType | Yes | Component type to import | |
| jsonDefinition | Yes | JSON string exported by sf_export_omnistudio_component |