logo
search
Template Issues

How to Use Word Content Controls and Conditions With Power Automate

Algirdas JasaitisAlgirdas Jasaitis Oct 9, 2026 869 views

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.

How to Use Word Content Controls and Conditions With Power Automate
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.
Before you start

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.

Solution 1Recommended

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.

1
Add Plain Text Content Controls in Word

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.

2
Upload the Template

Save your configured Word document (.docx) and upload it to a SharePoint Document Library or OneDrive for Business folder.

3
Parse JSON in Power Automate

In your Power Automate flow, add the 'Parse JSON' action to interpret your incoming JSON payload so the variables become accessible.

4
Evaluate Conditions

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 (☐).

5
Populate the Word Template

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.

Evaluate Logic in Flow and Map to Plain Text Controls
Handling Checkboxes: Do not use legacy form fields or native Checkbox Content Controls, as they are notoriously difficult to map in Power Automate. Passing unicode characters (☑/☐) into a Plain Text Content Control is the industry standard workaround.
Free Microsoft Office alternative

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.

Fully compatible with Microsoft Word (.docx) formats required for automation templatesFree to use with a familiar, user-friendly interface that requires no learning curveAdvanced content control and form editing tools built-inLightweight application that runs smoothly on Windows, Mac, and Linux
microsoft office alternative - wps office

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.