I’m working on a Power Automate flow that generates a Sample Analysis Report in PDF format using a Word Template stored in OneDrive. The process works almost as expected — but I’m running into a strange issue at the PDF conversion stage.
- Populate a Word Template (stored in OneDrive).
Create the populated DOCX file in OneDrive.
Add a delay (10 seconds) to ensure file is saved.
Convert the DOCX file to PDF.
Upload the PDF to the Sample Analysis timeline (as a note/annotation).
hat Works:
The DOCX file shows correct dynamic data (values for fields like sigb_result, sigb_service, etc.).
The PDF file is created and attached successfully.
Problem:
The PDF shows the placeholder field names instead of actual values.
Example output inside PDF:

What I’ve Tried:
Verified that Create File uses output from “Populate a Microsoft Word template”.
Added a Delay of PT10S after the Create File step.
Used the file ID from the Create File step in the Convert File action.
Gave the file a unique filename using timestamp (to avoid OneDrive caching).
Ensured conversion uses OneDrive for Business → Convert File action.
Word Template:
Created using Developer tab with plain text content controls, field names match schema.
Stored in OneDrive.
Populates correctly in DOCX, but not in the converted PDF.
Why is the populated DOCX showing values correctly, but the PDF shows only the schema/field names?
Is there a known OneDrive sync issue or an alternative conversion method to use?
Any help or guidance would be greatly appreciated!
Let me know if you'd like to see the flow structure or expressions.
Thanks in advance!