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 :
Power Platform Community / Forums / Copilot Studio / Question Node Not Beha...
Copilot Studio
Answered

Question Node Not Behaving Properly

(3) ShareShare
ReportReport
Posted on by 12
I am currently developing a copilot in Copilot Studio. In one of the topics, I am using a Question node to ask the user for some multi-digit number, e.g., a customer number. Unfortunately, this is where the problem begins.
 
There are two approaches that I have tried so far:
 
1. Under "Identify" I created a new Entity that uses RegEx to extract exactly 5 consecutive digits from the user's message/answer, not 4, not 6.
 
In this case, it works fine if I give exactly 5 digits in a sentence such as "Number is: 12345" or also when I just give the 5 digits as the entire answer ("12345"), but when I give a 6-digit number as the entire answer ("123456"), it directly escalates the topic ("How many repromts" under "Question behavior" is set to "Don't repeat", so this is partially expected behavior) BUT "Action if no entity found" under "Entity recognition" in Question properties is NOT set to "Escalate"; it is set to "Set variable to empty (no value)". I expected the variable to be set to Blank and continue the topic, but I was wrong.
 
2. Under "Identify" I selected "User's entire response". The expected behavior is: "No entity extraction; saved as is".
 
Here, I wanted to create a workaround: save the user's entire response to the Question node as a string, then use a Power Fx function/formula in a following Set variable value node to check for a 5-digit number in the user's response. This case works well when the user's response has words in it, such as "Yes, 12345", "Number is:12345.", etc. But when I give a pure numeric response in the Test window, such as "12345", "1234", etc., it again directly escalates the topic and doesn't proceed to the Set variable value node. Although, again, "Set variable to empty (no value)" is selected and not "Escalate". I am also confused that selecting "User's entire response" didn't make much of a difference. I expected the entire response to be saved as-is and assigned to a variable, which I could then work with in the next steps/nodes regardless of the response. Maybe I am misinterpreting this "Identify" behavior?
 
I read two related entries in this forum, one from 2022 and one from 2023. The recent one was solved by setting the value to blank rather than escalating, which is exactly the behavior I am struggling with. Any help or suggestions are welcome.
Thanks in advance!
I have the same question (0)
  • Suggested answer
    CU22081450-0 Profile Picture
    Most Valuable Professional on at
    Hi,
     
    You could use the "Create generative answers" to get this data quickly and safe.
     
    Here is an example:
     
    Prompt: 
    I have a multi-digit number, e.g., a customer number. You need to extract exactly 5 consecutive digits from the user's message/answer, not 4, not 6. Save only the number and DO NOT REPLY with any other text. Here's the user message: [PASTE YOUR VARIABLE HERE]
     
  • EÖ-13080954-0 Profile Picture
    12 on at
    Hi @renatoromao,
     
    Thanks a lot for your descriptive answer. If this issue with the Question node persists, I will go with your suggestion. Even though there might be a bit of latency compared to the Question node, functionality is more important.
     
    The only problem I would have in this case, and it is my bad for not giving more background, is that in the directly preceding node, I am generating the question to ask the user for their multi-digit number using a "Create generative answers" node. If I don't have a Question node in between, the Copilot wouldn't wait for the user's answer. It would continue with the rest of the functionality/flow without receiving a number from the user.
     
    Is there maybe any other node that waits for the user's answer?
  • Suggested answer
    CU21082047-2 Profile Picture
    on at
    How do I raise a complaint in Meesho? {÷} Toll Free: Online complain, 24/7) ➑➒➑➊➐➐➌➏➑➊//8981773681( Meesho complaint customer service /credit card/ report Transaction), 1800-258-6161 (Report online shoppingee

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 261 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard