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.

Join me at 365EduCon in Chicago on Sept. 26-30 where I'll be presenting on the Power Platform!
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

Pstork1
Dual Super User
Dual Super User

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.

Join me at 365EduCon in Chicago on Sept. 26-30 where I'll be presenting on the Power Platform!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Canadian Cloud 2022 768x460.png

Register for a free PVA chatbot creation workshop.

Learn how to respond rapidly to your customers and employees at scale, using intelligent conversational chatbots.

Top Solution Authors
Users online (3,884)