Before moving a Facebook or a WebChat chatbot to a production environment, you can
verify whether the chatbot is working correctly by using the preview console. You simulate a
chatbot conversation by testing system and custom responses based on commands or other input
that you enter.
You can simulate a chatbot conversation in the preview console once you save a Facebook or
a WebChat channel interface configuration.
Note: You must purchase a separate license before using Pega Intelligent Virtual Assistant for
Facebook in your application. You must also obtain and install the Facebook channel
component from Pega Exchange.
-
In the preview console, enter a command or a greeting message, for example:
hi
A response is displayed, for example, a question asking for user input.
- Optional:
Configure a
question.
-
Next to the displayed question, click the
Configure
icon.
-
In the text area, edit the text for the question.
-
Click
Save.
- Optional:
Configure the
response and its command.
-
Click the
Configure
icon next to the displayed
response.
-
In the
Name/command
field, add a new or edit an existing
command or greeting message entered in step 1.
-
From the
Response type
list, select a response type.
-
In the
Response text
field, enter new text for the response,
or, optionally, click
Use existing
to select a predefined text
for the response.
-
Click
Submit.
- Optional:
Add a command for a generated intent.
-
Repeat steps 1 to 4 to test and configure additional questions, commands, and responses
for the chatbot.
After you have fully tested and configured the system and custom responses from the
preview console, the Facebook or WebChat chatbot is ready for a production
environment.