Intent

This page contains information on intent logic and description.

Usage

  • Intents are used to direct user messages to certain dialogs in bot engine. When provided with a namespace and a regex value, if the given message is matched with provided regex value, RunDialog method that namespace class will be executed. See Dialog Design and Hello World examples to see more.

Requirements

  • Namespace

  • Regex Value

  • Report Name

  • Channel (Usually WhatsApp by default)

  • Language

When adding new intent, classes inside your Dialogs folder in your project, must be added to orient the user to a certain menu in the flow.

New Intent

As shown above, the fields must be filled with the necessary information shown below.

Intent Name => CXPerium.Bot.Sample.MainDialog

Regex Value => ^hello|^hi

Report Name => Welcome

Last updated