Read DOCX Text

files · N038 · starter-package 7.0.1

Read plain text from the body of a Word document for searching or further processing.

Use this when a later block needs to search, match or classify the written contents of a .docx file.

Connectors

DirectionConnectorTypeUse
InputfileTextRequired. Connect a Word file from an earlier file block or Create Word Document.
OutputtextTextBody paragraphs and table-cell paragraphs in document order. An empty body returns empty text.
InputfireFireOptional execution signal.
OutputfireFireContinues on success.

Example and result

Paragraphs are separated by newlines. Tabs and manual line breaks are preserved. Headers, footers, comments, deleted text, drawings and page layout are outside the body extraction. For example, connect the output to Regex Match to find an invoice identifier in a Word file.

What happens when it runs

Use an unencrypted .docx with a UTF-8 main document. Older binary .doc files need to be resaved as .docx. Split very large documents if their unpacked body XML exceeds 16 MiB or their text exceeds 1 MiB. An error stops the workflow at this block. Reconnect the matching output if the file belongs to another run.