Split PDF
Description
Use the step to divide a PDF document based on specified page numbers. The step helps you to extract specific pages, break large documents into manageable sections, or distribute portions of a report to different teams.
You can configure the output format in two ways:
- Comma Separated: Use this format when the next step needs a simple list of file paths. It works well for email attachments, file uploads, or basic file operations.
- Json Array: Use this format when the next step reads structured data. It works well for API calls, database entries, or advanced automation workflows.
Example scenario: Your finance team receives a 50-page monthly report. You can use Split PDF to extract pages 1–10 for the executive summary and pages 11–25 for detailed analytics.
Compatibility: Supported version is PDF 1.5 and above.
A PDF version refers to a specific technical specification of the Portable Document Format (PDF) that defines its features and capabilities.
Configurations
| No. | Field Name | Description |
|---|---|---|
| 1 | Step Name | Specify the name of the step. This name must be unique in a single workflow. |
Input Tab
Configure following fields to define which PDF to split and how to split it.
| No. | Field Name | Description |
|---|---|---|
| 1 | Input PDF Path | Specify the full file path of the PDF you want to split. Or Click Browse and locate and select the input file. The data type is String and the field is mandatory. |
| 2 | PDF Password | Specify the password if the PDF is protected. The system ignores this field if the PDF has no password. The password is encrypted and not stored in the workflow (.psw) file. If the checkbox Accept Value as variable/static is selected, the password field appears as a text box and accepts static or variable values. OR If the checkbox Accept Value as variable/static is cleared, the password field appears as a dropdown in which you can select a field from the previous steps. |
| 4 | Start Page | Specify the page number where you want to begin the split. Use a positive integer. |
| 5 | End Page | Specify the page number where you want to end the split. Use a positive integer. |
| 6 | Split At Every X Page | Specify the number to split the document at regular intervals. For example, enter 5 to create a new PDF after every 5 pages. Use a positive integer. |
| 7 | Output Folder Path | Specify the folder path where you want to save the split PDF files. Or Click Browse… to locate the folder. The data type is string and the field is mandatory. |
Output Tab
Choose how you want to receive the file paths of your split PDFs.
| No. | Field Name | Description |
|---|---|---|
| 1 | Output Format | Select the output format for the file paths. Select how the system returns the file paths. Available options are: - Comma Separated: Returns all file paths in a single string, separated by commas. For example, D:\Process-Studio-T01\PS-workspace \Agentic AI Guide_1-2.pdf, D:\Process-Studio-T01\PS-workspace \Agentic AI Guide_3-3.pdf - JSON Array: Returns all file paths in JSON array format. For example, ["D:\AutomationEdge\Agentic AI Guide_1-2.pdf","D:\AutomationEdge\Agentic AI Guide_3-3.pdf"] |
| 2 | Output Field Name | Specify a name for the output field. You can use this name to access the file paths in subsequent steps. Default value: SplitPdfPaths |
Common Buttons:
| No. | Field Name | Description |
|---|---|---|
| Buttons: | ||
| 1 | OK | On click of this button. It will check the field values. If any required field values are missing, then it will display validation error message. If all the required field values are provided then it will save the field values. |
| 2 | Cancel | On click of this button, it will cancel the window and do not save any values |