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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / How to Handle Differen...
Copilot Studio
Unanswered

How to Handle Different Input Types in Power Virtual Agents

(0) ShareShare
ReportReport
Posted on by 403

Hello everyone,

I'm currently working on a feedback flow in Power Virtual Agents and need some assistance.

 

Jupyter123_0-1694497203583.png

In my flow, I'm asking the user a question: "Does that answer your question? If it does, please provide feedback on a scale of 1 (low) to 5 (best)."

If the user provides an integer value as feedback, the bot should respond with "Thanks for your feedback." and save the int value in a variable.

However, if the user inputs a string (for example, if they ask a question instead of providing feedback), I want to save the feedback as 0 score and then restart the flow from the top.

Could anyone guide me on how to implement this? Any help would be greatly appreciated.

Thank you in advance!

 

Categories:
I have the same question (0)
  • adilei Profile Picture
    Microsoft Employee on at

    In your question node, you can extract "user's entire response", and then check whether the response is numeric using a PowerFX formula.

     

    adilei_0-1696107764948.png

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 850

#2
Vish WR Profile Picture

Vish WR 324

#3
Haque Profile Picture

Haque 296

Last 30 days Overall leaderboard