Difference between revisions of "Conversation Flows"

From Wisevoice Wiki
Jump to: navigation, search
Line 1: Line 1:
 +
 +
Dialogs based on conversation flows are guided dialogs. With conversation flows you create a dialog tree where you define all the branches of the conversation. Here you can also connect different services and scripts to match business logic requirements.
 +
 
[[File:Demo_canvas.png|800px|link=http://www.wiki.wisevoice.ai]]
 
[[File:Demo_canvas.png|800px|link=http://www.wiki.wisevoice.ai]]
 +
 +
Conversation flow are trigged either by an event or by another flow.
 +
Flows are build using 6 building blocks:
 +
*'''Events'''
 +
*'''Intents'''
 +
*'''Messages'''
 +
*'''Entities'''
 +
*'''Scripts'''
 +
*'''Services'''
 +
 +
In the example above we have a flow that is triggered by the Start Event. The Start Event is the most common type of event and is triggered when the user opens the chat or calls in.
 +
The Start Event is usually connected to a message node, that contains the welcome message. This means that when the user opens the chat he will instantly receive the welcome message.
 +
After sending the welcome message, the virtual agent will wait for user input. When receiving the user input it will detect the intent and continue on that branch. If for example the agent couldn't detect the intent it will select the "default fallback" intent, that is configured as a fallback; thus it will send the user the message from the "mesaj fallback" and will wait for user input again. The "messaj fallback" node is conected to all the intents from the previous state, creating a loop.

Revision as of 10:16, 18 November 2019

Dialogs based on conversation flows are guided dialogs. With conversation flows you create a dialog tree where you define all the branches of the conversation. Here you can also connect different services and scripts to match business logic requirements.

Demo canvas.png

Conversation flow are trigged either by an event or by another flow. Flows are build using 6 building blocks:

  • Events
  • Intents
  • Messages
  • Entities
  • Scripts
  • Services

In the example above we have a flow that is triggered by the Start Event. The Start Event is the most common type of event and is triggered when the user opens the chat or calls in. The Start Event is usually connected to a message node, that contains the welcome message. This means that when the user opens the chat he will instantly receive the welcome message. After sending the welcome message, the virtual agent will wait for user input. When receiving the user input it will detect the intent and continue on that branch. If for example the agent couldn't detect the intent it will select the "default fallback" intent, that is configured as a fallback; thus it will send the user the message from the "mesaj fallback" and will wait for user input again. The "messaj fallback" node is conected to all the intents from the previous state, creating a loop.