Skip to main content
This content will be archived in 22 days. Click here to continue your progress in the latest version.

How to configure web chatbot

Introduction

U+ Bank wants to enable customers to open an account by using a web chatbot.

This demo shows how to configure a flow and add a set of questions that walk the customer through the process of opening a new account

Concept video

 

Transcript

Scenario

U+ Bank wants to enable customers to open an account by using a web chatbot.

This demo shows how to configure a flow and add a set of questions that walk the customer through the process of opening a new account.

Create a flow in the existing case type

First, you edit the OpenAccount case type to add a parallel flow for the web chatbot.

  1. In Developer Studio, select the case type named OpenAccount.
  2. In the case workflow, select the Get Account Details stage.
  3. In the Stage configuration panel, select Web Chatbot.

Configure the chatbot conversation.

Next, you configure the chatbot conversation by adding Question shapes to the flow. Each Question shape prompts the customer for information needed to open an account.

  1. In the case life cycle, select the WebChatbot-Open Account step.
  2. In the configuration panel, click Open process.
  3. To edit the process, click Check out.
  4. To add a question shape to the canvas, right-click and select Add > Automations > Question.
  5. Double-click the new shape to open the configuration panel. In the Subprocess field, add a name for the question, in this case: Account Type
  6. Add a name for your Question Rule.
  7. Click the Gear icon and configure the question.
  8. Configure the Context section page which determines where the flow can be used.
  9. Click Create and open.
  10. Configure the Question section. In this case, the question directs the customer to select an account type.
  11. Configure the Answers section. For Account Type, you provide two choices that the customer can select from a drop-down menu. The customer’s answer must be mapped to a property. In this case: .TypeofAccount (dot TypeofAccount)
  12. Submit the Account Type to save the changes.
  13. Connect the configured question to the flow. The connectors set the processing sequence for the flow.

Build the conversation

For each question in the conversation, you repeat this same process – add a Question shape, configure its content, then position the shape as the next step in the flow.

You configure questions to get the customer’s full name, gender, date of birth, mobile number, and email id.

All answers must be mapped to a property. For example, when the customer responds with their name, it is mapped to the property: .Name (dot Name). The properties were created in the existing case type, so you do not need to add properties.

To wrap-up the conversation, you configure a confirmation that lets the customer know you have all the required data.

Finally, save the updated workflow and check it in to create a new version.

Configure a web chatbot channel

To make the web chatbot available to customers, you configure the web chatbot channel.

  1. First, you need to access the CS Self Service application.
  2. In Channels and Interfaces, click to open the CS Web Chatbot.
  3. Add the new case type to the channel and enter open a new account as the command.
  4. Click the Text Analysis tab and add keywords. In this case, when Pega Customer Service detects the words open or create as an approximate match, it triggers the web chatbot conversation.
  5. Save the configuration.

Test the web chatbot

In the Preview console, you can test your web chatbot.

Enter a request, such as, I would like to open an account. Make sure the request uses one of the keywords you entered in the Text Analysis section for the channel: open  or create.

The chatbot walks through the questions to gather the required information. The chatbot confirms when it has received the information required to open an account.

If you are having problems with your training, please review the Pega Academy Support FAQs.

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 Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice