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

Checking values from an Excel file

Hello,

 

I am trying to create a BOT that will check if values are true (compared to what is written on an Excel file).

Example : in my Excel, it is written

NameCityAge
BobChicago24
JamesNY23

 

I want the bot to ask the name of the person and then ask his city. If the person answers Bob and then Chicago, the bot says "correct". Otherwise, it says False.

 

How can I do that ?

Thanks,

Best regards,

Lea

4 REPLIES 4
Pstork1
Dual Super User
Dual Super User

Assuming the Excel file is stored in OneDrive and the information is in an Excel table it would be easy to build a Power Automate flow that would check the table for the two values and respond correct or false.  You could then invoke the flow from the bot and pass in the two values.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
renatoromao
Super User
Super User

Hi @Lea2 ,

 

+ adding more comments from @Pstork1's answer...

 

You can follow this logic that we have in this topic: Send a unique code ( from a list/excel) everytime ... - Power Platform Community (microsoft.com)


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

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.760 students) : English | Português

I am sorry but I am not that familiar with Power Automate, what should I do inside it to create the flow ?

 

Thanks !

Lea

Create a flow that looks like this....  Call it from the bot and pass in the Name and City the bot has collected as variables.  It will return a text answer of either correct or false.

image.png

image.png

image.png

 



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
Power Virtual Agents News & Announcements

Power Virtual Agents News & Announcements

Keep up to date with current events and community announcements in the Power Virtual Agents community.

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Virtual Agents Community Blog

Power Virtual Agents Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,626)