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 an image from a li...
Power Automate
Answered

Get an image from a link and save it as an attachment in sharepoint list

(0) ShareShare
ReportReport
Posted on by 304

Hello everyone,

 

I'm currently building a flow that creates a QR code for an element in a sharepoint list via an API. Then I want it to save the image of the code to the attachments of the element. So far I got the following steps:

 

Trigger: When an item is created

Actions:

Get element (the one that is created)

HTTP (send the request to the API)

-and that's where it gets tricky. The API seems to return a link to the image, not the image itself.

But how can I get the image from that link to save it to SP?

 

I tried putting the outputs from the HTTP request through a parse JSON action to extract the URL and then send another HTTP request to that URL. Now I get the error message "Unable to process template language expressions in action 'HTTP_2' inputs at line '0' and column '0': 'Required property 'uri' expects a value but got null. Path ''.'."

 

To me it seems that somehow simply putting that url in the request doesn't work, is that true? And what do I have to do instead?

 

Thanks for your help in advance!

 

 

Categories:
I have the same question (1)
  • Verified answer
    LisKr Profile Picture
    304 on at

    I actually found a solution myself and it was easier than I thought. I will share it here in case someone else has this question.

     

    I used an http request with get method and put in the URI field:

     

    body('get_qr')?['url']

     

     

    And that's it.

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard