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. Bot Store
  5. Adding Bots
  6. Adding a Mercurial Bot

Adding a Mercurial Bot

Kore.ai provides integration for a built-in Mercurial Bot that you can use to display message notifications and execute tasks directly from the Kore.ai application. To use the Mercurial Bot, you just need to add the Bot to your Kore.ai account, and then configure the settings for the Bot, such as authentication to access Mercurial, and the notification messages that you want. This topic describes the Mercurial built-in Bot for Kore.ai. For more information about other Kore.ai Bots, see Adding Bots.

About the Kore.ai Bot for Mercurial

DIYMercurialLogoMercurial is a cross-platform, distributed revision control tool for software developers.

Integration Type Webhook – Connect to this Bot using a webhook integration where the web application pushes message notifications in near real time.
Category Developer Tools – This Bot is available in the Kore.ai application in the Developer Tools category.

Configuring Mercurial

To configure a Mercurial webhook for Kore.ai, you must have a Mercurial account with administrator access as well as API access to configure a webhook. If you don’t, you’ll need to contact the Mercurial system administrator for your company. For more information, see A Tutorial on Using Mercurial in the Mercurial documentation.
To get started configuring the webhook in Mercurial, you’ll need the Kore.ai webhook URL provided when you set up an alert in your Kore.ai account for each alert that you want to enable in Mercurial.
The webhook URL is account-specific and cannot be transferred to any other account. This means that if you configure a Mercurial webhook using a test account, you will have to recreate the alert and get a new webhook URL to configure in Mercurial. The following URL is an example webhook URL.
https://company.kore.com/hooks/c6089802f36250c179dcb1aa29afd24c

Configuring Webhook

This procedure describes the steps in Mercurial to configure a webhook using a Kore.ai webhook URL endpoint.
To complete this procedure, you must download the kore-hook-script.py file, save it to yourMercurial repository, and then modify the file with the Kore.ai webhook URL. After you add the file, you must update the existing hgrc file in the same directory of your repository to define the events that trigger alerts.

  1. Download the kore-hook-script.py file using the link at the bottom of this page in theArticle Attachments section, and then save the file to the Mercurial repository in the root of the  <MyRepo>/.hg/ directory for the repository that you want to add the webhook to.
  2. In a text editor of your choice, open the kore-hook-script.py file, and then set the property for the Kore.ai webhook URL by modifying the following line:

    url = “https://app.kore.com/hooks/id”

    with your Kore.ai webhook URL, and then Save the file.

  3. In the <MyRepo>/.hg/ directory, open the hgrc file in a text editor, and then add the following code that defines the triggers for alert notifications sent to your Kore.ai account.commit = python:.hg/kore-hook-script.py:commit
           incoming = python:.hg/kore-hook-script.py:incoming
           outgoing = python:.hg/kore-hook-script.py:outgoing
           tag = python:.hg/kore-hook-script.py:tag
           changegroup = python:.hg/kore-hook-script.py:changegroup
           update = python:.hg/kore-hook-script.py:update
  4. Save the file and commit changes to the repository.

For more information, see Handling repository events with hooks in the Mercurial: The Definitive Guide.
You can setup message notifications to your Kore.ai account using a Mercurial webhook. Click , click Get notified when…, click Repository Updates, and then in the Setup Task dialog:

  • click the Activate button to generate a Webhook URL.
  • copy and save the URL, or click Email Instructions to send the URL to an email account. For more information, see Configuring Mercurial Webhooks.
  • optionally customize the Task Name 
  • optionally customize the Short Description
  • enable or disable Mute task notifications.

Article Attachments

Next Steps

After the webhook is configured in Mercurial, when any of the defined events occur in Mercurial, a message is displayed on the Bots tab in the Messages section for the Kore.ai account.

Menu