OVERVIEW
Virtual Assistants
Kore.ai Platform
Key Concepts
Natural Language Processing (NLP)
Accessing Platform
VIRTUAL ASSISTANTS
Virtual Assistant Builder
Virtual Assistant Types
Getting Started
Creating a Simple Bot
SKILLS
Storyboard
Dialog Task
Introduction
Dialog Builder (New)
Dialog Builder (Legacy)
User Intent Node
Dialog Node
Entity Node
Supported Entity Types
Composite Entities
Supported Colors
Supported Company Names
Form Node
Logic Node
Message Nodes
Confirmation Nodes
Bot Action Node
Service Node
Custom Authentication
2-way SSL for Service nodes
Script Node
Agent Transfer Node
WebHook Node
Grouping Nodes
Connections & Transitions
Manage Dialogs
User Prompts
Knowledge Graph
Terminology
Building
Generation
Importing and Exporting
Analysis
Knowledge Extraction
Build
Alert Tasks
Introduction
Ignore Words and Field Memory
How to Schedule a Smart Alert
Small Talk
Digital Views
Overview
Configuring Digital Views
Digital Forms
Overview
How to Configure Digital Forms
NATURAL LANGUAGE
Overview
Machine Learning
Introduction
Model Validation
Fundamental Meaning
Introduction
NLP Guidelines
Knowledge Graph
Traits
Introduction
How to Use Traits
Ranking and Resolver
Advanced NLP Configurations
INTELLIGENCE
Overview
Context Management
Overview
Session and Context Variables
Context Object
How to Manage Context Switching
Manage Interruptions
Dialog Management
Sub-Intents & Follow-up Intents
Amend Entity
Multi-Intent Detection
Sentiment Management
Tone Analysis
Sentiment Management
Event Based Bot Actions
Default Conversations
Default Standard Responses
TEST & DEBUG
Talk to Bot
Utterance Testing
Batch Testing
Record Conversations
CHANNELS
PUBLISH
ANALYZE
Overview
Dashboard
Custom Dashboard
Overview
How to Create Custom Dashboard
Conversation Flows
NLP Metrics
ADVANCED TOPICS
Universal Bots
Overview
Defining
Creating
Training
Customizing
Enabling Languages
Store
Smart Bots
Defining
koreUtil Libraries
SETTINGS
Authorization
Language Management
PII Settings
Variables
Functions
IVR Integration
General Settings
Management
Import & Export
Delete
Versioning
Collaborative Development
Plan Management
API GUIDE
API Overview
API List
API Collection
SDKs
SDK Overview
SDK Security
SDK App Registration
Web SDK Tutorial
Message Formatting and Templates
Mobile SDK Push Notification
Widget SDK Tutorial
Widget SDK – Message Formatting and Templates
Web Socket Connect & RTM
Using the BotKit SDK
Installing
Configuring
Events
Functions
BotKit SDK Tutorial – Agent Transfer
BotKit SDK Tutorial – Flight Search Sample Bot
Using an External NLP Engine
ADMINISTRATION
HOW TOs
Creating a Simple Bot
Creating a Banking Bot
Context Switching
Using Traits
Schedule a Smart Alert
Configure UI Forms
Add Form Data into Data Tables
Configuring Digital Views
Add Data to Data Tables
Update Data in Data Tables
Custom Dashboard
Custom Tags to filter Bot Metrics
Patterns for Intents & Entities
Build Knowledge Graph
Global Variables
Content Variables
Using Bot Functions
Configure Agent Transfer
Update Balance Task
Transfer Funds Task
RELEASE NOTES
  1. Home
  2. Docs
  3. Virtual Assistants
  4. How Tos
  5. Kore-Unblu Integration

Kore-Unblu Integration

Overview

Unblu is a conversational platform that allows agents and advisors in your organization to collaborate with your customers and website visitors. It enables collaboration through online channels like live chat, secure text messaging, and video chat to achieve a better customer experience.

Transferring a chat to a human agent from the bot is necessary if your bot is in the space of customer service. Chatbots are not meant to completely replace humans. At times, the chatbot fails to answer satisfactorily or the user wants to chat with a human being. If this happens, the chatbot should transfer the chats to a human agent or a customer care representative. To help users accomplish this task, Kore can be integrated with the Unblu application.

