Split PDF by Text in Power Automate
PDF4me Split PDF by Text action automatically separates PDF documents by searching for specific text phrases within content in Power Automate. This intelligent splitting feature scans document text for unique identifiers, chapter headers, section titles, or keywords, splits before or after matching pages, and enables automated document organization based on content markers, perfect for report segmentation, document routing, and content-based separation across Microsoft 365 workflows.
Authenticating Your API Request
To access the PDF4me Web API through Power Automate, every request must include proper authentication credentials. Authentication ensures secure communication and validates your identity as an authorized user, enabling seamless integration between your Power Automate flows and PDF4me's powerful text-based splitting services.

Key Features
- Text Search Splitting: Find and split at pages containing specific text
- Phrase Detection: Search for unique phrases within document content
- Split Position Control: Choose to split before or after matched page
- Content-Based Routing: Automatically organize documents by text markers
- Batch Processing: Split multiple documents based on text patterns
Parameters
Complete list of parameters for the Split PDF by Text action. Configure these parameters to control text-based splitting.
Important: Parameters marked with an asterisk (***) are required and must be provided for the action to function correctly.
| Parameter | Type | Description | Example |
|---|---|---|---|
| File Content*** | Binary | Source PDF Content • Map PDF file content from previous action • PDF must contain searchable text • Can be from SharePoint, OneDrive, email • Must be valid PDF document | [File Content from Get File] |
| File Name*** | String | PDF Document Name • Source file name with proper file extension • Used for processing identification • Must include .pdf extension • Supports dynamic naming | Report.pdf |
| Text*** | String | Search Text Phrase • Text using which PDF needs to be split • Should be unique identifier in document • Case-sensitive text matching • Examples: "Chapter", "Department:", "Invoice #" | Chapter |
| Split Type*** | Option | Split Position • Before - PDF split before the page with the text • After - PDF split after the page with the text • Controls whether text page goes with previous or next document | Before |
Output
The PDF4me Split PDF by Text action returns comprehensive output data for seamless Power Automate flow integration:
- Table
- JSON
- Flow Integration
Table View
Response data in a structured table format:
| Parameter | Type | Description |
|---|---|---|
| File Content | Binary | Split PDF documents separated by text detection |
| File Name | String | Name of each split PDF document |
JSON Response Format
{
"Split Documents": [
{
"File Content": "[Binary Content 1]",
"File Name": "Document_Part1.pdf"
},
{
"File Content": "[Binary Content 2]",
"File Name": "Document_Part2.pdf"
}
]
}
Power Automate Flow Usage
Use split documents in subsequent actions:
- Apply to Each: Process each split section individually
- Department Routing: Send sections to respective departments
- SharePoint Organization: File sections in appropriate folders
- Email Distribution: Send relevant sections to stakeholders
- Individual Processing: Apply section-specific workflows
- Archive Separately: Store documents with proper categorization
Workflow Examples
The PDF4me Split PDF by Text action in Power Automate provides comprehensive workflow templates designed for real-world business scenarios:
- Chapter Splitting
- Department Routing
- Invoice Separation
- Section Extraction
Automated Book Chapter Separation Workflow
Transform book processing with automated chapter splitting:
Complete Workflow Steps:
- Trigger: Complete book PDF uploaded for processing
- Get Book: Retrieve full book PDF from SharePoint
- Split by Chapter: Search for "Chapter" text and split before
- Apply to Each: Process each chapter individually
- Extract Chapter Number: Parse chapter number from first page
- Rename Files: Name each file with chapter number
- Upload Chapters: Save individual chapters to library
- Create Index: Build chapter index with file references
Business Benefits:
- Separates 20+ books monthly into chapters automatically
- Enables individual chapter distribution and access
- Reduces book processing time by 90%
- Facilitates chapter-level content management
Automated Department Document Routing Workflow
Streamline distribution with text-based document splitting:
Complete Workflow Steps:
- Trigger: Multi-department report PDF generated
- Get Report: Retrieve comprehensive report
- Split by Department: Search for "Department:" and split after
- Apply to Each: Process each department section
- Parse Department Name: Extract department from first page
- Email Department: Send section to respective department
- Upload SharePoint: Save in department-specific folders
- Track Distribution: Log delivery to each department
Business Benefits:
- Routes 50+ multi-department reports monthly
- Automates section distribution to correct teams
- Reduces distribution time from 2 hours to 10 minutes
- Ensures each department receives only relevant content
Automated Invoice Batch Text-Based Splitting
Optimize invoice processing with text marker splitting:
Complete Workflow Steps:
- Trigger: Batch of invoices scanned without barcode separators
- Get Batch: Retrieve multi-invoice PDF
- Split by Text: Search for "Invoice Number:" and split before
- Apply to Each: Process each separated invoice
- Extract Invoice Number: Parse invoice number from first page
- Validate Invoice: Check against purchase orders
- Import to System: Load invoice to accounting
- Archive Individual: Store each invoice separately
Business Benefits:
- Separates 200+ invoices from text-based batches monthly
- Enables processing without barcode requirements
- Reduces invoice separation time by 85%
- Works with any invoice format containing text markers
Automated Document Section Extraction Workflow
Enhance document management with content-based splitting:
Complete Workflow Steps:
- Trigger: Comprehensive manual uploaded for section distribution
- Get Manual: Retrieve complete manual PDF
- Split by Section: Search for "Section " and split before
- Apply to Each: Process each extracted section
- Parse Section Title: Extract section name and number
- Update Metadata: Tag each section with proper metadata
- Upload Library: Save sections to appropriate folders
- Create Navigation: Build section navigation index
Business Benefits:
- Separates 15+ manuals annually into sections
- Enables granular section-level access and updates
- Reduces manual sectioning time by 95%
- Facilitates targeted section distribution
Industry Use Cases & Applications
- Publishing & Media
- Education & Training
- Corporate & Business
- Legal & Professional Services
Publishing & Media Use Cases
- Chapter Separation: Split books by chapter markers
- Section Extraction: Separate magazines by article titles
- Content Organization: Split publications by content markers
- Document Segmentation: Organize documents by text headings
Education & Training Use Cases
- Course Module Splitting: Separate courses by module titles
- Chapter Distribution: Split textbooks by chapter markers
- Section Separation: Organize study materials by sections
- Assignment Splitting: Separate multi-student assignments by name markers
Corporate & Business Use Cases
- Department Distribution: Split reports by department headers
- Section Routing: Separate manuals by section titles
- Content Organization: Split documents by content markers
- Report Segmentation: Separate reports by division markers
Legal & Professional Services Use Cases
- Case Section Splitting: Separate case files by section markers
- Document Organization: Split legal documents by headings
- Discovery Separation: Split discovery documents by identifiers
- Brief Section Extraction: Separate legal briefs by sections