Start your document flow with a Word template that already looks right. Let Word handle the layout and use Power Automate to fill its content controls, save the document, and convert it to PDF. That is easier to maintain than formatting the document inside flow expressions.
The reliable pattern has four stages: prepare a supported template, populate it, save the generated DOCX, and convert that saved file to PDF. Treat the intermediate Word file as a real artifact. It gives the converter a stable file identifier and gives you something readable when the PDF step fails.
Prepare a template the connector can understand
Open the template in desktop Word and enable the Developer tab. Add supported content controls for every value the flow must supply, then give each control a unique, readable title in its properties. Plain text, image, combo box, drop-down, and repeating section controls are supported; rich text, date picker, check box, and legacy controls are listed as unsupported by the connector documentation.
Save the template in OneDrive for Business, a SharePoint Online document library, or another location supported by the Word Online (Business) connector. Keep a protected master and test with a copy. If several controls share a title, the dynamic fields in the designer will be ambiguous or unusable.
Assemble the document in four stages
Collect and clean source values
Start with a trigger suited to the process, such as a SharePoint item reaching an approved status. Normalize dates, numbers, and optional text before the Word action. A template should receive display-ready values, not raw objects that happen to be convenient in the trigger output.
Populate the Word template
Add Word Online (Business) Populate a Microsoft Word template and select the stored template. Power Automate loads the named controls as inputs. Map each field deliberately and use a Compose action for values that need formatting. Keep filenames and library paths out of visible document controls unless the reader actually needs them.
Save the generated DOCX
The populate action returns document content. Use SharePoint or OneDrive Create file to save that content as a .docx. Build a filename from a safe business identifier rather than a person’s full name, and replace characters that are invalid in file names. If the next action cannot see the new file immediately, add a short delay because Microsoft documents a possible availability lag.
Convert and store the PDF
Add Word Online (Business) Convert Word Document to PDF and pass the saved Word file, preferably through the file identifier returned by the create-file action. Then create a second file whose content is the PDF returned by the conversion action. Use the same base name with a .pdf extension and send links only after the create-PDF step succeeds.

Preserve layout inside Word, not in expressions
Apply styles and formatting to the controls in the template. Microsoft notes that template formatting persists in the generated document. For empty text controls, use the control property that applies a style to entered text. This keeps typography under the document owner’s control and avoids HTML-like markup that Word may render literally.
If the process includes tables, use a repeating section content control and pass the shape expected by the connector. Test one row, multiple rows, and an empty collection. A polished single-row example can conceal broken borders, repeated headings, or spacing problems that appear only when a table grows.
A related document automation approach can help you decide which work belongs in the template and which belongs in the flow. The central rule remains simple: the flow selects and supplies content; Word controls the page design.
Diagnose conversion failures from the file backward
Open the intermediate DOCX first. If it is corrupt or contains blank controls, the problem is in the template or mapping. If the DOCX is correct but conversion fails, inspect the Convert action’s Location, Library, and File inputs. Confusing file content with a file identifier is a common cause.
The connector also has limits: template control types are restricted, input files have a size limit, conversions must complete within the service timeout, and some sensitivity labels are not supported by the PDF action. The run-input troubleshooting method is useful when the failure message is vague; compare the exact action inputs with a known successful run.
Name collisions deserve their own policy. Decide whether an existing PDF should be replaced, versioned, or blocked for review. Silent replacement can erase an approved document, while automatic numbering can make the official version unclear. Store a document ID and status alongside the file so downstream users know which artifact is authoritative.
PDF workflow questions
Why are template fields missing in Power Automate?
Confirm the controls are supported, each title is unique, and the template is saved in a supported business library. Re-select the template in the action to refresh its schema. Rich text, date picker, check box, and legacy controls do not appear as supported template inputs.
Can the flow convert the populate output directly to PDF?
The robust approach is to save the populated content as a Word file first and pass that stored file to the conversion action. This supplies the converter with a stable identifier and leaves an intermediate file for troubleshooting. A brief delay may be needed before a follow-up action can access a newly created file.
Why does the PDF have the wrong fonts or spacing?
Fix the Word template rather than adding formatting expressions. Apply named styles to content controls, test with realistic long values, and verify that required fonts render correctly in Word’s own PDF export. Nonstandard glyphs may need font embedding to survive conversion.
Is the Word Online (Business) connector included with every flow license?
Microsoft lists it as a premium connector for Power Automate. Confirm licensing and connection policy in the target environment before designing a production dependency. A flow that works for its maker can still fail for a service account without the required entitlement.
Make the intermediate file part of the design
Do not hide the DOCX merely because PDF is the final deliverable. It is the best checkpoint for mapping, formatting, and file-availability problems. Once the template, saved Word file, conversion action, and PDF create step each have a clear responsibility, the automation is easier to support and the output is far more consistent.