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

Download PDF

(0) ShareShare
ReportReport
Posted on by 53

Hi All,

 

I have created a word document and converted it to PDF using the 2 word connectors.  The PDF document is saved to Sharepoint. 

 

How do I download the PDF document to the users local machine after generation?

 

Is it easier if I save in OneDrive?

 

I know this has been discussed before but I can't find a solution. 

 

Thanks for your help.

 

Cris

Categories:
I have the same question (0)
  • fchopo Profile Picture
    8,003 Moderator on at

    Hello @CrispinSteele 

    You can't download the generated PDF document in the user local machine. You could send to the user the link to the item, the item itself (by email, for example), or save it on their OneDrive (if you have permissions on the users' OneDrive account). 

    Hope it helps!

    Ferran

  • CrispinSteele Profile Picture
    53 on at

    Hi,

     

    Thanks for your reply.  That is annoying.  I thought that it could be done using a HTTP Get request or something.  So is there anything that can be used to achieve the result?

     

    In my flow the user is anonymous and cannot be emailed so it seems a natural step to open the newly created PDF in their browser/viewer.

     

    I am a novice - but like to play with these things.  Perhaps I am using the wrong terminology. Can the file be opened or viewed.  Below is my FLOW including the HTTP request I was trying to build which I thought helped.

     

    Thanks again all 🙂

    CrisUpload Image.png

  • Min Rao Profile Picture
    187 on at

    What about following? if you flow trigger type support "Response".

     

    ReturnFile.png

     

  • v-alzhan-msft Profile Picture
    on at

    Hi @CrispinSteele ,

     

    You could create the file in your local with "File system" connector, you need to instore the Gateway and create the connection to a local path with the file system connector.

    1.png

     

    I would suggest that you could instore an onedrive in your local pc and you could read the document directly from the OneDrive, it is easier.

     

    Best regards,

    Alice   

    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.

  • CrispinSteele Profile Picture
    53 on at

    @MinRao 

    Apologies if it is obvious - but could you expand the other 2 steps as well and I will see if I can recreate.

     

    Many thanks

  • fchopo Profile Picture
    8,003 Moderator on at

    Hello @CrispinSteele 

    Just a quick note that you make take into account. Power Automate flows execution time is indeterministic... So maybe one flow execution lasts for 10 seconds, for example, and maybe another one lasts for a couple of minutes. That's the reason you normally should think about "asynchronous processes" when using Power Automate.

    Hope it helps!

    Ferran

  • CrispinSteele Profile Picture
    53 on at

    @fchopo Thank you.  I was planning to add a few Delay steps in the flow before going 'live' for those reasons.  But it is always good to hear it up front.

     

    Many thanks

     

    Cris

  • Verified answer
    Min Rao Profile Picture
    187 on at

    hi @CrispinSteele 

     

    You can try following URL to see the what it behavior, I will turn the flow on for some period.

     https://prod-30.japaneast.logic.azure.com:443/workflows/2c17ae7ef9104eb78df8a7bb010e8396/triggers/manual/paths/invoke?api-version=2016-06-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=EVdGaBFF15B5I2eGBMpf_zP4NmIj4gEUGUeBkASUFSQ

     

    Following are two other steps for you reference. 

     

    First, use "http get" for trigger, 

     

    1.HttpGet.png

     

    Then get sample file for response, the sample is get from share point but you can from anywhere 

     

    2.GetSampleFileAnd3ResponseFile.png

     

  • Verified answer
    CrispinSteele Profile Picture
    53 on at

    Perfect!!  I have created the link which works for me from my end in a new flow and have an HTTP Get request which brings the file data across is there a way to open the url automatically.

     

    Thanks again for your patience...I am an over enthusiastic amateur!!

     

    Cris

  • Min Rao Profile Picture
    187 on at

    Please accept as solution for others for refer if that helps you.

     

    @CrispinSteele 

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