Hello,
I am trying to create a flow where the user can specify that they want to pay their bill and provide an amount. Is there a way to check if the payment amount entity has been populated once they reach this pay bill topic? I know that the payment amount question will automatically skip if it detects it is filled, but is there any way to explicitly check what was recognized before reaching that question node?
When connected with CLU, copilots have an "Analyze Text" topic, which is triggered each time CLU is called to analyze user utterances. You can add you own login to the topic and store the extracted entities in a global variable.
When your "Pay bill" topic will be triggered, your global variable will be populated with the extracted entities (e.g. amount)
@brianali , went back to your original question for more context. As you already know, the only way to "save" an entity into a variable is by creating a question node, so you would have to structure your questions accordingly.
There is another path but it's more of an involved exercise. Copilot Studio can integrate with CLU as an external language engine, and that (along with some minor customization) will give you programmatic access to extracted entities.
This wouldn't necessarily work for my solution though because "would you like to pay the prepaid amount of $X?" is a question that collects yes/no entity, right? So there is no way to bypass that question, it would only bypass the question where I collect the amount, right?
This is how slot filling works. The question will be "bypassed" if an entity matching the question has already been extracted.
Create and use entities (contains video) - Microsoft Copilot Studio | Microsoft Learn
@adilei I see. I wanted to add a condition to check if they provided an amount at the NLU main menu, then I would want to bypass asking a question like "would you like to pay the prepaid amount of $X?" Can you think of any other workaround for that?
No, extracted entities cannot be accessed programmatically. What's motivating the question, btw?
Romain The Low-Code...
23
Pablo Roldan
16
stampcoin
10