---
schema_version: "1"
id: 2a1a14c5b64441ec6f1cd2eb83e03c1067695fb3f168e538e1f959a955a7086b
title: Launch an Omniscript from a Flexcard
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_launch_an_omniscript_from_a_flexcard_27563.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_launch_an_omniscript_from_a_flexcard_27563.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 234d493873c2ba0fc566cc2b9906b08cc1f44f043d85fe95cd1e64e3c586e73a
description: Set up a Flexcard to call an Omniscript that updates the Flexcard’s data source. For example, users enter their account ID on a Flexcard. Then, when they click the Omniscript action, Omnistudio passes the entered value and launches a form that updates their account information.
products:
  - Omnistudio
release: "264"
---
# Launch an Omniscript from a Flexcard

Set up a Flexcard to call an Omniscript that updates the Flexcard’s data source. For example, users enter their account ID on a Flexcard. Then, when they click the Omniscript action, Omnistudio passes the entered value and launches a form that updates their account information.

1. After you select the Omniscript action type, select the Omniscript to launch.
    
    ![Tip](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio-264-0-0-production-enus/f526eaa8-ae05-487a-8944-4bb99b0b78ac/images/icon_tip.png)
    
    Tip To include a scrollbar in an Omniscript, create a model flyout in the flexcard that calls the Omniscript. No scrollbar is included when you call the Omniscript in a new page.
2. If needed, you can select the VisualForce page where you want to show the Omniscript. For example, if you have a custom template for your Omniscript, select the custom page that you created.
3. Enter the sObject's context ID associated with your Omniscript.
    
    For example, if your Omniscript updates account information, your context ID is an account record ID variable from the data source, such as `{AccountId}`.
4. If you selected a Lightning web component Omniscript:
    
    1. Enter the label for the console tab after the user launches the Omniscript.
    2. Search for and select the icon to show next to the console tab label.
    
    ![Console tab label](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio-264-0-0-production-enus/f526eaa8-ae05-487a-8944-4bb99b0b78ac/omnistudio/images/console_tab_label.png)
5. If needed, add these input parameters:
    1. In Key, enter a variable name with the prefix `omniscript__`.
    2. In Value, enter the value to pass as a string, a merge field, or a context variable, such as `New Value` or `{Name}`.
6. Enter the remaining information as needed.
7. Add the Flexcard to a Lightning page or a page in an Experience Builder Aura site.
    
    See [Activate and Publish a Flexcard](https://help.salesforce.com/s/articleView?id=xcloud.os_activateconfigureand_publish_flexcards_24744.htm&release=264.0.0&type=5 "After you confirm that the Flexcard is ready, activate it. After activation, add the Flexcard to a Lightning page or to a page in an Experience Builder site.").

- **[Launch an Omniscript from an Omniscript Action on a Flexcard in Experience Cloud](https://help.salesforce.com/s/articleView?id=xcloud.os_launch_an_lwc_omniscript_from_an_omniscript_action_on_a_flexcard_in_a_community_27646.htm&release=264.0.0&type=5)**  
    Omnistudio supports Omniscripts launched from Flexcards in Experience Builder. With the Omniscript for Experience Builder component, you can load a dynamic Omniscript launched from a Flexcard Action element into an Experience Cloud page.