Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - Topic Creation & Management
Unanswered

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.
Categories:
  • Suggested answer
    Romain The Low-Code Bearded Bear Profile Picture
    81 on at
    Validating User Input
    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.
     
     
  • ronaldwalcott Profile Picture
    3,497 on at
    Validating User Input
    Consider using the old method by asking is the name correct - capture in a variable and branch based on the response.  

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 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,631 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,964 Most Valuable Professional

Leaderboard

Featured topics