Here, the bot is the core of the entire solution. Apart from performing all its functionalities, the bot also acts as a proxy between users and agents.

  • Bot: Chat Bot that the user interacts with.
  • Users: Users are the customers who are using this bot.
  • Agent: Agents are humans who chat with users. The agent will also need a chat window. For this, you can use Unblu software.

Prerequisites

The prerequisites are listed below:

  • A fully functional bot.
  • An Unblu account.
  • Download BotKit SDK from Kore’s GitHub.
  • Download and install the <Node.js> file. The BotKit SDK requires <node.js> files to run on the same server where the SDK is installed. The <node.js> version must be v12.0 and above.
  • Ngrok to simulate the callback server application.

Configuration

To perform the Kore-Unblu integration, follow the below steps:

  1. Log in to the Kore bots platform with valid credentials.
  2. Select the Deploy tab from the top menu
  3. From Integrations select the Agent Transfer option
  4. On the Agent Transfer page, next to App Name, click Add (you can select an existing app from the drop-down if you have already created one)
  5. On the Create Client App window, enter the app name in the Name field.
  6. You can choose to enforce JTI or JWE encryption or both. For this use case we will ignore them.
  7. Click Next > Done.
  8. In the Callback URL field, enter the BotKit URL endpoint. For example, https://<domainname>/unblu.
  9. Click Save.
  10. Now, log in to the Unblu account with valid credentials.
  11. Click your profile on the top-right; under the Administration section, select Manage Account.
  12. On the Account Configuration page, by default, Account Overview is displayed.
  13. On the left pane, under the Site Integration section, select Domains.
  14. On the Domains page, click New Domain on the top-right.
  15. On the New Domain window, enter the URL in the Domain URL field. 
    Note: This is the Callback URL. Refer to step 7. If this is not a constant public IP or Ngrok IP, you must update the IP whenever it changes.
  16. In the Protocol field, select Both.
  17. Click Save.

After completing the above configurations, make the required changes in the <config.json> file. Refer to <sample_config_file.txt> for sample values.

  1. Go to <config.json> file and make the below-mentioned changes.
  2. Under the app section, paste the URL (Ngrok or publicly accessible URL). Refer to the below image.
  3. Under the credentials section, paste the Kore bot details: API Key (client secret), App ID (client id), and Bot Name. Refer to the below image.

    To find these details,

    1. Log in to the Kore bots platform with valid credentials.
    2. Select the Deploy tab from the top menu
    3. From Integrations select the BotKit option
    4. You can find the details as needed.
  4. Under the Unblu section, make the below changes:
    1. Paste Unblu credentials under the Unblu credentials section.
    2. Under the external_messenger section, enter the name, description, etc., you want to display in the chat.
      To access the external messenger details,

      1. Log in to the Unblu desktop application.
      2. On the left pane, under the External Integration section, select External Messengers.
      3. On the External Messengers page, select the respective messenger and you can find the messenger details.
    3. Under the agent section, enter the agent details you want to create.
    4. Under the named_area  section, enter a Name and Meta Tag ID.
      To create a named area,

      1. Log in to the Unblu application.
      2. On the left pane, under the Site Integration section, select Named Areas
      3. On the Named Areas page, click New Named Area on the top-right.
      4. On the New Named Area window, select a registered domain from the Domain Name drop-down list and enter a name in the Name field. You can also register a domain by clicking Register a New Domain.
      5. Click Save.
    5. Under the admin section, enter the Unblu username.
  5. After you have updated the <config.json> file, install the dependencies by executing the command npm i.
  6. Run the integration setup by executing the command npm start.   
    Note: The webhook URL must be the same in API Extensions, <config.json> file, and the external messenger section (Endpoint URL of the respective messenger) of your Unblu account as mentioned above (The Botkit URL in API Extensions, app.url, and unblu.custom.external_messenger).
  7. The agent transfer is configured at the dialog level. You can open the dialog task, and open the agent transfer node to see that the configuration is saved.
Menu