Skip to main content

Notifications

Copilot Studio - General
Unanswered

Checking values from an Excel file

Posted on by 2

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

  • Pstork1 Profile Picture
    Pstork1 63,172 on at
    Re: Checking values from an Excel file

    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

     

  • Lea2 Profile Picture
    Lea2 2 on at
    Re: Checking values from an Excel file

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

     

    Thanks !

    Lea

  • renatoromao Profile Picture
    renatoromao 6,762 on at
    Re: Checking values from an Excel file

    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)

  • Pstork1 Profile Picture
    Pstork1 63,172 on at
    Re: Checking values from an Excel file

    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.

Helpful resources

Quick Links

Welcome to the Power Platform…

We are thrilled to unveil the newly-launched Power Platform Communities!…

Getting Started…

Welcome to the Power Platform Community! We appreciate your visit…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 138,287

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,172

Leaderboard