Use lesson topics in Power Virtual Agents
Power Virtual Agents includes a set of four lessons from which you can see examples of topics. These range from simple to complex scenarios that leverage the use of conditional branching and custom entities.
Access and use lesson topics for new bots
When a bot is created, a number of lessons are automatically created as topics.
While the topics are functional, they are examples for the purposes of learning how to create content for your bots and are not designed for production use.
Use lesson topics to understand how topics work:
Go to the Topics tab.
Select Lesson 1 and work through to Lesson 4. Review the title and description, and see what trigger phrases are being used.
Select Go to authoring canvas on each topic's details page to see the bot's flow; including the bot's comments, expected user responses, decision points, and entity references.
You will see these lessons when you create a new bot. If you have previously created a bot and don't see them, try creating a new bot and then going to the Topics tab.
Available lesson topics
Each lesson is designed to teach you how to use the authoring canvas to create basic and advanced bot conversations.
You should start with Lesson 1 and work through each lesson in order.
Lesson 1 - A simple topic
This lesson shows you how to create a simple topic with one conditional branch.
Lesson 2 - A simple topic with a condition and variable
This lesson shows you how you can create a simple topic with one conditional branch and a variable.
A variable is a name for an item which will be used later in the topic flow. In this example,
pva_StoreLocation is the variable to store the user's response when you ask for their preferred store location.
Lesson 3 - A topic with a conditions, variables and a pre-built entity
When you use entities in your topic, the bot can identify key information from what the user types and automatically fill in that information into your variables.
For example, if you type "I want to buy a red car," the bot doesn't need to ask which color car, because the bot recognizes the Color entity in what you typed. The bot will then skip the question where you asked for color.
In this lesson, the bot uses the State entity and will recognize any US state the user enters.
Lesson 4 - A topic with conditions, variables and a custom entity
You can see the bot bypass a follow-up question. For example, try testing with "I want a business laptop."