Showing results for 
Search instead for 
Did you mean: 
Not applicable

problem with flow to create PDF document


I am making a flow so that PDF documents are created as a backup to an approval process after a user adds a form to my sharepoint.

The problem arises when I want to create the document. I make a "Compose" with an "HTML" code so that this document is created, then I create a file in OneDrive "HTML" called report. "After that, I convert the HTML to "PDF" with the "HTML" path, to finally create another document but in "PDF" and save it on my Onedrive.
 When I want to create the HTML, in the compose, add different "Dynamic content" so that the fields are filled in after the person uploaded the document. The problem is that many "Outputs" are born when adding this "Dynamic Content" because there are 4 or 5 fields that require it. This is why PowerAutomate throws me an error about the repetitive reference.


so I can't save the flow and perform this process. But if you didn't add these fields, the document is created perfectly. What can I do to create this document without having to go through this? It should be noted that this must be created after the decision of the last approver of my flow is obtained, where the document that I want to create contains all the information that was left in my sharepoint with the data of the respective user who entered that form in specific.



 I would greatly appreciate your help.




Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (2,487)