How to Repeat the Same Word Value Throughout a Power Automate Document
Question details
The user wants to insert a single variable that automatically repeats in multiple locations within a Word document populated by Power Automate, avoiding the need to fill duplicate fields manually.

- Product
- Microsoft Word / Power Automate
- Device & OS
- not provided
- Scenario
- Automating document creation where specific text needs to be populated automatically across multiple pages without generating separate prompts for every occurrence.
- Observed behavior
- Power Automate prompts the user to provide a value for every single copied field instance individually instead of treating them as one linked variable.
Ensure you have access to the Developer tab in Word to insert fields and manage controls, and verify that your Power Automate flow is connected to the correct document library.
Use DOCVARIABLE Fields
Insert DOCVARIABLE fields to store the variable value once and repeat it seamlessly across the document.
Instead of using standard copied content controls, which Power Automate reads individually, you can use document variables. By setting the variable once, you can display its value anywhere in the document using field codes.
Click where you want the variable to appear, then press Ctrl+F9 to insert empty field brackets.
Inside the brackets, type DOCVARIABLE followed by your variable name in quotes (e.g., { DOCVARIABLE "ClientName" }).
Copy and paste this specific field code wherever the value needs to repeat in the document.
After populating the document via your automation method or VBA, press Ctrl+A to select all text, then press F9 to refresh and display the updated values.

Use XML Mapped Content Controls
Link multiple content controls to a single custom XML node so Power Automate only requires one input for all linked fields.
Edit Word Documents Easily with WPS Office
While Power Automate integrations are specific to the Microsoft ecosystem, WPS Office provides a lightweight, highly compatible, and free alternative for everyday Word document editing, formatting, and manual field management.

Frequently Asked Questions
Why does Power Automate ask to fill every copied content control individually?
When standard content controls are simply copied and pasted across a Word document, Power Automate treats each instance as a unique, independent input field. You must use XML mapping or DOCVARIABLEs to logically link them together.
How do I update all fields in my Word document at once?
You can update all fields by pressing Ctrl+A to select the entire document, and then pressing F9. This refreshes all fields, including DOCVARIABLEs, ensuring that your repeated values display the most current data.
What is the difference between a DOCVARIABLE and a Content Control?
A DOCVARIABLE is a hidden document property whose value is displayed using embedded field codes, whereas a Content Control is a visible container on the document page that users can interact with and edit directly.
Can I use the Developer tab in WPS Office to manage document fields?
Yes, WPS Office Writer includes a Developer tab that supports standard document fields, form controls, and custom variables, allowing you to manage and automate everyday document tasks efficiently.




