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 365 and PWR EduCon in Chicago
EduCon Chicago 2022

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 365 and PWR EduCon in Chicago
EduCon Chicago 2022

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events happening this month - don't miss out!

 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a free PVA chatbot creation workshop

Register for a free PVA chatbot creation workshop

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

Users online (2,631)