Contents
Using Bots
Genesys Intelligent Automation can provide your customers with chatbot-based access to your WebIVR. Customers can converse with a bot using natural language to accomplish various business needs, such as making a payment or checking an account balance.
The chatbots used for WebIVR and for Apple Business Chat are created in the same way, and function the same way, handling queries and responses between the parties of the interaction. The major difference is in the support for SMS (Short Message Service). Chatbots for WebIVR support SMS, although customers cannot use any special characters in response to queries from the bot. Chatbots for Apple Business Chat do not support it SMS.
Once installed and set up for Apple Business Chat, the chatbot essentially emulates an Apple Business Chat session, enabling the user of an iOS terminal (Apple iPhone, iPad, or laptop) to interact seamlessly with an enterprise using Apple's iMessage framework.
Setting up a chat bot
To set up a chatbot for WebIVR or Apple Business Chat applications, you must install the following Genesys components:
- Digital Messaging Server 9.0.x - Provides the bot platform.
- Genesys Administrator - Use to configure the chatbot client.
- Interaction Routing Designer - Provides the routing strategy.
- (Optional) Social Messaging Server 8.5.x with SMS plugin - Provides SMS functionality (for WebIVR applications only).
Install and configure Digital Messaging Server
- Refer to the Digital Messaging Server Deployment Procedure for information on how to install Digital Messaging Server.
- Copy the chatbot jar file to the Digital Messaging Server subfolder for chatbots. For example: C:\Program Files\GCTI\eServices 9.0\Digital Messaging Server\DMS\media-channel-drivers\channel-chatbot\bots-repo\.
- Log in to Genesys Administrator.
- Go to Provisioning > Environment > Applications and open the Digital Messaging Server object.
- Create a section called channel-chatbot-monitor-bots.
- Create a chatbot option. You must ensure the option name matches exactly the name of the jar file that you uploaded to Digital Messaging Server in step 2, above. For example: fish-cbp-9.0.0.jar.
- Set the value of the chatbot option to point to the load balancer for Messaging Server. If you want to set timeout values, add the parameters downstream_request_timeout_millis and session_timeout_minutes. In the following example, the request timeout is 120000 ms (120 seconds) and the session timeout is 30 minutes:
{ "base_url" : "http://www.yourcompany.com:8081/fish-messaging", "downstream_request_timeout_millis" : 120000, "session_timeout_minutes" : 30} - Save your changes.
(Optional) Configure SMS Server
- Apple Business Chat does not support SMS.
- Use this section only if you want to provide SMS (Short Message Service) access to your chatbot.
- Refer to SMS Server (part of eServices) documentation for more information on SMS Server.
- This feature uses the Session Mode of SMS Server, which refers to creating and keeping an interactive conversation between a mobile client and an agent in the form of a conventional chat session. All messages received and sent during this session are associated with one interaction, which corresponds to this SMS session.
- In Genesys Administrator, log in to your configuration environment.
- Go to Provisioning > Environment > Applications and open the SMS Server object.
- Open the channel that you want to use with the bot.
- For the option inbound-route, specify the access point in your routing strategy that is used to place submitted interactions for incoming messages.
- Save your changes.
Configure the chatbot
Once you have installed the bot interface, you can use Interaction Routing Designer to configure settings.
- Log in to Interaction Routing Designer.
- Open the routing strategy that is triggered by the session endpoint, and add an External service block to the start of the flow.
- Open the External service block and go to the General tab. Configure the settings as described below, and shown in the diagram below:
- Application type - Set to the Digital Messaging Server or Social Messaging Server in your environment.
- Application name - Set to the Digital Messaging Server or Social Messaging Server in your environment.
- Service - Set to ChatBotPlatform.
- Method - Set to StartBot.
- Nickname - The bot name displayed to customers.
- SiteID - The ID number of your Genesys Intelligent Automation application to use with the bot.
- IsTestCall - If true, the test version of the application is used. Otherwise, set to false to use the production version.
- AuthToken - The value of the Authentication Key field in your company page.
- StopBotOnAgentArrival - Set to true if you want the bot to end once an agent joins the session. Otherwise, set to false.
- StopBotOnCustomerLeft - Set to true if you want the bot session to end once a customer leaves the session. Otherwise, set to false.
- Visibility - Set to ALL.
- ChatBotID - Set to speechstorm-chatbot.
- ChatBotName - Leave this field blank.
- _umsChannel - Set to channel-chatbot.
- BaseURL - If you are using a chat widget other than one that is configured in the Digital Messaging Server, enter the URL of the alternate widget.
- Click OK.
Genesys recommends that you add new blocks to your routing strategy, just after the External service block, to pause the strategy until the chatbot has completed its task. Otherwise, the routing strategy might queue up the session for an agent and, as soon as an agent joins, the StopBotOnAgentArrival parameter will cause the bot to terminate early.
To determine if a chatbot interaction is still alive, Genesys Intelligent Automation checks the following interaction data values:
- IsOnline - If the value is 0, the bot is offline and you can terminate the interaction.
- FishTransferRequested - If the value is true, you can proceed to route the interaction to an agent.
Refer to the Interaction Routing Designer documentation or consult your Genesys representative for information on the best routing strategy for your environment.
