Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

Capturing an entity at NLU Main Menu

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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?

 

brianali_0-1707771333249.png

 

Categories:
  • adilei Profile Picture
    on at
    Re: Capturing an entity at NLU Main Menu

    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)

     

    adilei_0-1707936335323.png

     

  • brianali Profile Picture
    Microsoft Employee on at
    Re: Capturing an entity at NLU Main Menu

    @adilei Could you explain how to do that with CLU?

  • adilei Profile Picture
    on at
    Re: Capturing an entity at NLU Main Menu

    @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. 

  • brianali Profile Picture
    Microsoft Employee on at
    Re: Capturing an entity at NLU Main Menu

    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?

  • adilei Profile Picture
    on at
    Re: Capturing an entity at NLU Main Menu

    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

  • brianali Profile Picture
    Microsoft Employee on at
    Re: Capturing an entity at NLU Main Menu

    @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?

  • adilei Profile Picture
    on at
    Re: Capturing an entity at NLU Main Menu

    No, extracted entities cannot be accessed programmatically. What's motivating the question, btw?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - General

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 23

#2
Pablo Roldan Profile Picture

Pablo Roldan 16

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard