"Welcome Scenario" to enable automatic "call to action" in Healthcare Bot

%3CLINGO-SUB%20id%3D%22lingo-sub-1767816%22%20slang%3D%22en-US%22%3E%22Welcome%20Scenario%22%20to%20enable%20automatic%20%22call%20to%20action%22%20in%20Healthcare%20Bot%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1767816%22%20slang%3D%22en-US%22%3E%3CP%3EPreviously%2C%20only%20%22Welcome%20messages%22%20were%20supported%20in%20which%20markdown%20could%20be%20used%20to%20convey%20a%20welcome%20message%20on%20initial%20interaction%20with%20the%20Healthcare%20Bot.%20We%20got%20numerous%20requests%20from%20our%20customers%20to%20be%20able%20to%20trigger%20more%20elaborate%20uses%20cases%20where%20some%20%22call%20to%20action%22%20could%20be%20expressed%20and%20conversation%20could%20be%20started%20without%20%22free%20text%22%20utterances%20typed%20by%20the%20user.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESo%2C%20%22Automatic%20Welcome%20scenario%22%20was%20introduced%3CSTRONG%3E.%20%3C%2FSTRONG%3EHowever%2C%20there%20is%20one%20major%20limitation%20to%20the%20%22Welcome%20scenario%22%3A%20It%20does%20not%20support%20a%20multi-turn%20conversation.%20This%20means%20that%20you%20can't%20use%20any%20prompts%20that%20will%20ask%20the%20user%20for%20a%20value%20and%20use%20this%20value%20in%20the%20same%20scenario.%26nbsp%3B%20It%20will%20simply%20return%20to%20the%20root%20of%20the%20conversation%20after%20the%20welcome%20scenario%20had%20run.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20workaround%20for%20this%3A%20If%20you%20need%20to%20prompt%20the%20user%20for%20an%20action%2C%20is%20to%20show%20a%20statement%20with%20a%20Hero%20Card%20or%20an%20Adaptive%20Card%20that%20will%20display%20an%20option%20to%20click.%20Clicking%20the%20action%20button%20will%20%22postBack%22%20whatever%20value%20you%20have%20set%20in%20the%20card%20that%20will%20trigger%20another%20scenario%20that%20can%20be%20a%20multi-turn%20one.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20the%20sample%20statement%20below%2C%20we%20show%20a%20%22Hero%20Card%22%20with%20two%20options.%20Selecting%20one%20of%20the%20options%2C%20will%20trigger%20another%20scenario%20which%20can%20be%20a%20multi-turn%20one.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22arie_schwartzman_1-1602350746231.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F225751iAA7D4B76A3B208E6%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22arie_schwartzman_1-1602350746231.png%22%20alt%3D%22arie_schwartzman_1-1602350746231.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ETo%20assign%20a%20%22Welcome%20Scenario%22%2C%20navigate%20to%20the%20%22Configuration%2FConversation%22%20tab%20and%20scroll%20down%20to%20the%20%22Automatic%20Welcome%20Scenario%22.%20Select%20the%20welcome%20scenario%20you%20just%20created%20from%20the%20dropdown.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSTRONG%3ENote%3A%3C%2FSTRONG%3E%20Welcome%20scenario%20will%20override%20the%20%22Automatic%20welcome%20message%22%20if%20exists%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22arie_schwartzman_0-1602350304101.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F225750iD2F112DF2BA46015%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22arie_schwartzman_0-1602350304101.png%22%20alt%3D%22arie_schwartzman_0-1602350304101.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ENow%20each%20time%20the%20user%20opens%20the%20Bot%20client%2C%20he%20will%20be%20prompted%20with%20the%20welcome%20scenario.%20Selecting%20one%20of%20the%20options%20will%20begin%20another%20scenario%20as%20defined%20in%20the%20Hero%20Card%20as%20shown%20below%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22arie_schwartzman_2-1602350944525.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F225752i292091626626295F%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22arie_schwartzman_2-1602350944525.png%22%20alt%3D%22arie_schwartzman_2-1602350944525.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Microsoft

Previously, only "Welcome messages" were supported in which markdown could be used to convey a welcome message on initial interaction with the Healthcare Bot. We got numerous requests from our customers to be able to trigger more elaborate uses cases where some "call to action" could be expressed and conversation could be started without "free text" utterances typed by the user.

 

So, "Automatic Welcome scenario" was introduced. However, there is one major limitation to the "Welcome scenario": It does not support a multi-turn conversation. This means that you can't use any prompts that will ask the user for a value and use this value in the same scenario.  It will simply return to the root of the conversation after the welcome scenario had run.

 

The workaround for this: If you need to prompt the user for an action, is to show a statement with a Hero Card or an Adaptive Card that will display an option to click. Clicking the action button will "postBack" whatever value you have set in the card that will trigger another scenario that can be a multi-turn one. 

 

In the sample statement below, we show a "Hero Card" with two options. Selecting one of the options, will trigger another scenario which can be a multi-turn one.

 

arie_schwartzman_1-1602350746231.png

 

To assign a "Welcome Scenario", navigate to the "Configuration/Conversation" tab and scroll down to the "Automatic Welcome Scenario". Select the welcome scenario you just created from the dropdown.

 

Note: Welcome scenario will override the "Automatic welcome message" if exists

 

arie_schwartzman_0-1602350304101.png

Now each time the user opens the Bot client, he will be prompted with the welcome scenario. Selecting one of the options will begin another scenario as defined in the Hero Card as shown below

arie_schwartzman_2-1602350944525.png

 

0 Replies