web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Excel uploaded in form...
Power Automate
Unanswered

Excel uploaded in forms to PDF after approval.

(0) ShareShare
ReportReport
Posted on by 4
Hi all!

I have the following flow.
  1. When a new response is submitted
    1. In the form the people upload an Excel attachment
  2. Get response details
  3. Create a New Folder (the folder path is based on the response ID)
  4. Parse JSON to get the Excel URL
  5. Then Inside a For Each loop (because of the Parse JSON)
    1. Start and wait for an approval (I use the Body Link in the approval Link, so that the approvers can open the file.)
If approved I'd like to convert the Excel into PDF and store in the previously created folder... How can I do that? I've not figured out how can I get the content of the uploaded Excel.

Thank you very much!
Categories:
I have the same question (0)
  • Robu1 Profile Picture
    1,621 Super User 2026 Season 1 on at

    Hi ,

    Thank you for choosing Microsoft Power Platform Communities.
     

    To achieve your goal of converting an uploaded Excel file to PDF after approval and storing it in the created folder, here’s a step-by-step guide:

    1. Retrieve the Excel File Content:

      • Use the "Get file content using path" action (if the file is stored in SharePoint or OneDrive) or "Get file content" action (if you have the file identifier from the uploaded form response).

      • This action will fetch the binary content of the Excel file.

    2. Convert Excel to PDF:

      • Use the "Convert file" action available in the OneDrive for Business connector. Set the file content from the previous step as the input and choose the output format as PDF.

      • If you’re using a third-party connector like Cloudmersive, you can use their Excel to PDF conversion action.

    3. Store the PDF in the Created Folder:

      • Use the "Create file" action in SharePoint or OneDrive to save the converted PDF in the folder you created earlier. Set the folder path dynamically based on the response ID.

    4. Handle Errors and Approvals:

      • Ensure that your flow includes error handling in case the file format is not supported or the conversion fails.

      • Use the approval outcome to conditionally proceed with the conversion and storage steps.

    For a detailed walkthrough, you can refer to resources below on converting Excel to PDF using Power Automate. Let me know if you need help with any specific step!

    Convert Excel Worksheet to PDF in Power Automate - Cloudmersive APIs

    How to Create PDF from Excel using Power Automate - Enjoy SharePoint

     

     If you have any further questions or need additional assistance, feel free to ask!
    Happy to help.

    Robu 1
  • Hector_MME Profile Picture
    4 on at
    Hi Rebeca!

    Thanks for your response and for sharing the step by step... in the step I'm stuck in, is in to get either the folder path or the ID of the file.

    As the folder path can be dynamic due to the different file names and I don't know how to get the ID out of the URL.

    Should I trim the URL string with some rules or there is any other way to get file content?

    Thanks in advance!

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard