cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cypherxpro
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

@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 (+2.300 students | PROMOTIONS) : English | Português

View solution in original post

2 REPLIES 2
renatoromao
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 (+2.300 students | PROMOTIONS) : English | Português

@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 (+2.300 students | PROMOTIONS) : English | Português

View solution in original post

Helpful resources

Announcements
March Update

Welcome to the User Group Private Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (55,854)