Insert Table to Word File

Insert Table to Word File

Usage

You can insert a table to a Word DOCX file at a certain position indicated by a placeholder.

💡

The Placeholder is a code consisting of a random string and "##" before and after it. In our action's field "Placeholder name" it is sufficient to write the string without using the "##". For an example, find an image below.

Input Arguments

Input ArgumentTypeDescriptionRequired?Advanced Option?Default
Existing File ContentDynamic ContentThe Word document which shall be used to insert text into it.✔️-
Placeholder nameStringThe string which indicates the placeholder. Hence, the position where the text is inserted at in the Word document.✔️-
Placeholder tableJSONThe table which shall be added to a Word document.✔️✔️-

Output

ResponseTypeDescription
WordDOCXThe Word containing the text.

Power Automate Examples

Insert Table to Word File

We use "Get file content" to retrieve an existing Word document. In same existing Word document we included a text about a giraffe and the placeholder code: "##table##". At the position of the placeholder code, the placeholder table will be inserted. Thereafter, the Word is being saved.

Simple JSON with four pets
              [
              {
                  "Pet": "Dog",
                  "Identifier": "1000",
                  "First name": "Eats",
                  "Last name": "A Lot"
              },
              {
                  "Pet": "Cat",
                  "Identifier": "1001",
                  "First name": "Likes",
                  "Last name": "To Scratch"
              },
              {
                  "Pet": "Cat",
                  "Identifier": "1002",
                  "First name": "Furry",
                  "Last name": "Kitty"
              },
              {
                  "Pet": "Duck",
                  "Identifier": "1003",
                  "First name": "Dagobert",
                  "Last name": "Swimmy"
              }
              ]

Picture

💡

Looking for the response of this example? If you scroll up you see an Output tab.

Power Apps Examples

Known Limtitations

⚠️
If you experienced other limitations please get in touch with us!