Actions13
Split Word Document
AI-generatedSummary
Split a Word document into multiple parts based on specified criteria such as page ranges, sections, headings, or a custom configuration.
Inputs
- Word File Input Method (required) — Select how to provide the Word file to be split: as binary data from a previous node, a base64 encoded string, or a downloadable URL.
- Binary Data Property Name (required) — Specify the binary property name that contains the Word file (used if input method is binary data).
- Base64 Encoded Word Content (required) — Provide the Word file content as a base64 encoded string (used if input method is base64).
- Word File URL (required) — Provide a publicly accessible URL to download the Word file from (used if input method is URL).
- Split Type (required) — Choose the method to split the Word document: by page ranges, sections, headings, or a custom method.
- Page Ranges — Define comma-separated page ranges (e.g. "1-3,5,7-9") used when splitting by pages or custom split.
- Source Document Name — Name of the original Word file, useful for reference and processing.
- Culture Name — Culture name (e.g., en-US, fr-FR) for the document processing context.
- Output Binary Data Name — Name assigned to the binary data field of the resulting split files in the node output.
Output shape
a list of splitted Word document files as binary data entries in the node output
Each output item contains a part of the original Word document split according to the specified criteria. The binary data property name is based on the 'Output Binary Data Name' parameter. Errors during processing appear per-item if 'Continue On Fail' is enabled.
Examples
Example 1: Split a Word document provided as binary data from a previous node by pages 1-3 and 5-7, resulting in multiple output files containing the specified page ranges.
Input method set to 'From Previous Node (Binary Data)', binary property name 'data', split type 'Pages', page ranges '1-3,5-7', output binary data name 'data'.