Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Form to Excel and then to PDF on Power Automate

(0) ShareShare
ReportReport
Posted on by

I'm creating a Flow to perform a follwing task:

-get information from a Form as this is submitted;

-fill this information in a Excel Template and save it in Onedrive;

-get this excel file created and convert to a PDF.

 

I am facing 2 issues here: 

1st) the template is not been fulfilled with the information from Form (the file has been saved in the correct folder but empty);

2nd) CONVERT XLSX to PDF is returning an error ( "Cannot open the document, invalid type of file.")

 

I have to send this pdf by email to the submitter's manager and HR but the flow didn't to this point because it stops before.

 

Here is the picture from this part fo the Flow that isn't working.

 

Hope someone could help me on these issues!

 

 
 

image.png

 

  • Verified answer
    v-siky-msft Profile Picture
    on at
    Re: Form to Excel and then to PDF on Power Automate

    Hi @Michael_Dias ,

     

    How did you configure the template? Please share more details about your template.

    I made a test on my side and it worked properly. Please refer to my steps and try again.

    Snipaste_2020-11-24_10-21-05.pngSnipaste_2020-11-24_10-36-27.png

    Snipaste_2020-11-24_10-35-10.png

    With regard to your flow, I have three points to mention:

    1. When configure the template in plumsail.com, you need to surround the properties with double braces. In addition, you should test the template in plumsail.com by JSON data to ensure the template work.

    2. The template file won't be modified, the data is only filled in the new-created XLSX file. 

    3. The Document Content of 'Convert XLSX to PDF' action must be the Result File dynamic content from 'Create XLSX document from template' action, rather than the name of XLSX file.

     

    Hope this helps.

    Sik

     

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,635 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,997 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow