Question
You are designing a Power Virtual Agents chatbot.
The chatbot must be able to maintain customer information if the conversation topic changes during a dialog.
You need to configure variables to store customer name and email address.
Which type of variable should you create?
- A. session
- B. slot
- C. bot Correct
- D. topic
Explanation
Bot variables (now called global variables) are available in every topic of the bot. Their values persist for the whole user session, so the customer's name and email address stay available when the conversation moves to another topic. Topic variables can be used only in the topic where they are created, unless they are passed explicitly. Slot is an entity-filling concept, not a variable scope, and Power Virtual Agents has no separate 'session' variable type.