Use entities and slot filling
In this task, you’ll learn how to use entities and slot filling.
-
With your copilot open in Microsoft Copilot Studio, go to Settings in top-right corner, and select Entities. Then select Add an entity and New entity.
-
Within the Create an entity dialog, select Closed List.
-
Within the Name field of the Order Action pane, enter the name Order Action.
-
Add three options within the List items called Update, Check, and Cancel.
You can also choose to add synonyms by selecting synonyms for each option (optional for this task).
-
Make sure Smart matching is toggled on, and then select Save.
-
Return to the topic that you created in previous lab, called Check Order Status, and select the Question node that you created to originally identify the user’s full response.
-
Select Identify, and a slide-out menu will display on the right, where you can select an entity from the list.
-
Search for and select the custom entity that you created in the previous step called Order Action.
-
Select select options for user and then select all options to display to the user.
-
Save your topic.
You have successfully set up a custom entity for your Question node. The default behavior for question nodes is, if the variable that the question response is stored in has a value already, then the question is skipped and not asked.