Difference between revisions of "Conversation Flows"
Line 5: | Line 5: | ||
Conversation flow are trigged either by an event or by another flow. | Conversation flow are trigged either by an event or by another flow. | ||
− | Flows are build using 6 building blocks. | + | Flows are build using 6 building blocks. Read more about each building block on it's dedicated page: |
*'''Events''' | *'''Events''' | ||
*'''Intents''' | *'''Intents''' |
Revision as of 10:23, 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.
Conversation flow are trigged either by an event or by another flow. Flows are build using 6 building blocks. Read more about each building block on it's dedicated page:
- 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 connected to all the intents from the previous state, creating a loop.