Extract bookmarks (Word) to a list

Extract bookmarks (Word) to a list

Description

You can extract word bookmarks from a Word DOCX to a list.

Input Arguments

Input ArgumentTypeDescriptionRequired?Advanced Option?Default
FileFile in Word DOCX format.The Word DOCX file from which the information shall be extracted. File only – no string/Base64 allowed✔️-
Include Hidden Bookmarks? BooleanWhether to include bookmarks that are marked as hidden in the Word document.✔️-
Search NameStringSearch for text in the bookmark name✔️-
Search ContentStringSearch for text in the bookmark content✔️-

Output

ResponseTypeDescription
Body ObjectFull response object. Contains the array wordBookmarks with all bookmarks.
Key StringThe name of the bookmark.
ValueStringThe content/text within the bookmark.
Item ObjectAn individual bookmark object containing key and value.

Power Automate Examples

Extract bookmarks (Word) to a list

We use the OneDrive Get file content using path action to retrieve a Word document. Therafter, we use a Compose action to show which information may be used. Since there are multiple outputs possible, an Apply to each was automatically applied.

Picture

💡

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!