You can connect any number of chatbots to edna and use them for thread processing. To connect a chatbot:
- The bot developer must complete the integration with edna API (Bot Connect) and develop the bot’s logic.
- You then need to configure the bot’s setting in the admin WP and then include it in the thread routes.
To connect a chatbot:
- On the Settings tab of the admin WP, select Integrations > Chatbot.
- Click New in the upper right corner of the Chatbot page.
- Enter the name of your chatbot.
- Specify the chatbot backend URLs as prompted in the respective fields.
- Specify the following timeouts:
- Timeout of the chatbot response – Enter for how long a thread needs to wait for the chatbot’s response before moving back to the route.
- Thread closing timeout – Enter for how long a thread needs to wait for the client to respond to the chatbot before being closed. The timeout starts after the chatbot sends its last message without transferring the thread to an agent’s queue.
- Select the Allow clients to send messages if quick reply buttons are enabled check box if you want the clients to not just use the chatbot’s quick response buttons but to also be able to manually enter their message in the message input box. If you leave this check box clear, the message input box is disabled.
- Enter the bot’s description and change its avatar, if necessary.
- Save your changes.
- Return to the Chatbot page. The chatbot appears on the page. For it to start working, you need to generate a token (the bot will use this token to call edna API). Hover over the bot and click + Token.
- In the window that opens, click Copy.
The system generates a token and inserts it for the bot. The bot is ready to start working.