Get started

Follow the steps to quickly start creating a chatbot

Write the conversational script

The main.converse file contains the main chatbot scenario

@Event('start')
start() {
    > Hello World
}
  1. start() is a function. Here, it corresponds to a dialogue.
  2. We use a decorator @Event() to indicate how we trigger the function. The name of the event is start. Thus, the function will only be triggered once: the first time the user interacts with the chatbot.
  3. Starting the line with > sends a response to the user. Here is Hello World

© 2019 NewBot