Skip to main content
Community site session details

Community site session details

Session Id : SzoE6swpNU9btHtLke/pm0
Copilot Studio - Calling Actions from Copilot S...
Unanswered

PVA Teams Chat Bot - Search File in Sharepoint File Library and Return Link or File

Like (0) ShareShare
ReportReport
Posted on 27 Apr 2022 20:13:31 by 508

 

I have to admit, I am completely clueless.  I created a flow that triggers what file do you want to search for.  Just before I start.  We do not have any advanced licensing here, we just have the bare bones in our organization and maybe this is the limiting factor here but I could not figure out a way for it to call to sharepoint and return back a file.

 

VeeLearnMSFT_0-1651090094050.png

 

When I press the call to action and select Power Virtual Agent Template.  I am not sure where to go from here.  The flow would would get the persons name or last name.  It would search the file librare in sharepoint, it would return files that resemble what the person asked. It may not be exactly but close and return the files or the link to the files. Not sure I am thinking out loud here. 

 

This is what comes up when I click on call to action. 

 

VeeLearnMSFT_1-1651090209168.png

 

this is what I get when I search for Sharepoint.  Any guidance would be awesome!

 

 

  • VeeLearnMSFT Profile Picture
    508 on 28 Apr 2022 at 16:19:52
    Re: PVA Teams Chat Bot - Search File in Sharepoint File Library and Return Link or File

    Here are my detailed steps.  Am I following it correctly?

    VeeLearnMSFT_0-1651162293061.png

    Another screenshot of files in sharepoint.  The files are contained in subfolders, if that makes a difference:

    VeeLearnMSFT_9-1651162746597.png

     

    What I am trying to do is search all of those folders for the name smith.  These are PDF files in the naming standard of 1234567_Smith.  Numeric underscore and last name.

     

    Here is my bot:

    VeeLearnMSFT_1-1651162380227.png

     

    Here is my flow:

    VeeLearnMSFT_2-1651162442149.png

    1. 

    VeeLearnMSFT_3-1651162460148.png

     

    2. 

    VeeLearnMSFT_4-1651162473748.png

     

    3.

    VeeLearnMSFT_5-1651162554835.png

    4.

    VeeLearnMSFT_6-1651162574781.png

    5. 

    VeeLearnMSFT_7-1651162592841.png

    6. 

    VeeLearnMSFT_8-1651162609975.png

     

    Can you see what I am doing wrong?  As I am getting an error with this process:

    VeeLearnMSFT_10-1651162773590.png

    I just started to use this so this is a bit daunting.

  • Expiscornovus Profile Picture
    32,182 Most Valuable Professional on 28 Apr 2022 at 14:46:16
    Re: PVA Teams Chat Bot - Search File in Sharepoint File Library and Return Link or File

    Hi @VeeLearnMSFT,

     

    I would suggest to have a look at the video in this thread, created by @renatoromao

    https://powerusers.microsoft.com/t5/Calling-Actions-from-PVA/PVA-in-teams-Find-a-file-in-sharepoint-library/m-p/1549499/highlight/true#M751

     

    That video has a good setup for a flow which gets files from a library.

     

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

Announcing our 2025 Season 2 Super Users!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 169 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 150

#3
sandeep_angara Profile Picture

sandeep_angara 75 Super User 2025 Season 2

Featured topics

Loading complete