Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Configuring a chatbot

Updated on March 16, 2021

Pega Customer Service provides sample chatbot settings within the Digital Messaging interface or Legacy Webchat that help you quickly get started with the chatbot configuration. These pre-configured chatbot settings offer initial chatbot settings, so you don't have to configure the case types and responses once again. However, if you prefer not to use the pre-defined sample chatbot settings, you can configure the chatbot settings that suit your business needs.

Pega Customer Service Implementation Guide
  1. Log in to the Self-Service application with the administrator credentials.
  2. In the navigation pane of App Studio, click Channels.
  3. On the Channels landing page, open the interface for which you want to configure the bot.
    For example: You can open a Digital Messaging interface or a Legacy Webchat interface that you created. This scenario is explained using a Digital Messaging interface
  4. On the Digital Messaging: <your Digital Messaging interface name> page, on the Configuration tab, in the Conversation flows section, click Add conversation to define more sophisticated conversation scenarios than simple response commands. The system displays the Create conversation dialog box.
    1. In the Name list, select either an existing conversation or create new conversation.
    2. In the Conversation command field, select an existing command or create a new command which will trigger conversation in the runtime.
    3. If the conversation command requires authentication, select the Requires authentication check box.
    4. Click Submit.
  5. In the Content section, click Add case type to add cases for the Legacy Webchat that helps your customer to open and access a case by entering a specific command. Perform the following steps to add a case type:
    1. In the Case type list, select a case type that you want to create when the user enters a specific command.
    2. In the Create case command field, enter text that triggers the system to create the case.
    3. If the case command requires authentication, select the Requires authentication check box.
    4. Click Submit.
  6. In the Content section, click Add response to add custom responses for the Legacy Webchat so that users, by entering a specific command in the chat window, can perform an action such as viewing available menu options. Perform the following steps to add a response:
    1. In the Response type list, select a response type that you want to create when the user enters a specific command.
    2. In the Response command field, enter text that triggers the system to create the response.
    3. Optional: In the Response text field, enter the response text to display to the user.
      You can select a predefined response by clicking Use existing.
    4. If the response command requires authentication, select the Requires authentication check box.
    5. Click Submit.
  7. On the Behavior tab, perform the following steps to configure Legacy Webchat system responses and text analyzers:
    1. In the System Responses section, click the Switch to edit mode icon, to edit a system response.
    2. In the Text Analyzer section, click Edit topics to add or edit topics and configure the Legacy Webchat channel to detect a best response to user input.
    3. In the Options section, perform the following steps to configure the interaction and authentication timeout:
      1. Select Enable interaction timeout check box to allow to system to log out of the interaction session after the specified time. Enabling the check box allows the system to display an option to enter interaction timeout in minutes.
      2. Select Enable authentication timeout check box, to allow to system to ask the end-user to re-login after the specified time. Enabling the check box allows the system to display an option to enter authentication timeout in minutes.
      When you enable Enable authentication timeout option the system logs you out after the specified timeout period and you must re-authenticate to continue the interaction.
      For example: 15 mins
  8. Click Save.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us