Skip to main content
Gainsight Inc.

Knowledge Center Bot

This article explains how to configure Knowledge Center Bot in Gainsight PX.

IMPORTANT: This article is outdated and is no longer supported. Refer to the Create and Manage Knowledge Center Bot article for the new and updated article on Knowledge Center Bot.

Overview

The Knowledge Center Bot is an onboarding assistant that guides users in learning your product. The Bot contains links to engagements and external URLs in order to effectively onboard new users as well as educate existing users. The goal of the knowledge center bot is to allow users to see the list of all engagements in one place for quick and easy reference. This improves your customer satisfaction by increasing accessibility to in-app experiences.

Prerequisite

The In-App engagements must be created by enabling the Triggered By > Knowledge Center or Automatic & Knowledge Center option to be able to use those Engagements in a new KC Bot.Triggered by.png

Create Knowledge Center Bot

You can create a Knowledge Center Bot by configuring the following steps:

  1. Audience
  2. Content
  3. Editor 
  4. Launch

Configure Audience

Create one or multiple Knowledge Center Bots and add audience segmentation for each Bot to facilitate a unique Knowledge Center experience for each Audience. Bot Audience can be defined based on user role or account segment or Global Context. You can create multiple KC Bots within the same product (or clone from the existing Bot) for each Audience.

To configure the audience for KC Bot:

  1. Log in to Gainsight PX.
  2. Navigate to Knowledge Center Bot on the left pane. The list view of KC Bots is displayed.
    Note: To clone an existing Bot, click the Clone icon for the corresponding Bot.

Clone.png

  1. Click the Create button on the Knowledge Center page.
  2. On the pop-up window, provide the name and description of the Bot and select the product for which you need to launch the Bot. Click Create.
    Note: You can create multiple KC Bots by clicking the Create button. 
  1. Configure the Audience for the Bot by setting the following rules and click Save.
  • Users: Select the users by using different filters such as email, job title and so on.
  • Accounts: Select the required account from your list of accounts.
  • Global Context: Select the Global Context based on the data you need to collect. You need to set Global Contexts prior to creating Bots. For more information on Global context, refer to the Use Global Context article from the Additional Resources section.
  • Device: Include or exclude devices to filter your target audience.

KCB_Aud.jpeg

Note: In the event a User or Account attribute value is NULL (no value is set), the user or account can only be included or validated by adding the rule as follows: User {attribute} IS EMPTY or Account {attribute} IS EMPTY. Click for Example 

The overall Audience logic can be AND or OR. You can also select the rule logic between each filter criteria of Users, Accounts and Global Context.

Note: If an audience is qualified to view multiple KC Bots within the same product, then the Bot with the highest priority (P1) is visible to the users. If you wish to change the priority of the Bots, click the Priority field of the Bot, rearrange the order of Bots in the list and click Apply. The Bot on top of the list has the highest priority (P1).

Organize Content 

Engagements

If engagements are created and linked to the knowledge center bot, the Content page displays as below.

Engagements.jpeg

A list of all engagements is displayed on the content page, regardless of the engagement status.

You can organize the view of Engagements in KC Bot in three steps:

  1. Create Category
  2. Add Engagements to Category
  3. Set the order of Categories
Create Category

You can create categories to group upcoming planned engagements by performing the following steps:

  1. Navigate to the Content page.
  2. Click on the manage categories icon. The Categories window is displayed.

Manage Categories1.png

  1. Click Create to create a new category.

create category.png

  1. Enter the Category Name and provide its brief description under Category Subtitle.
  2. Click Add. The category is created.

add.png

  1. Click Close. The Categories that you created appear in the drop-down under the Category column.

category created.png

Once you have created the in-app engagements you can simply add them under the created category from the drop-down list under the Category column.

Select Category.png

You can also group the in-app engagements under a specific category by creating a name directly in the Category column.

For Example, if you have engagements related to analytics, create a category with the name Product Analytics and then you can group all the engagements which come under Analytics. The Categories that you created appear in the drop-down and the Onboarding tab.

If you want to launch the Knowledge Center Bot to a specific audience, you can give a label to engagements under the Category column. For Example, New Users, Existing Users, etc. For more information about how to organize engagements, refer to the Organize Engagements best practices article from the Additional Resources section.

If you own a knowledge center base of support articles and want to track the most relevant/least relevant search terms and docs, you can place a custom event script to track and run the Query Builder. A property can be the title of the article.

