Skip to main content

Frequent use cases

This page introduces you to different basic and frequent use cases of the dydu platform. Feel free to reproduce them to familiarize yourself with the platform.

Create a matching group

The matching groups represent groups of words and terms having a similar meaning or intent.

You can find a complete definition here.

Note: creating matching groups is the first major step to complete before any knowledge creation.

To create a matching group, please follow the following steps (in this example, we will be creating the 'computer' matching group):

  1. Go to the Content > Matching groups page.
  2. Click Add to create a group. Before creating a group, you can create categories in which your groups will be filed.
  3. Click Add matching group. A new window appears.
  4. Enter the name of your matching group.

  1. Click Add. Your matching group is created.
  2. Then, select your newly created matching group to add formulations.
  3. At the bottom of the page, add all rewords one by one from the Formulation.

  1. Click Add. Your matching group now contains formulations and will can be used when creating a knowledge.

For more information, please visit matching groups.

Create a decision tree

A dialog with a bot can involve more or less complex conversational flows. To meet this need, you have the ability to create decision trees to manage multiple scenarios within one and the same knowledge. Please follow these steps:

  1. Create a simple knowledge (see procedure on this page). Our knowledge for the example will be "I have a payment problem" with the answer "Do you have an account on our website?"

Note: matching groups can be suggested at any time. Select the suggested suggestions if you want to use them or just ignore them.

In this case, the user is asked to answer yes or no.

  1. In order to manage the two possible scenarios, it becomes necessary to create a decision tree. To do this, click on the icon below your answer window. Select Add an intention.
  2. Enter "Yes" and click Create.
  3. Write the answer, select Published, click on Update. Your first sub-branch is created.
  4. Repeat the previous step to create a second sub-branch with the "No" knowledge. Your decision tree is created.


Note: It would have been possible here to insert two clickable redirections "Yes" and "No". However, using direct links to an internal redirect is especially useful when your bot offers multiple and specific choices.


  1. A user can respond with an unexpected answer that the bot did not consider. In this case, it would be an answer that does not correspond to "Yes" or "No". To do this, you must use the icon that will allow you to answer to any user sentences that do not match the defined branches of the decision tree.

  1. Test your knowledge and multiple scenarios through the test bot.

Create a redirection to another knowledge

You can make redirections to other knowledge items. This allows you, among other things, to create connections within your knowledge base. To perform a redirection, please follow these steps:

  1. Create or edit a knowledge and then move to the answer window.

  2. Click the icon, then click Reword.

  3. Find the knowledge to which you want to redirect from the Reword field.

  1. Click Ok. Your redirection is shown.


Create a Livechat escalation

To create a Livechat escalation, you can do this through simple knowledge or through internaut activity (condition for triggering a Livechat escalation). Please follow these steps:

  1. Create a simple knowledge like "I want to talk to an operator".

  2. In the answer window, click More options then click on the Other options.

  3. Click the button at the right of the Define GUI field then click Livechat connection (if you don't see it, go to Preferences > Bot > General > check the Livechat mode box, then Update).

Note: you can also create Livechat escalations using internaut activity type knowledge.

Note 2: do not hesitate to use the context conditions during the Livechat escalation to check the availability of the operators, the operator competencies, etc.

Go to the Livechat page if you want more information.

Create a context condition

The context conditions let you add conditions that will trigger a knowledge, you can find more information on this page.

In this example, the context condition to be created will be about the user page. The goal will be to check if the user URL contains "knowledges". If it is the case, the user will get a specific answer. If not, they will get another one, asking to go to the page triggering the knowledge.

Note: if you want to test the context condition at the end of this example with a deployed bot, please customize the example by replacing the term of the URL with a term specific to a URL where your bot is located.

To create and use this context condition, please follow these steps:

  1. Go to Content > Context conditions.

  2. Click Add at the top right of the page.

  3. Fill in the fields as follows:

Note: the UserURL() condition is a selectable context condition by default in the condition list.

  1. Click the tick to validate the creation of your context condition.

  2. Go to Content > Knowledge and create your knowledge like this:

  • Add new knowledge
  • Answer to a question
  • Create the sentence to understand
  • Close the answer window
  • Click on
  • Select Current action
  • Select your condition in the list
  • Click on Update
  • Then you will be able to fill Success and Failure answers.

So, depending on the success or failure of the context condition, the bot will send a different answer to the user.

You can create and customize an infinite number of context conditions and use them within your knowledge.