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
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.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Virtual Agents Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Virtual Agents!

Users online (4,615)