- Flight Availability
- Book a Flight
- Book a Hotel
Key Features
The key features of dialog nodes are listed below:- The ability to carry data from the current dialog task to the target dialog task as entity pre-assignments, described in a later section.
- When a target dialog task is invoked, the current dialog flow begins at the root intent of the new dialog task. If you write transitions for the dialog node, then the flow returns to the source dialog task after completing the target. If you do not write transitions, the dialog task ends after executing the target dialog task. This differs from an optional User Intent node, where the dialog flow processes a related user intent and then continues in the same dialog task thereafter.
Add the Node
Setting up a dialog node in a dialog task involves the following steps:- Open the dialog task that you want to add the node to.
- Add a Dialog node in the designated place. Read more about adding nodes.
Configure the Node
Component Properties
Once you place your node on the canvas, the dialog window is displayed with the Component Properties tab selected by default. The configurations you set up or edit in the Component Properties tab reflect in all the dialog tasks that use this node. On the Component Properties tab, you can modify:- The Name
- The Display Name
- The Description
NLP Properties
The NLP Properties are related to the underlying intent associated with a dialog. You can add these properties here or in the NLP – Training section. They are used to train the machine learning model to help improve intent identification for the dialog task. These properties are not used to execute this node in the flow. To improve intent identification for the dialog task, add or define the following properties:- Machine Learning settings to provide user utterances to improve the detection of this intent. Learn more.
- Patterns and Rules to capture this intent if the user’s utterance contains these specific patterns or matches the rule. Learn more.
- Bot Synonyms or related phrases for the user intent. Learn more.
- Manage Context tags as preconditions to identify the intent and define the output context to be set when this task is initiated. Learn more.
Connections Properties
If the node is at the bottom in the sequence, then only the connection property is visible.
The conditions configured here are applicable only for this instance and will not affect the node when being used in any other dialog.
- Not Connected — No specific next node is defined.
- End of Dialog — Explicitly ends the current dialog.
- Return to Flow — Terminates the Dialog Task and returns control to the Flow Builder. The Flow Builder resumes from the next node.
- Enable the Deflect to Chat option to create conversation flows that transition from voice to chat-based interactions within the same context. It has two deflection types: Automation and Agent Transfer.
Deflect to Chat works only with Kore Voice Gateway Channels (Phone number or SIP Transfer).
Instance Properties
Under the Instance Properties tab, you can configure the instance-specific fields for the selected intent node. These settings are applicable only if you are connecting an existing intent node and only for the selected node instance and will not affect other dialog tasks that may invoke the node you are working with. In the Entity Pre-Assignments section, you can pre-assign values from this session or node data to the entities required by the Dialog Task. Any remaining required values are handled by the sub-intent. (see below for details) If you want to reset the values, you need to use the keyword “null” — spaces would be ignored by the platform. In the Entity Post-Assignments section, there is a list of entities available in the current task with an option to add custom variables. These entities are assigned with values from the linked dialogs session data. For example,context.entities. lists the entities from the linked sub-dialog for selection. The values are assigned once the linked dialog execution is complete.
This option is available only if the Transition Options is set to return to the current node on task completion. Currently, there is a limitation when using URL entity types — URL values with http as opposed to https or without the www suffix will not work. If you want to reset the values, you need to use the keyword “null” — spaces would be ignored by the platform. Many dialog transitions without user interference can lead to infinite dialog looping. To prevent such a situation, the AI Agent displays the error, ‘Sorry something went wrong and I cannot complete your request now,’ after 25 such transitions. This error is displayed when the dialog nodes are connected either in a loop or in a linear manner.
- Initiate the linked Dialog Task, and once complete, return to this node.
- End the current task and initiate the linked Dialog Task.
-
Interruptions Behavior
- Use the task level Interruptions Behavior Setting: The AI Agent refers to the Interruptions Behavior settings set at the dialog task level.
- Customize for this node: By configuring this option you can customize the Interruptions Behavior settings for this node. Read the Interruption Handling and Context Switching article for more information.
-
Custom Tags defines tags to build custom profiles of your app conversations. See here for more. You can add tags for the following:
- Message — Define custom tags to be added to the current message in the conversation.
- User — Define custom tags to be added to the user’s profile information.
- Session — Define custom tags to be added to the current conversation session.
Entity Pre-Assignments
You can pre-populate data for the destination dialog task by:- Adding values to the entity keys.
- Adding additional custom keys and values to pass data from the current dialog task
Contextobject to the destination dialog task as needed.
mappedIntents variable in the Context object which holds the reference of the intent nodes as well as the context of the source dialog task as shown in the following JSON syntax:
GetEmail in the Context object can be:
postbackpayload key is generated by the Platform and is used in some channels, such as Facebook and Slack, which defines when a link or choice is made for a target dialog task.
Use the flag 'reuseEntityWords: true' as part of the pre-conditions to enable entity values extracted in a parent dialog to be automatically available and reused in downstream dialogs without needing to prompt the user again. Learn more.
Related Links