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
Working with User Intent Node
Working with the Dialog Node
Working with Entity Node
Supported Entity Types
Working with Composite Entities
Supported Time Zones
Supported Colors
Supported Company Names
Working with Message Nodes
Working with the Confirmation Nodes
Working with Service Node
Implementing Custom Authentication
Enabling 2-way SSL for Service nodes
Working with Script Node
Working with Agent Transfer Node
Working with WebHook Node
Defining Connections & Transitions
Managing Dialogs
Prompt Editor
Action & Information Task
Working with Action Tasks
Working with Information Tasks
Establishing Flows
Alert Tasks
Working with Alert Tasks
Managing Ignore Words and Field Memory
Knowledge Graph
Building Knowledge Graph
Generation of Knowledge Graph
Importing and Exporting Knowledge Graph
Knowledge Graph Analysis
Knowledge Extraction
Natural Language
Machine Learning
ML Model
Fundamental Meaning
Knowledge Graph Training
Ranking and Resolver
NLP Detection
NLP Settings and Guidelines
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
Talking to Bot
Utterance Testing
Batch Testing
Recording Conversations
Publishing your Bot
Analyzing your Bot
Custom Dashboard
Conversation Flows
Bot Metrics
Advanced Topics
Bot Authorization
Language Management
Collaborative Development
IVR Integration
Universal Bots
Enabling Languages
Smart Bots
Sample Bots
Travel Planning
Flight Search
Event Based Bot Actions
Bot Settings
Bot Functions
General Settings
PII Settings
Customizing Error Messages
Bot Management
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
Web Socket Connect & RTM
Using the BotKit SDK
Installing the BotKit SDK
BotKit SDK Configuration
Events for the BotKit SDK
Functions for 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
Sending Bulk Invites to Enroll Users
Importing Users and User Data
Synchronizing Users from Active Directory
Security & Compliance
Using Single Sign-On
Cloud Connector
How Tos
Context Switching
Using Traits
Live Agent Transfer
Schedule a Smart Alert
Configure Agent Transfer
Custom Dashboard
Patterns for Intents & Entities
Build Knowledge Graph
  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