David E.
David E.

Reputation: 91

Configure a default scenario in MS Health Bot Service

I am using Microsoft's Health Bot Service to create a healthcare bot.

I have created 2 scenarios and I want one of them to be the one that will kick off when starting a new conversation.

I failed to find anywhere in the Health Bot Service portal how to configure this.

Upvotes: 0

Views: 477

Answers (1)

mdrichardson
mdrichardson

Reputation: 7241

If you want the bot to start the scenario before the user has interacted with it, that feature isn't currently available since "before triggering a scenario, the bot waits for initial input from the end user."

As the Health Bot was just made available to the general public in the last week, that feature may be added in the future, but I'm not sure.

Currently, if a user has initiated a conversation with the bot previously, you can send proactive messages.

Otherwise, I'd suggest doing the following to get close to what you're looking for:

  1. In Configuration > Conversation > Interactions, change the Automatic welcome to something like, "Say "start scenario" to get started." Obviously, change "start scenario" to whatever makes the most sense for your use case.

Step:

enter image description here

Result:

enter image description here

  1. Go to Scenarios > Manage and create your "Kick off" scenario

Step:

enter image description here

enter image description here

  1. Go to Language > Models and make a new model. Use LUIS or RegEx, but make sure that the expression it looks for is the one you told the user to use in step 1. Then, for Intent Mapping, point it to the scenario you created in step 2.

Step:

enter image description here

Result:

enter image description here

Upvotes: 1

Related Questions