Update Word Table Of Contents
Description
This action automatically updates the Table of Contents (TOC) in an existing Word (.docx) document.
Input Arguments
Input Argument | Type | Description | Required? | Advanced Option? | Default |
---|---|---|---|---|---|
Existing File Content | Word DOCX | Existing Word File to update. Must be a file – Base64 string is not supported. | ✔️ | ❌ | - |
Output
Response | Type | Description |
---|---|---|
File response | DOCX | The updated Word file. |
File response as string | String | The file content as a string. This can be stored in a variable, saved to Dataverse, or passed to other actions that require the file content in string format. |
MIME type | String | The MIME type of the DOCX file |
Extension | docx | The file extension (always docx) |
Power Automate Examples
Update Word Table Of Contents
We use the OneDrive Get file content using path action to retrieve the Word document on the right, which already contains a Table of Contents. The output of this action is then used as the input in the Existing File Content field of the Update Word Table of Contents action.
💡
Looking for the response to this example? Scroll up to see the Output tab.
Known Limitations
⚠️
If you experienced other limitations please get in touch with us!