Skip to content

Word Read Paragraphs

Type: word-read-paragraphs  ·  Package: Word Activities v1.0.0  ·  Output: List

Reads all paragraphs in a document and returns them as a list of texts (one per paragraph). Useful when you want to process the document paragraph by paragraph, rather than as a single block of text.

Returns the list of paragraphs. By default it omits empty paragraphs (includeEmpty = false). Accepts session or path — see the two modes.

Ninguno — pero debes indicar session o path.

ParameterEditorDescription
sessionsessionWord Open session (instead of path).
pathexpressionRoute to .docx (fast mode).
includeEmptybooleanInclude empty paragraphs. By default false.

Returns a List of texts (one paragraph per element). Go through it with For Each.

Word Read Paragraphs path = = asset("acta.docx") → output: parrafos
For Each items = = parrafos itemVariable = p
└─ activities:
If condition = = startsWith(str(p), "ACUERDO")
└─ then:
Log message = = p