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 / Power Automate / Getting Image from Sha...
Power Automate
Answered

Getting Image from SharePoint list "Image" column into AI "Generate description of an image"

(0) ShareShare
ReportReport
Posted on by 125

Hi All

Is there any way to get AI Builder "Generate description of an image" action (or any other AI Builder action) to check image from SharePoint list Image column?
It doesnt appear in Dynamic content list and flow fails if I force it via expression (@{triggerOutputs()?['body/ImageColumnName']})

Thanks 

Categories:
I have the same question (0)
  • Verified answer
    Manish Solanki Profile Picture
    15,167 Moderator on at

    Hi @romankorchak2 

     

    Here is the sample flow to extract content of Image column in SharePoint list.

     

    In the below example, 'ImageCol' is the name of Image column in SharePoint list 'Action Tracker'.

     

    Firstly, add "Send an http request to SharePoint" action and set input parameters as shown below to retrieve the Image column object. Here, I have hardcoded the ID of the list item, but you could pass it dynamically:

    ManishSolanki_0-1704546928789.png

    Site Address: <SharePoint site collection URL>

    Method: Get

    Uri: _api/web/lists/getbytitle('Action Tracker')/items(1)?$select=ImageCol

     

    pls replace the list name, item id & column name as per the need.

     

    Next, add "Get file content by path" action where we will pass the path of the file obtained from the previous action. We would be adding expression to exact the file path. Expression needs to be added in the expression box as shown below:

    ManishSolanki_1-1704547153952.png

    join(skip(split(json(body('Send_an_HTTP_request_to_SharePoint')?['d']?['ImageCol'])['serverRelativeUrl'],'/'),3),'/')

    pls replace the image column name with the actual name in the above expression. 

     

    The output of get file content could be further passed to the AI builder action. 

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • Tymlss Profile Picture
    35 on at

    I am trying to remove image files from a SP list as well using this method.  Ultimately, I would like to place the files in another SP list and leave the original image column empty. 

     

    First, I need to get the "get file content..." action to work.  I am receiving this error below.  Any thoughts?

     

    Tymlss_0-1713283136074.png

     

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 820

#3
Haque Profile Picture

Haque 505

Last 30 days Overall leaderboard