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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / PVA chatbot for retrie...
Copilot Studio
Unanswered

PVA chatbot for retrieving documents from SharePoint

(0) ShareShare
ReportReport
Posted on by 22

The chatbot that I have created is designed to provide the user a link to documents saved on SharePoint based on a keyword search of how the document maybe saved. For instance, there may be documents saved as such: cat, dog, fish. The user tells the bot it wants to pull all documents saved as cat. For some reason it's providing the links to cat search but not dog. The flow created, seems to be working fine but stops working for certain document searches. What could the issue be in this case?

Categories:
I have the same question (0)
  • HenryJammes Profile Picture
    on at

    Hi @helpneededtake2,

     

    Can you share details on the Power Automate flow you set up to do a SharePoint search? 
    What connector / HTTP calls are you using?

     

    Henry

  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    Are you getting the documents using an OData query in the Get Files?  If so what query are you using?

  • helpneededtake2 Profile Picture
    22 on at

    I'm using  Get Files.

  • helpneededtake2 Profile Picture
    22 on at

    these are the connectors I'm using

    helpneededtake2_0-1683121648545.png

     

  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    But how are you applying your filter? Are you doing it with a condition in the Apply to each loop or somewhere else? And what condition are you using?  For what you describes it should be "contains" as the operation.

  • helpneededtake2 Profile Picture
    22 on at

    I'm applying the filter in the Get Files. This is my first time building an application like this so I went with what I thought would work and didn't really know if this was the correct way or not.

    helpneededtake2_0-1683125752876.png

    helpneededtake2_1-1683125779870.png

     

     

  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    I assume FileLeafRef is supposed to be a field or variable. If so it needs to be entered from the expressions panel and surrounded by single quotes.  Right now its just text.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 255 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 205 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard