cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vnguyen1
Level: Powered On

how to save an image from the download uri to one drive

I need to download an image from customer API and save it in OneDrive using Flow.

I be able to get the download URI from our customer.

now i using Create file to save this file to One Drive :

This is how i set up in Flow - Create file

Folder path :/

File name :*.* ( every image has different extension; not sure how to do here )

file content:{body('Return_information_about_downloaded_assets')}

 

Result :

i got an empty file *.* in One Drive folder.

look like the connection is establish , but the content did not get transfer for some reason ?

Please advice.

 

Thanks

2 REPLIES 2
Super User
Super User

Re: how to save an image from the download uri to one drive

Hi @vnguyen1  the filename needs to have a proper name e.g. matt.jpg to create it properly. Is there anything being returned from the API to help with the identity of the file?





Did my reply help? Please give it a thumbs up.
Did I answer your question? Please mark my post as a solution!


Proud to be a Flownaut!





Community Leader: Black Country PowerApps & Flow User Group

vnguyen1
Level: Powered On

Re: how to save an image from the download uri to one drive

hi @MattWeston365, thanks for your response. i tried to put some extension as *.esp, the file was still empty content. the file extension is different from picture to picture since i try to save the image to OneDrive from the URI link. not sure how to achive this ? and why the file is empty ? your suggestion is appriciated. Thanks

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 90 members 3,617 guests
Please welcome our newest community members: