{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":4934,"path":"conversational-interfaces/virtual-agent/define-va-notif-actions.md","title":"Define Virtual Agent notification actions","bundle":null,"doc_type":null,"release":"australia","body":"\n# Define Virtual Agent notification actions\n\nCreate the actions for a Virtual Agent chat or messaging channel to send actionable notifications.\n\n## Before you begin\n\n-   An action requires an associated, published \\(active\\) Virtual Agent topic, a Scriptable action, or a Flow action which can perform the action represented by a button in the notification, such as talk to an agent \\(live agent support\\) or bot feedback \\(Virtual Agent feedback\\). Consider working with your topic authors to determine the appropriate topics and corresponding actions. For more information about designing the Virtual Agent topics, see [Getting started with the Asset library in Assistant Designer](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/conversational-interfaces/virtual-agent/conversation-designer-virtual-agent.md).\n\n    **Note:** Scriptable actions and Flow actions are asynchronous and are executed when you select the action without a Virtual Agent topic. You can select either an existing flow that is defined or coordinate with the flow authors to send actionable notifications.\n\n-   Role required: virtual\\_agent\\_admin or admin\n\n## Procedure\n\n1.  Navigate to **All** &gt; **System Notification** &gt; **Provider** &gt; **Notifications** and select the notification for which you are defining actions.\n\n2.  Navigate to the **Notification Actions** related list and select **New Provider Action**.\n\n3.  Select a notification action.\n\n    \\[Omitted image \"va-notif-actions-prompt.png\"\\] Alt text: The Notification Action page displaying the notification action types that user can choose and create. The available options are Scriptable Action, Flow Actions, and Virtual Agent.\n\n4.  On the form, fill in the fields to define the notification actions.\n\n<table id=\"table_gft_nvp_2jb\"><thead><tr><th>\n\nField\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nName\n\n</td><td>\n\nName of the notification action. For example, Talk to an agent.\n\n</td></tr><tr><td>\n\nNotification\n\n</td><td>\n\nNotification that is associated with the action. This field is populated automatically with the notification that you created.\n\n</td></tr><tr><td>\n\nAsync\n\n</td><td>\n\nOption to enable the action execution without blocking the current request.Both Script and Flow actions in Virtual Agent are asynchronous.\n\n</td></tr><tr><td>\n\nModel Type\n\n</td><td>\n\nType of actions that are configured. For example, NLU/Keyword topic or LLM topic. If a user selects LLM, that action will be sent to an LLM Virtual Agent. If NLU is selected, that action will only be for an NLU enabled Virtual Agent.\n\n</td></tr><tr><td>\n\nTopic\n\n</td><td>\n\nVirtual Agent topic that handles this notification action.**Note:** Virtual Agent Pro is required to send a topic with actionable notification.\n\n</td></tr><tr><td>\n\nScript\n\n</td><td>\n\nScript to execute the notification action.The script filed is available only when you select Scriptable notification action.\n\n **Note:** The Scriptable Action is available only for Virtual Agent Pro users.\n\n</td></tr><tr><td>\n\nApplication\n\n</td><td>\n\nApplication scope of the notification content.\n\n</td></tr><tr><td>\n\nActive\n\n</td><td>\n\nOption to activate the notification content.\n\n</td></tr><tr class=\"sub-head\"><td class=\"sub-head\" colspan=\"2\">\n\nChoose Flow or Action\n\n</td></tr><tr><td>\n\nFlow\n\n</td><td>\n\nFlow to trigger the sequence of the notification action. **Note:**\n\n-   You cannot choose the flow if you provided the action.\n-   The Flow field appears only when you select Flow notification action.\n-   The Flow Action is available only for Virtual Agent Pro users.\n\n\n</td></tr><tr><td>\n\nAction\n\n</td><td>\n\nAction to use the correct table and field configuration for the notification action.**Note:**\n\n-   You cannot choose the action if you provided the Flow.\n-   The Action field appears only when you select the Flow notification action.\n-   The Flow Action is available only for Virtual Agent Pro users.\n\n\n</td></tr><tr><td class=\"sub-head\" colspan=\"2\">\n\nInputs\n\n</td></tr><tr><td>\n\nScript\n\n</td><td>\n\nScript to pass inputs to a flow action.This Script field appears when you select the Flow notification action.\n\n</td></tr></tbody>\n</table>5.  Select **Submit**.\n\n6.  To define another action for the notification, repeat steps 3 through 5.\n\n\n## What to do next\n\n[Define link actions to notification content](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/conversational-interfaces/virtual-agent/define-va-notif-link-actions.md).\n\n**Parent Topic:**[Configuring Virtual Agent notifications](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/conversational-interfaces/virtual-agent/configuring-va-notifications.md)\n\n"}}