Adding Facebook chatbot custom responses
You can configure custom responses for the Facebook chatbot so that users, by entering a specific command in the Facebook Messenger, perform an action such as view available menu options, log off from the current chat session, or restart the chat session. In most cases, simple text responses are used to create the Facebook chatbot content.
Note: You must purchase a separate license before using Pega Intelligent Virtual Assistant in your application. You must also obtain and install the Facebook channel component from Pega Exchange.
-
In Designer Studio, click the name of your application and click Channels and interfaces.
- Click a Facebook channel interface.
- Click the Configuration tab.
- To add a custom response, click + Add response.
- In the Name/Command field, enter or modify a user command for the response to provide.
- In the Response type list, click the name of response to provide when a user enters a command.
- Optional: In the Response text field, enter the response text to display to the user. You can select a predefined response text by clicking Use existing.
-
Optional: To add a command item to display in a menu:
- To add a command item, click + Add response.
To modify a command item, click its Configuration icon.
- From the Menu item list, click the menu command name.
- In the Label field, enter a label for the menu command item.
-
Optional: To link an account:
- In the Title field, enter a title for the link account.
- In the Authentication callback URL field, enter the name authentication URL to the account to be linked.
- Click Submit.
- Click Save.
Open topic with navigation