Create first dialog step

When you launch you scenario in the editor, there will be a lot of code that was generated for you by BotTalk. Don’t be afraid. We’ll get to the nitty-gritty details of scenario structure later. For now, you just want your assistant to say “Hello, world!”, remember?

To do that, find the line with steps: text on it, hit enter after this line. And starting from the next line write (or copy and paste) the following:


    - name: My first step
      actions:
        - sendText: Hello, World!

What you did here is create your first step. You gave your step a name My first step. And you’re commanding your Assistant to take some actions. In your case - to send a piece of text using sendText action.