Actions13
Replace Text
AI-generatedSummary
Replace specified text fragments in a Word document provided as binary data, base64 string, or downloadable URL, applying optional formatting to replacements.
Inputs
- Word File Input Method (required) — Select the input method for the Word file: binary data from a previous node, base64 encoded string, or URL to download the file.
- Binary Data Property Name (required) — Specify the binary property name containing the Word file when using binary data input (typically 'data').
- Base64 Encoded Word Content (required) — Provide the Word file as a base64 encoded string when input method is base64.
- Word File URL (required) — Provide a public URL to download the Word file when input method is URL.
- Text Replacements (required) — Define an array of text replacements, each specifying the search text, replacement text, match case, whole word matching, regex usage, and optional formatting such as font, color, size, bold, italic, underline, strikethrough, and spacing.
- Source Document Name — Name of the original Word document (used for reference and processing).
- Culture Name — Culture code for the document (e.g., en-US) affecting processing behavior.
- Output Binary Data Name — Name assigned to the output binary data in the workflow for accessing the modified Word file.
Output shape
single binary data item
Returns the processed Word document with text replacements applied as binary data under the specified output binary data name. The output is suitable for use in downstream nodes expecting Word document content.