Actions114
- AI Actions
- AI Advanced OCR
- Check Content Policy
- Detect Adult Content
- Detect Brand
- Detect Color
- Detect Email Type
- Detect Faces
- Enitity Detection
- Extract Contact Information
- Extract Customizable Information From Text
- Fuzzy Text Matcher
- Generate Image
- Generate Javascript Code
- Generate Python Code
- Language Detection
- Mood Detection
- PDF OCR
- Picture Object Recognition
- Picture Text Recognition
- Redact Sensitive Information From PDF
- Too Long To Read
- Transcribe
- Translation
- Business Actions
- Calculate Actions
- Code Actions
- Convert Actions
- Crypto Actions
- Date & Time Actions
- Generate Actions
- Image Actions
- Operator Actions
- PDF Actions
- Storage Actions
- Text Actions
- User Actions
PDF → Split PDF Files
AI-generatedOverview
This node operation splits PDF files based on user-defined criteria. It supports splitting by specific page ranges or by intervals, allowing users to extract parts of a PDF file into separate files. This is useful for workflows that require processing or distributing sections of large PDF documents, such as splitting reports, invoices, or eBooks.
Use Case Examples
- Splitting a PDF into chapters by specifying page ranges for each chapter.
- Splitting a PDF into smaller files of equal page intervals for easier sharing or processing.
Properties
| Name | Meaning |
|---|---|
| Code Variables | Variables defined in the code editor that can be used within the node's logic, allowing dynamic input values. |
| URL or Binary Data | Specifies whether the PDF input is provided as a public URL or as binary data buffer. |
| URL | Public URL of the PDF file to be split (required if input type is URL). |
| Binary Data | Buffer of the PDF file to be split (required if input type is binary data). |
| Pages | Pages inside the PDF file (used when input is binary data). |
| How Do You Want to Split the PDF? | Method to split the PDF, either by page ranges or by interval. |
| Page Ranges | Specify the start and end pages for each range to split the PDF into multiple parts (used if split method is page ranges). |
| Interval | Number of pages per split part when splitting by interval. |
Output
JSON
splitResult- Result of the PDF split operation, typically an array of split PDF files or metadata about the split parts.
Dependencies
- An API key credential for the 0CodeKit service is required to perform the PDF splitting operation.
Troubleshooting
- Ensure the input PDF URL is publicly accessible if using URL input type, otherwise the node will fail to fetch the file.
- When using binary data input, verify that the buffer contains valid PDF data.
- Page ranges must be valid and within the bounds of the PDF file; invalid ranges may cause errors.
- If splitting by interval, ensure the interval number is a positive integer and makes sense for the PDF length.