Add Engagements to Category

Select the Add checkbox of the required engagement to add it to the category. 

Added.jpeg

Set the order of Categories

If you have created multiple categories and added Engagements to the categories, you can set the order simply by dragging and dropping the Categories as required. The categories of Engagements are displayed in the same order in the KC bot as you set.

Note: To test the Guide Engagement on a specific page before launching the Bot, enter the test URL in the Guide Activation URL field. For example, if you want to trigger a Guide on http://example.com/b URL and you are on http://example.com/a URL, Gainsight PX will first navigate you to Guide Activation URL http://example.com/b and show you the Guide there.

Articles

You can use the PX Knowledge Center (KC) Bot to display content from an external knowledge base. Apart from integrating with external Knowledge bases, you can also directly add URLs for your knowledge center documents to the PX KC Bot. After adding the article URLs, you can create categories and group your articles in categories. 

If you have important documents like EBR decks or best practices that cannot be published to the knowledge base, you can add the documents to the KC Bot directly.

You can choose to either add content directly in the KC Bot or add a hyperlink of your article to the KC Bot.

Add Articles 

Gainsight PX allows you to create an article in a Knowledge Center Bot and add the same article to other bots within the same product. This eliminates the need to create duplicate articles in case you maintain multiple bots. 

To add articles to the KC Bot: 

  1. Navigate to the Content page.
  2. Select the Articles tab.
  3. Click Create. The Create Article window is displayed.
  4. Provide the following details:
    • Name: Enter a name for your article. This name helps you identify your article.
    • Title: Enter a title for your article. This can be the same as the Name.
    • (Optional) Body: Paste the content of your article. You can either add all the content to the body section and not include any URLs, or add some content in the Body section and redirect users to your URL for more info.
    • (Optional) Link: Add the URL of your article.
  5. Click Create. You can see the new articles in the articles list view.

Content added in the Body section is displayed within the Bot, and content present in the hyperlinked article is displayed in a new tab. If you wish to display the content present in the hyperlink within the Bot, use Integrations instead.

Select the Add checkbox in the list view of the article. This adds the article to the Bot. The following image shows an article (Shared Article) created in Knowledge Center Bot 1. The article is seen in the list of available articles in the Knowledge Center Bot 2.

EBR final.jpeg

Link Articles

You can also link articles from your Knowledge Base and add them to the KC Bot. 

To link the articles:

  1. Navigate to the Content page.
  2. Click on the Link tab. 
  3. On the Link Articles window, enter the keywords to search the required article(s).
  4. Click the Add to List button to select the article(s).
  5. Click Done. The selected articles are added to the articles list.

kcbot_article_link.png

  1. Select the Add checkbox next to the article in the list view. The article is added to the bot.

Web Links

You can create a link to an external resource and add them to your Knowledge Center Bot with an option to configure the link to open in the same tab or a separate tab. This reduces the number of clicks required to open a link.

To create Web Links: 

  1. Navigate to the Content Page. 
  2. Click on the Web Links tab. 
  3. Click Create. The Create Link window displays. 
  4. Provide the following details:
    1. Name: Enter a name for your linked resource.
    2. Description (optional): Enter a description.
    3. URL: Enter the web link.
    4. Target: Select one of the options from Current Tab or New Tab
  5. Click Create.
  6. Select the Add checkbox next to the web link in the list view. The weblink is added to the bot.
JavaScript Function

You can also invoke JavaScript functions defined in customer applications as links in the Knowledge Center Bot.

Following is an example of how you can add your tag where the function you want to add is allowedLink:

var config = {kcAllowedFuncNames : ["allowedLink"]}

`Add weblinks.png

Recommended Content

Content Recommendation is a powerful way of engaging your audience with your Knowledge Base. You can create recommendations with a set of articles and engagements that are useful to the users or that they may be interested in.

To create Recommendations:

  1. Navigate to the Content Page. 
  2. Click on the Recommendation tab. 
  3. Click Create.
  4. On the Details tab, provide the following details:
    1. Name: Enter a name for your recommendation.
    2. Description (optional): Enter a description of how the content could be useful.
    3. Create matching rules to select the audience.
    4. Select the User and Account attributes. These attributes help you create more contextual content based on your user or account personas.
    5. Click Next.

Rec content.png

  1. On the Recommended Content tab, search for the required articles, and click Add.

RC.png

  1. Click Create. The content recommendation is available to be added in your KC Bot.
    Note: You need to make turn ON the Active toggle to make the content available in the Bot.

To Customize the look and feel of the recommendation:

  1. Navigate to Editor > Onboarding tab. 
  2. Expand the Recommendation options.
  3. Perform the following customizations:
    1. Enable the Show recommendation checkbox.
    2. Customize the background, title, and subtitle colors.
    3. Provide the subtitle text.
    4. Provide the image URL.
  4. Click OK.

Customize recommendation.png

When user clicks on the Recommended Content, the list of articles is displayed.

Customize KC Bot using Editor

You can customize the look and feel of your KC Bot by using the options in the following tabs in Editor:

  1. Onboarding 
  2. Bot Settings
  3. Feedback
  4. Articles Search

Onboarding Tab Settings

Onboarding Tab Settings can help you format the title, hover, category icon and the progress bar options for the Onboarding tab in KC Bot.

The following are the available options:

  • The Title section allows you to modify the name of the tab.
  • The Onboarding Tab checkbox helps to make the Onboarding Tab visible on your KC Bot.

Onboarding checkbox.png

You can also format the Stripe Color, Background and Arrow Color, that appears when you hover the mouse over the content in your KC Bot, from the Hover section.

Onboarding_hover.png

Select the Enable checkbox from the Category Icon, Engagements Type Icon, and Engagements Progress Icon section to make them visible on your KC Bot. You can also format the icon colors as required.

Onboarding_Icons.png

Progress Bar

The Progress Bar shows how far the end-user has progressed in the completion level of engagements and other resources added in the Bot.

Prerequisite: In order to display a progress bar:

  • There should be at least one engagement or article that does not belong to any of the categories.
    • If there are no categories created, there should be atleast one engagement or article added to the bot.

Progress bar_alertBadge.png

Select the Enable checkbox from the Progress Bar section to make the progress bar visible on your KC Bot. You can format the background and fill color and set the height of the progress bar. You can set the Indicator Type as Count or Percentage.

The engagements and articles that are not included in any category are grouped under Section-1. The progress bar indicates the progress of only those engagements or articles in Section-1 of the KC Bot.

You can edit the title of section-1 and section-2.

Badge

Badge indicates the number of newly added engagements and articles in the Bot. This badge prompts the user to click on the Bot to check out the new resources added in the Bot. You can format the background color, border color of the badge, and the text in the badge. You can also select the categories for which the Badge needs to show alerts.

PB_Badge.png

Note: The Progress Bar needs to be enabled to make the Alert Badge visible.

Bot Tab Settings

In the Bot settings tab, you can format the header background color, tab stripe color, and the color of the tab title. The Content section allows you to format the Font Style, font color, and background color of the KC Bot window.

HeaderNcontent.jpeg

Tabs Settings

Use the Tabs settings in the Bot tab to select an icon to represent each tab and format the tab color, and set the order of the appearance of tabs in your knowledge center bot.

Tabs settings.jpeg

Note: If you are using a single tab, you can hide the tab style display by selecting the Hide single tab checkbox.

Hide single tab.jpeg

You can customize the default tab to be shown in the KC Bot, irrespective of the tab order. Select the Default Tab checkbox for the tab that needs to be shown as the default tab.

Default tab.jpeg

Customize Badges

Using the settings on this tab, you can also select the icon style color or background color for the Bot Badge and Close Badge. The Badge is the icon that appears on the target application page and allows user to access the Knowledge Center Bot. 

Select the desired Bot icon for the bot badge and modify the size of the badge as per your preference. By default, the size of the bot badge is set to 40 px.

To add a customized bot icon, select the Use Image URL checkbox and enter the image URL and click OK. You also have the option to allow users to drag and drop the bot icon across the screen. Select the Draggable checkbox to make the bot badge movable along with the KC Bot window.

Enter text in the Speech Bubble field, to help your end-users understand the purpose of the widget. You can format the font style, font size, font color, and the background color for the speech bubble.

Speech Bubble.jpeg

Modify Title, Size, and Position of Bot

You can modify the position, height, and width of the Bot to suit your needs.

  • The Position section allows you to place the bot to the left or right of the screen and set the Bottom Offset value. As you increase the Bottom Offset value, the bot moves towards the top of your screen.
    You can customize the z-index value, to ensure KCBot always appears in front of elements that have lower z-index values. This feature is available for both floaterbot and embedded bots, and allows improved KC Bot visual prioritization over other application elements such as CTA buttons, notifications centers, and so on.

PX 23JULY Demo (PM-Docs) - Zoom 2023-06-30 at 3.51.30 PM.jpg

  • The Size section allows you to configure the Height and Width of the KC Bot window. 
    • The Height section allows you to modify the height of your KC Bot window. By default, the height is set to 500 px. The maximum height limit allowed is 999 px.
    • The Width section allows you to modify the width of your KC Bot window. By default, the width is set to 400px. The maximum width limit allowed is 1000px.

Select the Resizable checkbox to enable users to dynamically resize the KC Bot window that persists throughout the session.

Resizable updated.jpeg

The bot is UI responsive; the size of the bot changes automatically based on the size of your browser. Ensure that the Bottom Offset field in the Position section is set to 100 px.

Activation 

In this section, you can configure the URLs on which you want to display the bot. You can use wildcards to select the pages on which you wish to include or exclude the bot. (just like URL rules in the Engagements section).

  • Include URLs: Provide the URL to display the Bot.
  • Exclude URLs: If you wish to display the bot on all pages, but exclude only from one page of the app, then add that URL in the Exclude URLs field. The bot is not displayed only on the excluded URL. You can also add multiple rules in Include and Exclude sections to include or exclude multiple pages. 

If you enter Everywhere, either in Include URLs or Exclude URLs, then the bot is either displayed or not displayed on any of the pages, respectively.

Note: The Include URL field is case-sensitive.

Activation.jpeg

Feedback Tab Settings

Enable the Feedback Tab checkbox, so that you can allow users to provide their feedback.

To configure:

  1. Select the Feedback checkbox. A new tab called Your Feedback appears on the bot.
  2. Click the Your Feedback icon on the bot.
  3. Select the categories that you want to provide in the KC Bot from the Feedback Categories section. You can rearrange the order in which the categories must be displayed.

For more information on how to create and configure the workflow of feedback categories, refer to the Configure Dynamic  Feedback Categories article.

If the above configuration is done, users can select the feedback category from the Select category dropdown list, and can also select labels from the Select Labels dropdown list.

For more information about Feedback Analytics, refer to the Gainsight PX User Feedback API article from the Additional Resources section.

Customize User Feedback and Acknowledgement in Bot

You can create a customized acknowledgment text in the Feedback tab of the Knowledge Center Bot. This acknowledgment text appears when user submits feedback. The button label that navigates user to create another feedback is also editable.

Acknowledgement section KC Bot.png

Additionally, you can modify the following fields to improve the user response in the feedback section:

  • Title: Topic of the feedback
  • Subject Placeholder Text: Text displayed as the subject line of the feedback
  • Description Placeholder Text: Text to prompt user to describe the feedback

The Button Editor section helps you to customize the text and appearance of the Submit button.

Button Editor KC Bot.png

Articles Search Tab Settings

Gainsight PX is integrated with the knowledge base of external products so that users can search for your product documentation resources from PX KC Bot. 

Using the Articles Search Tab settings, you can configure the Articles search Tab of KC Bot. Doc Search Enabled option helps you select the required external knowledge base. 

Select the audience option for the article’s visibility from the Select Accessibility dropdown list. The access permissions are different for each product.

Article search.jpeg

Configure Sub-domains in KC Bot Google Search

You can select the specific Google domains that you want the Bot to scan and thereby provide targeted content to end users. This helps you to configure multiple Bots that provide search results from unique sub-domains to provide relevant content. For example, you can target a Bot to point to a specific sub-domain for search results in Spanish language.

Google Search Domains.png

Search Type

You can configure the required type of search functionality within the Knowledge Center Bot. The following search options are available:

  • Search in separate tab: Limits search to the knowledge base content.
  • Search in unified tab: Displays search results for both engagements and articles related to the search term.

unified.png

For example, when the bot is configured to Search in unified tab, the search results display both engagements and articles related to Product Mapper. 

unified output.png

Hide Article Summary

Select Hide Article Summary from the Articles Search tab to hide the article summary from the search results in your KC Bot window.

Hide Article.jpg

Search Term

The Search Term helps you find the articles relevant to the terms you enter and present the search result as an initial list of articles that are saved for the user. The user views this list of articles on the KC Bot by default. The user can also customize the Search Terms to view a different list of articles.

User has the following options:

  • Set default search terms to None.
  • Configure Search Term so that a default set of terms is always used to show the initial list of articles to display in the KC Bot.
  • Allow PX to take the current URL that the user is on, break it up, and send those as the search terms.

To configure Search Term:

  1. On the Articles Search tab, select the required Knowledge Base from the Docs Search Enabled list.
  2. From the Default Search drop-down list, select Search Term.
  3. Enter the required search term. The articles relevant to the search term are displayed on the KC Bot.

kcbot_search_term.png

Configure Customer Communities for KC Bot 

Gainsight Customer Communities (CC) is an interactive Customer Success community platform. It helps users share and discuss feedback, queries, and suggestions on the technical enhancements and latest product updates. For more information refer to the Customer Communities website.

Gainsight PX integration with Customer Communities enables end-users to search, view, and upvote CC content within the active KC Bot.  

Prerequisite:

To display CC content within an active KC Bot, ensure that a connection is established between Customer Communities and Gainsight PX. For more information on how to connect DH with Gainsight PX, refer to the Gainsight PX Customer Communities Integration article.

To display Customer Communities content within a KC Bot:

  1. In the KC Bot Editor section, navigate to the Search tab. 
  2. Turn ON the Gainsight Customer Communities toggle switch. 
  3. In the Categories and Product Areas field, select the categories and product areas for which content must be displayed to the users.
    Note:  The options available are based on the categories and product areas defined while integrating CC with PX. 

    CC_Toggle.jpg
  4. Click Save.

To format how the community section appears in the KC Bot:

  1. Navigate to the Onboarding tab.
  2. Click Community Settings.  
  3. Select the required colors for Background, Title, and Subtitle.
  4. In the Title field, enter a heading for the community card. 
  5. In the Subtitle field, enter a description of the section. 
  6. In the Icon url field, enter the URL to add a personalized image of your community.
  7.  Click OK

KC Bot formating.png

Once configured, the end-users can access ideas and feature requests, search for popular use-cases and solutions, and even upvote content from the active KC Bot.

Note: The capability to upvote content is only available in real-time, for users registered with your subscription of Customer Communities.

Integrate your Knowledge Base with the KC Bot

 For more information on how to set up an integration, refer to the given articles from the Additional Resources section.

  • HelpDocs integration
  • MindTouch integration
  • Zendesk integration
  • Salesforce integration
  • Bloomfire Integration

Launch the Bot

To launch the Bot:

  1. Select the Environment(s) to which you wish to launch the Bot. 
  2. Click Save.
  3. Click Launch. 

Laaunch.jpeg

The bot is launched on the target product URL.

For more information on frequently asked questions, refer to the Knowledge Center Bot FAQs article from the Additional Resources section.

Manage Knowledge Center Bots

To view the list of KC Bots created in your Gainsight PX subscription, navigate to Knowledge Center Bot > Bots

Following are the actions that can be performed in the Knowledge Center list view page:

  1. Search using the KC Bot name.
  2. Filter the list based on the Product and Environment.
  3. Sort the bots based on the required criteria.
  4. View the lifetime analytics of a bot. 
  5. View the name of the user who created a bot by hovering over the Created Date column.
  6. Clone a bot. For more information on how to create a bot using existing bots, refer to the Clone Knowledge Center Bots section of this article.
  7. Delete a bot.

KC Bot_Bot listing.png

Clone Knowledge Center Bots 

You can clone KC bots across different products in your subscription. 

To clone an existing KC Bot:

  1. Navigate to  Knowledge Center Bots > Bots.
  2. Click the Clone icon of the required KC Bot. The Clone Knowledge Center Bot window appears.

    KC Bot_Clone.png
     
  3. In the Clone to section, select one of the following options:
    • Current Product: To clone the bot and all its underlying configuration in the current product.
    • Across Products: To clone the bot with only editor configuration across the selected products.
      IMPORTANT: The Across Product option clones only the editor configuration as it is not product dependent. Other configurations such as audience and content are specific to a product, hence cannot be cloned. 
  4. In the Name field, enter a unique name for the bot.
  5. (Optional) In the Description field, enter a brief overview of the bot.
  6. From the Product dropdown, select the products in which the bot should be cloned. 
  7. Note: The Product dropdown option is only available if you have selected the Across Products option in the Clone to field.
  8. Click Clone.

KC Bot_Bot Cloning.png

View KC Bot Analytics

You can check the lifetime views on the KC Bot and then navigate easily to KC Bot Analytics from the view count on the KC Bot list page.