---
schema_version: "1"
id: 85521a597dad013128e85b0f67e3c205cf1eed868483a946aa56ebf09889dc9f
title: Using Actions with LWC Cards (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_using_actions_with_lwc_cards.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_using_actions_with_lwc_cards.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 382ff115b91c4713b70cb16750ea5aa7f28a329c4ef6cbdeca62dabb3d1b0238
description: For the managed package runtime, LWC Cards use Vlocity Actions, OS Actions, Custom Actions, Smart Actions, and PubSub Actions to launch procedures. For example, a card can launch an Omniscript, run an Apex class, redirect to a URL endpoint, launch an Integration Procedure, fire a pubsub event, and so on.
products:
  - Omnistudio
release: "264"
---
# Using Actions with LWC Cards (Managed Package)

For the managed package runtime, LWC Cards use Vlocity Actions, OS Actions, Custom Actions, Smart Actions, and PubSub Actions to launch procedures. For example, a card can launch an Omniscript, run an Apex class, redirect to a URL endpoint, launch an Integration Procedure, fire a pubsub event, and so on.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

- **Vlocity Actions**: Adds preconfigured actions created in the Vlocity Actions tool in your org. Vlocity Actions are reusable on multiple cards. See [Vlocity Actions (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_vlocity_actions.htm&release=264.0.0&type=5 "For the managed package runtime, Vlocity Actions are automatically generated URLS that launch Vlocity Omniscripts, Vlocity Cards components, web pages, or external applications. Actions are typically specific to a given object type, such as Account, Contact, Policy, or Asset.").
- **Custom Actions**: Create an action unique to the card state. A custom action is not reusable on other cards. See [Adding a Custom Action to a Card (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_adding_a_custom_action_to_a_card.htm&release=264.0.0&type=5 "For the managed package runtime, add actions directly on a card with Custom Actions. Custom Actions perform faster than standard Vlocity Actions but have fewer configuration options.").
- **OS Actions**: Launch an Omniscript from your card state. See [Launching an Omniscript from an OS Action on a Card (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_launching_an_omniscript_from_an_os_action_on_a_card.htm&release=264.0.0&type=5 "For the managed package runtime, beginning with Vlocity Insurance and Vlocity Health Winter '18, Vlocity Cards contains a configurable Omniscript Action (OS Action). The OS Action simplifies the process to navigate to an Omniscript from a card action.").
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/images/icon_note.png)
    
    Note
    
    Beginning with the Vlocity Summer '19 release, launch an LWC Omniscript from an OS Action. See [Launching an LWC Omniscript from an OS Action on a Card (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_launching_an_lwc_omniscript_from_an_os_action_on_a_card.htm&release=264.0.0&type=5 "For the managed package runtime, beginning with Vlocity Insurance and Vlocity Health Winter '18, Vlocity Cards contains a configurable Omniscript Action (OS Action). The OS Action simplifies the process to navigate to an Omniscript from a card action.").
- **Smart Actions**: Beginning with the Vlocity Summer '19 release, Vlocity supports generating and returning actions to an LWC Card at runtime by using a [Vlocity Integration Procedure](https://help.salesforce.com/s/articleView?id=xcloud.os_integration_procedures.htm&release=264.0.0&type=5 "For the managed package runtime, the following diagram shows the relationship between an Omniscript and an Integration Procedure that it calls."), which reduces server processing time, increasing performance. See [Configure Smart Actions on an LWC Card (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_configuring_smart_actions_on_an_lwc_card.htm&release=264.0.0&type=5 "For the managed package runtime, beginning with the Vlocity Insurance and Health Summer '19 and Vlocity Communications, Media, and Energy Fall '19 releases, Vlocity supports the Salesforce Lightning Web Component programming model.").
- **PubSub Action**: Beginning with Vlocity Insurance and Health Vlocity Spring '20, Vlocity supports firing [pubsub](https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.events_pubsub) events from an action on an LWC Card. See [Firing a Pubsub Event from an Action on an LWC Card (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_firing_a_pubsub_event_from_an_action_on_an_lwc_card.htm&release=264.0.0&type=5 "For the managed package runtime, beginning with Vlocity Insurance and Health Vlocity Spring '20, Vlocity supports firing pubsub events from an action to notify another component on a page or application of an event occurring. For example, create an action link that fires a pubsub event called openPolicy that opens a Policy record page from any component that listens for the event.").

- **[Adding a Custom Action to an LWC Card (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_adding_a_custom_action_to_an_lwc_card.htm&release=264.0.0&type=5)**  
    For the managed package runtime, add actions directly on a card with Custom Actions. Custom Actions perform faster than standard Vlocity Actions but have fewer configuration options. For reusable actions with additional configuration options, see Vlocity Actions.
- **[Configure Smart Actions on an LWC Card (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_configuring_smart_actions_on_an_lwc_card.htm&release=264.0.0&type=5)**  
    For the managed package runtime, beginning with the Vlocity Insurance and Health Summer '19 and Vlocity Communications, Media, and Energy Fall '19 releases, Vlocity supports the Salesforce Lightning Web Component programming model.
- **[Firing a Pubsub Event from an Action on an LWC Card (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_firing_a_pubsub_event_from_an_action_on_an_lwc_card.htm&release=264.0.0&type=5)**  
    For the managed package runtime, beginning with Vlocity Insurance and Health Vlocity Spring '20, Vlocity supports firing pubsub events from an action to notify another component on a page or application of an event occurring. For example, create an action link that fires a pubsub event called openPolicy that opens a Policy record page from any component that listens for the event.