You are here: Conversational user channels > Configuring the Facebook channel > Facebook chatbot content > Adding Facebook chatbot custom responses

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.

  1. In Designer Studio, click the name of your application and click Channels and interfaces.

  2. Click a Facebook channel interface.
  3. Click the Configuration tab.
  4. To add a custom response, click + Add response.
  5. In the Name/Command field, enter or modify a user command for the response to provide.
  6. In the Response type list, click the name of response to provide when a user enters a command.
  7. 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.
  8. Optional: To add a command item to display in a menu:

    1. To add a command item, click + Add response.
      To modify a command item, click its Configuration icon.
    2. From the Menu item list, click the menu command name.
    3. In the Label field, enter a label for the menu command item.
  9. Optional: To link an account:

    1. In the Title field, enter a title for the link account.
    2. In the Authentication callback URL field, enter the name authentication URL to the account to be linked.
  10. Click Submit.
  11. Click Save.