Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>OS Gen UtilityNew to Visual Studio Code? Get it now.
OS Gen Utility

OS Gen Utility

Kushal Sharan

|
3 installs
| (0) | Free
An extension to build OmniScript from prompt
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

OS Gen Utility — OmniScript Generation using Natural Language

Building multi-step OmniScripts with a large number of fields is often slow and repetitive. Developers typically spend 25–30 minutes setting up the initial structure for an 8–10 step OmniScript with multiple fields per step.

Omni Gen is a Visual Studio Code extension that reduces this effort to under a minute. It uses OpenAI’s GPT-4o model to generate the initial OmniScript structure based on a natural language prompt provided by the user. This automates the foundational setup work and helps OmniStudio developers save time during UI creation.


Features

  • Automatically generates step-wise OmniScript structure from a user prompt
  • Supports commonly used input elements such as Text, Email, TextArea, Select, Radio, CheckBox, Date, and TextBlock
  • Runs directly from the VS Code sidebar
  • Fast generation time (typically 30–40 seconds)

Prerequisites

Before using the extension, the following tools must be installed/configured:

  1. Salesforce CLI https://developer.salesforce.com/tools/salesforcecli

  2. Authenticated Salesforce org with OmniStudio package installed https://help.salesforce.com/s/articleView?id=000394906

  3. Vlocity Build Tool (VBT) CLI https://github.com/vlocityinc/vlocity_build

  4. OpenAI API key Bring your own OpenAI API key for omniscript generation requests. Create one at https://platform.openai.com/api-keys


One-Time Setup

  1. Install the extension in VS Code.
  2. Open Settings → Extensions → Omni Gen → Provide the OpenAI API key.
  3. Ensure you are inside a Salesforce DX project folder.
  4. Make sure the VS Code environment is authenticated to a Salesforce org that has OmniStudio installed.

How to Use

  1. Open Visual Studio Code, make sure you are in SFDX project structure folder
  2. Make sure you are authenticated to an Org that has omnistudio package installed.
  3. go to the left-side activity bar.
  4. Click on the Omnistudio-GenUtility extension icon.
  5. Select the option to generate an OmniScript.
  6. Enter a clear prompt describing the steps or fields required.
  7. Wait for approximately 30–40 seconds for the script to be created.
  8. Once completed, navigate to the generated OmniScript in your project directory.

Current Scope

  • Generates the initial OmniScript structure based on a prompt.
  • Supports base OmniStudio input elements - Text, Email, TextArea, Select(With Options), Radio, CheckBox, Date, TextBlock.
  • Type is defaulted to OSGenUtil, SubType is decided based on the prompt
  • Language is defaulted to English
  • Width is limited to 6 for all elements
  • Intended to save setup time during UI creation.

Future Enhancements

  • Support for more complex element types.
  • Additional optional configuration fields.
  • Extended UI controls inside VS Code.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft