Greeting message

The Greeting message flow is the first flow to trigger when a user begins a dialog with your bot. This is the place where a bot should introduce itself and lay down the scope of the conversation. The Teneo Dialogue Resources (TDR) are delivered with a pre-built greeting located in the top-level folder Greeting Message. The flow contains standard greeting responses, which you can adjust to match your use case. If you did not load TDR into your solution, you will need to create your own Greeting Message flow.

Greeting style

The greeting message holds the first words users hear from your bot, so you should try and make the most out of this introduction. Be sure to write something that encourages users to engage with your system.

This greeting would not be very effective in a business setting:

Bot: Say something.

But this greeting clearly guides user expectations:

Bot: Hi, my name is Botname of Artificial Solutions. I'm here to answer all your questions about ordering coffee online. How may I help you?

In other words, an effective way to begin the conversation is to:

  1. Introduce the system (use the bot's name, if it has one).
  2. Mention the company's name.
  3. Tell users what they can ask.

Remember, this is the one flow that users will definitely see, so be sure to put some thought into its preparation. These are stored as Global Variables in the Teneo Dialogue Resources and can be changed upon editing the value.

Trigger condition

The greeting flow uses a trigger with a Conditional Match Requirement whose condition queries specific system annotations:

Greeting trigger condition

%$_INIT represents the event of the input being the first in a conversation. %$_EMPTY means that the user input does not contain any text. Together, these two conditions say: give the greeting message if the user did not start the conversation with a question. If the user has sent a question as the first input, we skip the greeting message and allow the input to be processed by the first best flow.

Build a Greeting message flow

The Greeting message is an important part of a solution, as it is typically the first thing the user sees of the solution. The following steps detail how to build your own Greeting message flow.

The Teneo Dialogue Resources (TDR) come with a pre-built Greeting message flow. You can find it in the 'Greeting Message' folder. For solutions in languages without available TDR, it is useful to add your own Greeting message flow using the following instructions and localizing to the language in question.

Create a new flow

Remember that this flow is a flow like any other in your bot. The condition is what sets it apart from other flows. But since it does have a unique purpose, we advise you to keep the flow in a special folder, make sure it's easy to find, and give it a meaningful name.

  1. Click on the 'Flow' icon in the top ribbon.
  2. Name the flow Greeting message.
  3. Click the arrow in the top left corner of the window to go to the main flow window.

Create a conditional match requirement

Next, add a conditional match requirement to your newly created flow:

  1. Select the trigger and name it Greeting message.
  2. Scroll down to the 'Match Requirements' section and click on the 'Add' button. This will toggle a drop-down list of different match requirements to select.
  3. Select 'Condition' and then paste in the following condition: %$_INIT & %$_EMPTY.

If you need a way to manually trigger the flow, for example from another system such as an IVR, you can add a trigger word to the condition, one that users will not enter by accident: (%$_INIT & %$_EMPTY) / TRIGGER_GREETING_MESSAGE

Assign an order group

Make sure to assign the trigger to a high priority order group.

Add a greeting message to the output node

As this message is the first one the user will see, it is important to choose it carefully. Feel free to use the following example, which makes use of the global variable holding the bot name, or write your own message.

  1. Select the output node and give it a name like Answer to Greeting message.
  2. Set the answer to Hello and welcome! My name is ${Lib_sBotName} and I'm here to answer your questions..

Activate in Try Out

You can trigger the greeting flow in Try Out by following these steps:

  1. Click the Restart button to begin a new conversation.
  2. Click the Send button, leaving the input field blank.

Was this page helpful?