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 / Power Automate / Get file from SharePoi...
Power Automate
Unanswered

Get file from SharePoint list with Power Automate

(0) ShareShare
ReportReport
Posted on by 277

I have a SharePoint online list with a "Thumbnail" field. A image is uploaded to this field.

How can I get this file from Power Automate?

 

I am able to use http call like below:

_api/web/lists/getbytitle('ListName')/items(1)?$select=myPictureField

 

to get the metadata of that picture. But how can I get the file? I would like to insert this image into a word template.

Categories:
I have the same question (0)
  • v-yueyun-msft Profile Picture
    on at

    Hi , @hongkong 

    According to your description, you want to get the file content of the Thumbnail field image.

    This is my sharePoint list:

    vyueyunmsft_0-1700789300476.png

     

    You can refer to this :

    vyueyunmsft_1-1700789373818.png

    We can get this return from the Http request:

    vyueyunmsft_2-1700789415649.png

    Then we can use this action to get the file content:

    vyueyunmsft_3-1700789538526.png

    json(outputs('Send_an_HTTP_request_to_SharePoint')?['body']?['d']?['ImageTest'])?['fileName']

     

    For more information, you can refer to this:

    Get SharePoint List Image in Power Automate - Torben Pedersen

     

     

    Best Regards,

    Yueyun Zhang

  • hongkong Profile Picture
    277 on at

    Thanks for your tips. 

    I think your sample of "get file content using path" is trying to get the Attachments? Could you please show me how to get the "Attachments" field?

     

    It is because the image I uploaded to thumbnail field have a path like this:

    https://{sharepoint site url}/SiteAssets/Lists/xxxxxxx-xxxx-4618-a45c-444444488888/myimage.png

     

    attachments path like this:

    https://{sharepoint site url}/SiteAssets/Lists/{list name}/Attachments/{id}/myimage.png

  • Verified answer
    v-yueyun-msft Profile Picture
    on at

    Hi , @hongkong 

    Thanks for your response! The url is just we the browser url after we clicking the image:

    vyueyunmsft_0-1701053005126.jpeg

     

    The Attachments is not a field , it is just the substring of my browser url. You can click the image in your column, and you can see the url in your browser. We just need to get 2 parameters.

    One is the ID of this Item, another is the filename of your picture.


    Best Regards,

    Yueyun Zhang

     

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 > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard