Skip to main content

Notifications

Copilot Studio - Calling Actions from Copilot S...
Unanswered

Use PVA to search Excel file in Onedrive (lookup data)

(0) ShareShare
ReportReport
Posted on by 22

Is there a way in Power Automate to make my Teams chatbot get an input from PVA and use it to search an excel file (similar to a vlookup function)?

 

the goal is the user will provide the reference Order Number through the Chatbot. This Order Number will be used by the chatbot to search an Excel file (stored in Onedrive) and get its corresponding status.

Example: The Chatbot will ask for the Order No. and if the user provides "A123", Chatbot will return the status "Processed"

Angelaei_0-1659418495959.png

 

Categories:
  • Pstork1 Profile Picture
    Pstork1 64,996 on at
    Re: Use PVA to search Excel file in Onedrive (lookup data)

    Please post this as a new question.  You'll get more responses and others will be able to find the answer more easily later. 

     

    But the short answer is No, there is no other way to do a lookup for something in a database from the Bot without Power Automate.

  • Zap174 Profile Picture
    Zap174 163 on at
    Re: Use PVA to search Excel file in Onedrive (lookup data)

    @Pstork1 

    Is there a way to do this without Power Automate? We don't want to create a flow for each time we want to do some sort of validation or lookup. Is there another way to do this? We would be validating against a db in SQL server if that helps.

  • Pstork1 Profile Picture
    Pstork1 64,996 on at
    Re: Use PVA to search Excel file in Onedrive (lookup data)

    1) After the flow is triggered do a List Rows in Table

    2) Use a Filter Array to filter the rows based on the order number

    3) There should be an array of one or zero rows returned. One means it found the row and zero means it didn't

    4) If it found it return the status of the row that was found

  • Angelaei Profile Picture
    Angelaei 22 on at
    Re: Use PVA to search Excel file in Onedrive (lookup data)

    Thanks for the reply. What flow can I use? I tried exploring Get a row but I can't make it work. I have a Topic and the message asking for the Order Number already. 

  • Pstork1 Profile Picture
    Pstork1 64,996 on at
    Re: Use PVA to search Excel file in Onedrive (lookup data)

    Yes, that is relatively easy to do.

    1) Create an appropriate Topic to start the chatbot

    2) Ask for the Order Number

    3) Pass the Order Number to a flow that will search the Excel file and return the status

    4) Display the returned status in the bot.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard

Featured topics