cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

How to provide calculated answer from given input from user?

So I was making a bot where User gives Two inputs in two different variable that's - 

1. weight of person

2. height

 

In the next message i want to send the user a his/her BMI from the two input data and weight he/she need to reach healthy BMI and If BMI is in healthy range - Provide message that you BMI Xyz is under normal range 

 

  • Underweight: BMI is less than 18.5.
  • Normal weight: BMI is 18.5 to 24.9.
  • Overweight: BMI is 25 to 29.9.
  • Obese: BMI is 30 or more.

I am still learning and pls give some little guidance how can i achieve this 

 

Thanks for you Replies!!

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

@cypherxpro ,

 

I have a sample called Health bot: https://powerusers.microsoft.com/t5/Bot-Sharing-Gallery/Health-bot-Calculate-your-BMI-metrics/m-p/67...


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+1.000 students | 25% OFF) : https://www.udemy.com/pva-beginners

View solution in original post

2 REPLIES 2
Highlighted
Super User
Super User

Hi @cypherxpro ,

 

You need to use the Power Automate to calculate it.

You can get the variables with the user and call an action to calculate.


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+1.000 students | 25% OFF) : https://www.udemy.com/pva-beginners
Highlighted

@cypherxpro ,

 

I have a sample called Health bot: https://powerusers.microsoft.com/t5/Bot-Sharing-Gallery/Health-bot-Calculate-your-BMI-metrics/m-p/67...


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+1.000 students | 25% OFF) : https://www.udemy.com/pva-beginners

View solution in original post

Helpful resources

Announcements
PVA Commnity Blog

NEW Power Virtual Agents Community Blog

View articles posted by fellow community members on the Power Virtual Agents Community Blog!

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Users online (11,169)