Save as
Save the document to a new .docx, .doc, .rtf or .odt file (.docx optionally password-protected) and continue the session on it, or export it as PDF or its text as a .txt file.
Command in the Word toolkit · id ooa.word/save_as · 5 inputs (1 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Path | File | Yes | Target file path. | |
| Format | String | No | docx | docx keeps the document; doc (Word 97-2003), rtf and odt are written with Microsoft Word (or LibreOffice) on the runner; pdf exports it the same way; txt writes the plain text (body, tables and headers). After pdf and txt the session stays on the previous file. |
| Session | String | No | word | Session name. |
| Overwrite | Boolean | No | true | Replace a file that already exists at the target path; off stops with WORD.EXISTS (the default for new steps). |
| Password | Credential | No | Encrypt the new .docx file with this password; later saves keep it. |