Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

GET PDF from API, add to OneDrive for Business.

I have an API that returns a PDF. I want to trigger the GET request and add the result to my OneDrive for Business.


Flow Test:

2019-10-15 07_47_55-Run History _ Microsoft Flow.png


Flow Expanded:

2019-10-15 07_46_28-Edit your flow _ Microsoft Flow.png

HTTP Output:

2019-10-15 07_48_19-Run History _ Microsoft Flow.png

Compose Result:


2019-10-15 07_48_44-Run History _ Microsoft Flow.png


Create File Result:


2019-10-15 07_49_04-Run History _ Microsoft Flow.png



It generates a file, but not the requested PDF.


2019-10-15 07_55_28-OneDrive - Team Industrial Services.png

Community Support
Community Support

Re: GET PDF from API, add to OneDrive for Business.

Hi @CamSims , 


Please add the add the file extension in the File Name field.1.png


Best regards,


Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helper I
Helper I

Re: GET PDF from API, add to OneDrive for Business.

2019-10-16 07_34_40-Adobe Acrobat Reader DC.png


When I do that, the resulting file is a PDF, but it gets corrupted. See the error above from Adobe when opening.

Helpful resources

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Top Solution Authors
Top Kudoed Authors
Users online (4,232)