Skip to main content

Notifications

Copilot Studio - General
Answered

How to get file or folder link within Sharepoint List

Posted on by 18

Dear all

 

I have done with my flow and working fine, Iam just having one addition to that is I want to get the File or Folder link from the sharepoint

 

How I can access that SharePoint link with SharePoint list??

 

Also how to map into Power automate

 

Please advise

  • Verified answer
    renatoromao Profile Picture
    renatoromao 6,762 on at
    Re: How to get file or folder link within Sharepoint List

    Hi @mango2407 ,

     

    I recommend using REST API to get files inside the SharePoint list, using Power Automate.

    https://docs.microsoft.com/en-us/sharepoint/dev/business-apps/power-automate/guidance/working-with-send-sp-http-request

     

    In the HTTP request, you can follow this template to get files

    /_api/Web/Lists/getByTitle('<list title>')/items?$select=File/ServerRelativeUrl&$expand=File

    You can see this post on the forum: https://sharepoint.stackexchange.com/questions/118479/is-there-a-way-to-get-all-file-urls-for-a-library-with-a-single-rest-request

     

    And inside your Power Automate, you can use Markdown to show items inside the PVA chatbot, returning the markdown formatted response to the chatbot.

    https://docs.microsoft.com/en-us/power-automate/approvals-markdown-support 

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