web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Use PVA to search Exce...
Copilot Studio
Unanswered

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

(0) ShareShare
ReportReport
Posted on by 42

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

 

I have the same question (0)
  • Pstork1 Profile Picture
    69,042 Most Valuable Professional on at

    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.

  • CU03100910-0 Profile Picture
    42 on at

    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
    69,042 Most Valuable Professional on at

    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

  • Zap174 Profile Picture
    167 on at

    @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
    69,042 Most Valuable Professional on at

    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.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 447

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 101 Super User 2026 Season 1

#3
chiaraalina Profile Picture

chiaraalina 65 Super User 2026 Season 1

Last 30 days Overall leaderboard