How to Use Word Content Controls and Conditions With Power Automate
Question details
The user wants to automatically populate a Word document template from a JSON payload using Power Automate, specifically targeting content controls, checkboxes, and conditional logic.

- Product
- Microsoft Word / Power Automate
- Device & OS
- not provided
- Scenario
- Automating document generation by passing JSON data through a flow to dynamically fill in a standardized Word template.
- Observed behavior
- Requires a reliable method to map JSON fields to Word content controls and process conditional checkbox formatting successfully.
Ensure you have a Premium Power Automate license, as the 'Populate a Microsoft Word template' action is a premium feature. Your template must also be saved in a cloud location like OneDrive for Business or SharePoint.
Evaluate Logic in Flow and Map to Plain Text Controls
The most effective way to handle conditional logic and dynamic checkboxes is to evaluate the JSON conditions inside the Power Automate flow first, then pass the final formatted text or symbols to plain text content controls in Word.
Power Automate's Word connector has limited native support for advanced conditional formatting or complex Checkbox controls directly inside the document. By shifting the logical evaluation to the flow itself, you ensure accurate and error-free document generation.
Open your Word template, enable the Developer tab, and insert 'Plain Text Content Control' boxes where data should appear. Click 'Properties' and assign a unique Title and Tag to each.
Save your configured Word document (.docx) and upload it to a SharePoint Document Library or OneDrive for Business folder.
In your Power Automate flow, add the 'Parse JSON' action to interpret your incoming JSON payload so the variables become accessible.
Use the 'Condition' action in Power Automate. For example, if a JSON boolean is true, set a Flow variable to a checked box symbol (☑); if false, set it to an unchecked box (☐).
Add the 'Populate a Microsoft Word template' premium action. Select your uploaded template, and map your evaluated Flow variables to the corresponding content control fields that appear.

Try WPS Office for Seamless Template Editing
While Power Automate workflows require Microsoft ecosystem connectors to run the automation, you can seamlessly design, edit, and format your .docx templates using WPS Office before uploading them. It provides a lightweight, highly compatible, and free alternative for all your daily document preparation needs.

Frequently Asked Questions
Can I map a JSON boolean directly to a Word Checkbox Content Control?
Power Automate's Word connector struggles with native Checkbox content controls. It is highly recommended to use a Plain Text Content Control and pass a Unicode checked or unchecked box character based on an IF condition evaluated inside the flow.
Why aren't my Word content controls showing up in the Power Automate action?
Ensure you are using 'Plain Text Content Controls' rather than 'Rich Text' or legacy form fields. The Power Automate connector only recognizes plain text, image, and repeating section content controls. Also, verify you have assigned a Title to the control in the Properties menu.
How do I hide an entire paragraph in Word if a JSON value is empty?
You cannot natively hide paragraphs or conditionally format sections inside the Word template using just the Power Automate connector. Instead, evaluate the JSON value in the flow; if it is empty, pass a blank space to the content control. For complete paragraph removal, you must use dynamic HTML generation or third-party premium connectors.
Does the 'Populate a Microsoft Word template' action require a premium license?
Yes, this specific connector is a Premium feature in Power Automate. You will need an appropriate standalone or per-user Premium plan to run flows containing this action.




