Split Files
Divide parsed file content into smaller text groups. Use this tool before a loop or another step that processes documents in manageable parts.
Use this tool
Supply the parsed File content.
Choose Split style: character chunks, pages, files, or a fixed number of parts.
Set the corresponding size or count.
Run the tool and inspect Chunks before processing each item.
Behavior and limits
This tool returns text groups, not separate downloadable PDFs. Page and file boundaries depend on the supplied parsed content. When dividing into a fixed number of parts, more parts than pages can produce empty trailing items. Use Page Split to create separate files by page.
Inputs
File content (required)
input_text
The text content from one or more files to be chunked
Configuration
Split style (required)
split_style
Choose how to split the content: by chunks (character limit), by pages, by files, or into a fixed number of parts
Characters per chunk
characters_per_chunk
Maximum number of characters per chunk (default: 500,000). Each resulting chunk can't be smaller than chunk size of files node.
Pages per chunk
pages_per_chunk
Number of pages to include in each chunk (default: 1, minimum: 1).
Files per chunk
files_per_chunk
Number of files to include in each chunk (default: 1, minimum: 1).
Number of parts
number_of_parts
Number of parts to divide all pages into (default: 2, minimum: 1). Pages are flattened across all files in order, then split into this many contiguous, roughly-equal parts. Fewer pages than parts yields trailing empty parts.
Outputs
Chunks
chunks
List of chunked text content
Related guides
Was this helpful?

