Replaces the text inside an existing named bookmark and keeps the bookmark in the new DOCX.
Inputs and outputs
document— Word document (text (filesystem.file)) Required connector.bookmark— Bookmark name (text) Connector or setting.text— Text (text) Connector or setting.destinationFolder— Destination folder (text (filesystem.folder)) Required connector.name— Output filename (text) Connector or setting.fire— Optional start signal (fire).
file— File (text (filesystem.file)).fire— Continuation after successful completion (fire).
Settings
bookmark— Bookmark name (text). Default empty.text— Text (text). Default empty.name— Output filename (text). Default empty.
A connected input takes precedence over the saved setting, including empty text, zero and false. An invalid connected value stops the workflow.
Use an existing bookmark around a single line or at an insertion point. The name starts with a letter and uses up to 40 ASCII letters, digits or underscores. Replacement text is a single line of up to 8,192 characters. Empty text clears the range and preserves a collapsed bookmark. Select a smaller bookmark if its range includes structural boundaries.
Requirements and common errors
Use an active Windows desktop, installed Microsoft Word Desktop and Windows PowerShell 5.1. Reconnect an existing local DOCX under 32 MiB with no password, external links, macros, active objects or unsupported dynamic fields. Open Word once to clear activation or first-run prompts if it fails to start.
Choose one filename ending in .docx in a writable local folder on an NTFS or equivalent volume. Choose a fresh name if the destination already exists. Editing requires an unrestricted copy with resolved tracked changes.
Failure stops this block and returns no file resource or continuation signal.
