Configure a contextual link to Virtual Agent

  • Release version: Zurich
  • Updated July 31, 2025
  • 2 minutes to read
  • Use Mobile App Builder to create a contextual link in your mobile application so that your users can connect to Virtual Agent and receive information that pertains to their issues. By using a contextual link, your users automatically receive the information that you define about the relevant record.

    Before you begin

    Role required: admin

    Before you can create a virtual link to a Virtual Agent feature, you must have the Glide Virtual Agent plugin (com.glide.cs.chatbot) installed on your instance. For more details, see Virtual Agent.

    Perform the following steps in Mobile App Builder.

    Procedure

    1. Navigate to All > System Mobile > Mobile App Builder.
      The Mobile App Builder opens in a new browser tab and displays the application scope selection screen.
    2. Search for the application scope you are working in and then select the name of the application scope.
      The Mobile App Builder categories home screen displays.
    3. Select the Functions category, and then select New.
    4. Select the Action Item, and then select New.
    5. Complete the following fields as needed.
      Table 1. Action Item Fields
      Field Description
      Name A name for the action item. You can have multiple action items with the same name. Make sure you choose a name that is easily identifiable.
      Description More information to help you identify the action item.
      Type The kind of action item. Choose from the following:Different fields appear on the action item form depending on the type of action you select.
      Use current record as a condition Whether you want a separate set of query conditions for the action item. If selected, the Query conditions field is disabled. For update or delete actions, you must define the record you are updating or deleting by providing a Sys ID. Marking Use current record as condition as true allows you to do this without creating a parameter.
      Execution script

      The script executed by the action. This field only appears if you select Script as the type. For more information, see the example below.

      To make use of an input from an input form screen in your scripts, use parm_input.<InputName>

      To make use of a variable from an input form screen in your scripts, use parm_variable.<VariableName>.

      Data The table the action item applies to. For example, Incident.
      Field Values Determine the field values for an action. For example, if you want to create an action that updates an incident with a state of Resolved, use the field values State = Resolved. You can also create parametrized items to pass into the field value.
      Input form screen Select an input form screen to use for this action item. See Configure an input form screen.
      Data parameters Determines the information you are passing into the action to ensure you are changing the correct record and to enforce required fields as needed.
      Action item step

      Allows an action item to perform multiple processes.

      For more information, see Configure action steps within an action item.

    6. Select Save.