Help Centre › Building Processes
This article describes the RPA Word functionality to get the content of a document as text.
For a full list of available functions, please read WORD functions.
Description
The WORD Get content function extracts the full text content of the active Word document and stores it in a variable.
Setting it up
To use the WORD Get content function, follow these instructions:
{{popups:rpas/add:action=word-get-content}}
Once on a process map:
- Navigate to the process where you would like to add the WORD Get content function
- Click on the green button’s drop-down (right side of the green button labelled “Process”)
- On the menu that appears, click on the “+ Activity” item
- From here you can select the WORD Get content option
- Click "Add" once you are done
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Variable | No | Text | content | Variable to store the document text content |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | Text | The full text content of the document |
Errors
| Error | Description |
|---|---|
| Word not open | Microsoft Word is not running |
Tips
- Extracts the full text content from the active Word document
- Default variable name is "content" if not specified