Description
Reads the content of a Word file. The 'Save value to variable' activity appears automatically when choosing the 'Read Word file' activity. It automatically saves the value to a variable. However, the activity is not mandatory to use and can be removed from the workflow.
Parameters
-
Set a value: enables you to directly write the desired path. Clicking the 'Pick' button allows you to manually choose the path. The file extension must be '.docx'.
-
Save the previous step result: chooses the previous activity result as a path.
-
Calculate a value: enables you to use available properties and methods to form a path.
Supported formats:
-
docx
Contains an annotation to the activity. The input text will be displayed above the activity name.
Result
The Word document data is stored in the word_content
variable by default. This variable represents a string which may contain text formatting rules. For example, "<p><strong>Sample Document</strong></p><p>\tThis text will be written by the <em>robot</em>. </p><p></p>"