This video explains how to extract plain text out of any Word .Docx files using power automate with help of Extract Document.XML file and Xpath expressions.
Please watch full video to understand the step by step process.
Expressions used in video
1. filter array
@equals(item()['Name'],'document.xml')
2. Get file action -
first(body('Filter_array'))['Id']
3. Compose action to read Text-
xpath(xml(outputs('Get_file_content')?['body']), '//*[name()=''w:t'']/text()')
1 фев 2024