Chatbot Overview
Conversational Bots
Intents & Entities
Intelligent Bots's Approach Conversational Platform
Bot Concepts and Terminology
Natural Language Processing (NLP)
Bot Types
Bot Tasks
Starting with Platform
How to Access Bot Builder
Working with 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
Bot Builder
Creating a Bot
Dialog Task
User Intent Node
Dialog Node
Entity Node
Supported Entity Types
Composite Entities
Supported Time Zones
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
Prompt Editor
Alert Tasks
Alert Tasks
Ignore Words and Field Memory
Digital Forms
Digital Views
Knowledge Graph
Importing and Exporting
Knowledge Extraction
Small Talk
Action & Information Task
Action Tasks
Information Tasks
Establishing Flows
Natural Language
Machine Learning
ML Model
Fundamental Meaning
NLP Settings and Guidelines
Knowledge Graph Training
Ranking and Resolver
NLP Detection
Bot Intelligence
Context Management
Session and Context Variables
Context Object
Dialog Management
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
Custom Dashboard
Conversation Flows
Bot Metrics
Advanced Topics
Bot Authorization
Language Management
Collaborative Development
IVR Integration
Data Table
Universal Bots
Enabling Languages
Smart Bots
Sample Bots
Travel Planning
Flight Search
Event Based Bot Actions
koreUtil Libraries
Bot Settings
Bot Functions
General Settings
PII Settings
Customizing Error Messages
Bot Management
Bot Versioning
Using Bot Variables
API Guide
API Overview
API List
API Collection
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
BotKit SDK Tutorial – Agent Transfer
BotKit SDK Tutorial – Flight Search Sample Bot
Using an External NLP Engine
Bot Administration
Bots Admin Console
User Management
Managing Users
Managing Groups
Managing Role
Bots Management
Inviting Users
Bulk Invites
Importing Users
Synchronizing Users from AD
Security & Compliance
Using Single Sign-On
Security Settings
Cloud Connector
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
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 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, some of the tasks you will 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 Banking Bot that is sometimes 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, and then return to the primary task. The branch flow is determined at runtime by user input or selection.

Why Dialog Task

As a developer, you can define 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 via Webhook;

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 the branch paths the bot can take based on a user conversation. Click here to know about how to use the Dialog Builder Tool.

Creating a Dialog Task

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

To add a dialog task

  1. Open the Bot in which you want to create the Dialog Task.
  2. Hover over the side navigation panel and click Bot Tasks.
  3. Click or Hover over the Dialog Tasks, and then click the plus icon.
  4. Enter a name for the dialog task, this serves as the Intent name for the Task you are building.
  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 opens with the root intent component and Component Properties panel.
  8. Now you are ready to add Nodes and establish Transitions between these Nodes for your workflow. See here for Nodes & Transitions.

Cloning a Dialog Task

(Introduced in ver7.1)

There might be times where you need to create two similar Dialog Tasks, with minor differences. You can accomplish the same using the Clone option available for the given Dialog from the Dialog Tasks page.

To clone a dialog task

  1. Open the Bot in which you want to clone the Dialog Task.
  2. Hover over the Task you want to clone and click on the Settings (gear icon).
  3. Select the clone option.
  4. The Clone a Dialog window opens.
  5. Enter a name for the dialog task, this serves as the Intent name for the Task you are building.
  6. Optionally, you can add a description and set options for the task to be an independent or sub-intent task.
  7. Click Clone.
  8. A new dialog task with the name is created.

Note the following points regarding the cloned dialog task:

  • It will have the same component, instance, NL, IVR and connection properties as the original Dialog;
  • The Dialog Settings, Interruption Settings and Amend Behavior will also be copied from the original Dialog;
  • If multiple languages are enabled in the original Dialog, then the details for all languages will be copied
  • Intent level NLP training data will not be copied i.e. the following will not be copied:
    • ML Utterances
    • Intent Patterns & Rules
    • Intent Synonyms