Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Power Automate Desktop
Answered

Save PDF file from Microsoft forms to Sharepoint

Like (0) ShareShare
ReportReport
Posted on 8 May 2024 10:52:25 by 9

Hello, I have some problems with power automate flow. 

I have Microsoft form with users can upload pdf file to the form. I want to save pdf file to Sharepoint site. 

My problem is when I get link of pdf it store in my own path in my onedrive. How can I store pdf files in Sharepoint site.

  • Verified answer
    Deenuji_Loganathan_ Profile Picture
    6,105 Super User 2025 Season 1 on 09 May 2024 at 06:27:12
    Re: Save PDF file from Microsoft forms to Sharepoint

    @Mokegubshook 

     

    Please follow the below steps.

    1. Begin by utilizing the "Get response details" action in Microsoft Forms. Select your Microsoft Forms form name, specify the response ID, and obtain the output as a connector object.

    2. Proceed to use the "Convert JSON to custom object" action. Here, you can input the connector object and retrieve file details such as the file name and its current storage location.

    3. Extract the file name from the custom object, as illustrated in the screenshot below.

    4. If your file contains whitespace, it will be represented as "%20". These occurrences should be replaced with whitespace.

    5. Next, attempt to retrieve the OneDrive file content by providing the OneDrive location. The file content will be returned as a response.

    6. Lastly, execute the SharePoint "create item" action. Provide the file content, and it will create the file in the configured SharePoint folder.

    Deenuji_0-1715236012519.png

     

     

    Hope it helps!!

     


    Thanks,
    Deenuji Loganathan 👩‍💻
    Automation Evangelist 🤖
    Follow me on LinkedIn 👥

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀

     

  • Verified answer
    Riyaz_riz11 Profile Picture
    2,666 Super User 2025 Season 1 on 09 May 2024 at 05:20:20
    Re: Save PDF file from Microsoft forms to Sharepoint

    HI @Mokegubshook ,

    Once stored in OneDrive take the file content of that file and create the file into SharePoint folder.

     

    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    Regards,
    Riyaz

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Power Automate Desktop

Overall leaderboard
Loading started