Chatbot Overview
Conversational Bots
Intents & Entities
Intelligent Bots
Kore.ai's Approach
Kore.ai Conversational Platform
Bot Concepts and Terminology
Natural Language Processing (NLP)
Bot Types
Bot Tasks
Starting with Kore.ai Platform
How to Access Bot Builder
Working with Kore.ai Bot Builder
Building your first Bot
Getting Started with Building Bots
Using the Dialog Builder Tool
Creating a Simple Bot
Release Notes
Latest Updates
Older Releases
Deprecations
Bot Builder
Creating a Bot
Design
Develop
Storyboard
Dialog Task
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
Service Node
Custom Authentication
2-way SSL for Service nodes
Script Node
Agent Transfer Node
WebHook Node
Grouping Nodes
Connections & Transitions
Managing Dialogs
User Prompts
Alert Tasks
Alert Tasks
Ignore Words and Field Memory
Digital Forms
Digital Views
Knowledge Graph
Terminology
Building
Generation
Importing and Exporting
Analysis
Knowledge Extraction
Small Talk
Action & Information Task
Action Tasks
Information Tasks
Establishing Flows
Natural Language
Overview
Machine Learning
Model Validation
Fundamental Meaning
NLP Settings and Guidelines
Knowledge Graph Training
Traits
Ranking and Resolver
NLP Detection
Advanced NLP Configurations
Bot Intelligence
Overview
Context Management
Session and Context Variables
Context Object
Dialog Management
Sub-Intents & Follow-up Intents
Amend Entity
Multi-Intent Detection
Sentiment Management
Tone Analysis
Sentiment Management
Default Conversations
Default Standard Responses
Channel Enablement
Test & Debug
Talk to Bot
Utterance Testing
Batch Testing
Record Conversations
Publishing your Bot
Analyzing your Bot
Overview
Dashboard
Custom Dashboard
Conversation Flows
Bot Metrics
Advanced Topics
Bot Authorization
Language Management
Collaborative Development
IVR Integration
Data Table
Universal Bots
Defining
Creating
Training
Customizing
Enabling Languages
Smart Bots
Defining
Sample Bots
Github
Asana
Travel Planning
Flight Search
Event Based Bot Actions
koreUtil Libraries
Bot Settings
Bot Functions
General Settings
PII Settings
Customizing Error Messages
Manage Sessions
Bot Management
Bot Versioning
Using Bot Variables
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
Bot Administration
Bots Admin Console
Dashboard
User Management
Managing Users
Managing Groups
Managing Role
Bots Management
Enrollment
Inviting Users
Bulk Invites
Importing Users
Synchronizing Users from AD
Security & Compliance
Using Single Sign-On
Security Settings
Cloud Connector
Analytics
Billing
How Tos
Creating a Simple Bot
Creating a Banking Bot
Transfer Funds Task
Update Balance Task
Context Switching
Using Traits
Schedule a Smart Alert
Configure Digital 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
Using nlMeta
Global Variables
Content Variables
Using Bot Functions
Configure Agent Transfer
  1. Home
  2. Docs
  3. Bots
  4. Bot Building
  5. Dialog Task
  6. Dialog Task

Dialog Task

Kore.ai Dialog Tasks represent a full conversational flow between a user and a bot with a network of nodes that are connected using conditions.

For example, if you create a banking bot, the tasks you want your bot to do for users is to:

  • Retrieve and monitor account balances.
  • Provide alerts for expenditures or low balances.
  • Transfer funds
  • Pay bills
  • A combination of these or more.

Dialog tasks also handle multiple user intents within a single conversation. For example, Pay Bills is a typical question in a Banking Bot, followed up with Transfer Funds or Check Balance. You can create a dialog task to encompass a full conversation with multiple outcomes as a single task.

A dialog task begins with a root intent, Pay Bill; can branch out into subtasks, Check Balance; then return to the primary task. The branch flow is determined at the runtime by the user input or selection.

Why Dialog Task?

As a developer, you can define Kore.ai Dialog Tasks to:

  • Create a conversational flow between the user and the bot.
  • Build dialogs with branching paths based on user inputs and responses.
  • Invoke a child flow within the context of the current flow.
  • Define and reuse dialog nodes connected by defined conditions.
  • Add custom JavaScript to the conversation flow.
  • Add event handlers and get or update the conversation context through Webhook.

It is recommended to end a dialog task with a message node. In the absence of a message node, the dialog task can not find closure and reverts to Small Talk/Intent not Found standard messages.

The following is a typical dialog task for Funds Transfer:

Dialog Task Builder

The Dialog Task Builder is the user interface to build Dialog Tasks. Dialog Tasks consists of a set of connected nodes and branch paths the bot can take based on a user conversation. Click here to know about how to use the Dialog Builder Tool.

Create a Dialog Task

To create a dialog task, you must have already created a bot to add a dialog task to.

To add a dialog task, follow the below steps:

  1. Open the bot in which you want to create the dialog task.
  2. Hover over the left navigation pane and click Bot Tasks.
  3. On the Bot Tasks page, click the + icon on the Dialog Tasks widget.
  4. Enter a name for the dialog task in the Intent Name field.
  5. Optionally, you can add a description and set options for the task to be an independent or sub-intent task.
  6. Click Create & Proceed.
  7. The Dialog Builder displays with the root intent component and User Intent window with the Component Properties tab selected by default.

Now, you are ready to add nodes and establish transitions between these nodes for your workflow. Click here to know about Nodes & Transitions.

Clone a Dialog Task

(Introduced in v7.1)

There are scenarios where you need to create two similar dialog tasks with minor differences. You can achieve the same with the Clone option available for the given dialog from the Dialog Tasks page.

To clone a dialog task, follow the below steps:

  1. Open the bot in which you want to clone the dialog task.
  2. Hover over the left navigation pane and click Bot Tasks.
  3. On the Bot Tasks page, hover over the task you want to clone and click Settings (gear icon) > Clone.
  4. On the Clone a Dialog window, enter a name for the dialog task in the Intent Name field.
  5. Optionally, you can add a description and set options for the task to be an independent or sub-intent task.
  6. Click Clone.

The following are the properties of a cloned dialog task:

  • It contains the same component, instance, NL, IVR, and connection properties as the original dialog.
  • The Dialog Settings, Interruption Settings, and Amend behavior is also copied from the original dialog.
  • If multiple languages are enabled in the original dialog, then the details for all languages are copied.
  • The below-listed intent level NLP training data is not copied:
    • ML Utterances
    • Intent Patterns & Rules
    • Intent Synonyms
Menu