I am building a Power Automate flow where users can upload a custom Word document template. The template can vary for each run of the flow.
In the flow, I use the “Run a prompt” action to instruct the AI to generate output and place the information into the uploaded template. However, the output I receive does not follow the structure or formatting of the provided template, and the generated content does not align with the template layout.
Is there currently a supported way to ensure that the output generated by Run a prompt follows the structure of an uploaded Word template? Or are there recommended approaches for populating a user provided template/document with content in Power Automate?