BotBuilder-Samples/samples/javascript_nodejs/43.complex-dialog
..
bots
deploymentTemplates
dialogs
.env
.eslintrc.js
README.md
index.js
package.json
userProfile.js

README.md

Complex Dialog Sample

This sample creates a complex conversation with dialogs.

Prerequisites

  • Node.js version 18 or higher

    # determine node version
    node --version
    

To try this sample

  • Clone the repository

    git clone https://github.com/microsoft/botbuilder-samples.git
    
  • In a terminal, navigate to samples/javascript_nodejs/43.complex-dialog

    cd samples/javascript_nodejs43.complex-dialog
    
  • Install modules

    npm install
    
  • Start the bot

    npm start
    

Testing the bot using Bot Framework Emulator

Bot Framework Emulator is a desktop application that allows bot developers to test and debug their bots on localhost or running remotely through a tunnel.

  • Install the latest Bot Framework Emulator from here

Connect to the bot using Bot Framework Emulator

  • Launch Bot Framework Emulator
  • File -> Open Bot
  • Enter a Bot URL of http://localhost:3978/api/messages

Further reading