web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Copilot Studio
Suggested Answer

Validating User Input

(2) ShareShare
ReportReport
Posted on by
I am working on a Copilot Studio topic that parses a user's question and accesses specific files to answer it.  I got it working, but wanted to add the ability to parse the user's question that triggered the topic and confirm the "Name" in the question was correctly identified (it is critical for determining the file names, which are based on that Name).  Long story short, it appears that if you have a "Add a condition" conditional and attempt any user interaction via "Ask a Question" (to allow the user to correct the Name), that user interaction is ignored.  Doesn't matter if I jump to another topic... any attempt at user interaction that occurs in a conditional branch simply fails silently. 
 
Is there any way to ask a user "Is this name correct (yes or no)?" and then if the answer is "No" ask for a corrected name before proceeding?  Seems like simple functionality and Copilot Studio has proven OPAQUE on this.
I have the same question (0)
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    Consider using the old method by asking is the name correct - capture in a variable and branch based on the response.  
  • Suggested answer
    Romain The Low-Code Bearded Bear Profile Picture
    2,124 Super User 2025 Season 2 on at
    Hello

    I had a quiet same need few month ago. You have few way to answer you'r need.
     
    From the easy one to AI boosted one
     
    First : you Entity Extraction from copilot studio : there a pre-build entity for name, it s answer type from question, in this sample i show for money but in the dropdown there is name too : Question have seamless detection and don't ask if found.
     
     
    Second :  Use the prompt system on your copilot studio home page and global variable : ask him to ask the user name and store it.
     
    Third way : Like some one else already said : use the could old way by direct question : but user could say some thing else and avoid answer
     
    The more reliable result (but cost a little more) : Use Prompt Action (in HUB AI power platform, it's at the same place as AI Builder), use it to analyse input  and answer with the full name or a custom tag like "[no name found]" : you could catch the answer. You could also ask for JSON answer but it ask a little tricks to use it later.
     
    Hope one of the solution is reliable enough for you.
     
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 250 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 197 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 103 Moderator

Last 30 days Overall leaderboard