Split PDF by Barcode in Power Automate
PDF4me Split PDF by Barcode action automatically separates multi-document PDFs based on barcode detection in Power Automate with intelligent filtering capabilities. This powerful splitting feature scans for QR codes, DataMatrix, or any barcode type, applies text filters (Starts With, Ends With, Contains, Exact), and splits before/after/remove barcode pages, perfect for batch scanning workflows, invoice processing, and automated document 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 barcode splitting services.

Key Features
- Automatic Barcode Detection: Scan and identify barcodes in PDF pages
- Multiple Barcode Types: Support QR Code, DataMatrix, and all barcode types
- Text Filtering: Apply Starts With, Ends With, Contains, Exact filters
- Split Position Control: Split before, after, or remove barcode pages
- Batch Document Separation: Split scanned document batches automatically
Parameters
Complete list of parameters for the Split PDF by Barcode action. Configure these parameters to control barcode splitting.
Important: Parameters marked with an asterisk (***) are required and must be provided for the action to function correctly.
| Parameter | Type | Description | Example |
|---|---|---|---|
| Barcode Filter*** | Option | Text Filter Method • Starts With - Match barcodes starting with specified text • Ends With - Match barcodes ending with specified text • Contains - Match barcodes containing specified text • Exact - Match barcodes with exact text match | Starts With |
| Barcode Data*** | String | Filter Text Value • Text data in barcode to filter and split • Works with selected filter method • Case-sensitive matching • Use specific identifier for accurate splitting | INV- |
| Barcode Type*** | Option | Barcode Format Selection • Any - Detect any barcode type • Data Matrix - Only detect DataMatrix barcodes • QR Code - Only detect QR codes • Restricts detection to specific format | QR Code |
| File Content*** | Binary | Source PDF Content • Map PDF file content from previous action • PDF should contain barcode separator pages • Can be from SharePoint, OneDrive, email • Must be valid PDF with barcodes | [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 | BatchScan.pdf |
| Split Barcode Page*** | Option | Split Position • Before - Split before page with barcode • After - Split after page with barcode • Remove - Split and remove barcode page • Controls how barcode page is handled | After |
Output
The PDF4me Split PDF by Barcode 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 array based on barcode detection |
| File Name | String | File name of each split document |
JSON Response Format
{
"Split Documents": [
{
"File Content": "[Binary Content 1]",
"File Name": "Document_001.pdf"
},
{
"File Content": "[Binary Content 2]",
"File Name": "Document_002.pdf"
}
]
}
Power Automate Flow Usage
Use split documents in subsequent actions:
- Apply to Each: Process each split document individually
- Email Distribution: Send each document to appropriate recipient
- SharePoint Organization: Save documents to category-specific folders
- Individual Processing: Apply document-specific workflows
- Database Import: Extract data from each split document
- Archive Separately: Store documents with proper categorization
Workflow Examples
The PDF4me Split PDF by Barcode action in Power Automate provides comprehensive workflow templates designed for real-world business scenarios:
- Invoice Batch Processing
- Mailroom Automation
- Application Processing
- Medical Records
Automated Invoice Batch Splitting Workflow
Transform invoice processing with barcode-based batch splitting:
Complete Workflow Steps:
- Trigger: Batch-scanned invoice PDF received from scanner
- Get Batch: Retrieve multi-invoice PDF file
- Split by Barcode: Separate using QR codes on each invoice
- Filter "INV-": Split invoices starting with "INV-" barcode data
- Split After Barcode: Keep barcode page with each invoice
- Apply to Each: Process each split invoice
- Extract Invoice Data: Parse data from each invoice
- Import to System: Load each invoice to accounting system
Business Benefits:
- Separates 500+ invoices from batch scans monthly
- Automates complete invoice separation workflow
- Reduces batch processing time from 8 hours to 30 minutes
- Eliminates manual invoice sorting
Automated Mailroom Document Sorting Workflow
Streamline mailroom operations with barcode-based sorting:
Complete Workflow Steps:
- Trigger: Daily mail scanned with department barcode separators
- Get Mail Batch: Retrieve scanned mail PDF
- Split by Barcode: Separate using DataMatrix department codes
- Split After: Keep barcode with document for tracking
- Apply to Each: Process each department's mail
- Route by Department: Send to department-specific workflows
- Email Department: Deliver mail PDFs to appropriate teams
- Log Distribution: Record mail delivery in tracking system
Business Benefits:
- Sorts 200+ mail items daily automatically
- Routes mail to correct departments within 15 minutes
- Eliminates manual mail sorting and distribution
- Reduces mail delivery time by 90%
Automated Application Batch Separation Workflow
Optimize application processing with barcode splitting:
Complete Workflow Steps:
- Trigger: Batch of applications scanned with separator sheets
- Get Batch Scan: Retrieve multi-application PDF
- Split by QR: Separate using QR code on separator sheets
- Remove Separator: Split and remove barcode separator pages
- Apply to Each: Process each individual application
- Extract Applicant Data: Parse application form data
- Import to ATS: Load application to applicant tracking system
- Email Recruiters: Notify recruiters of new applications
Business Benefits:
- Processes 150+ application batches monthly
- Automates application separation and routing
- Reduces application intake time by 80%
- Eliminates manual application sorting
Automated Medical Record Batch Splitting
Enhance healthcare with barcode-based record separation:
Complete Workflow Steps:
- Trigger: Batch of patient records scanned with patient ID barcodes
- Get Record Batch: Retrieve multi-patient PDF
- Split by Barcode: Separate using patient ID barcodes
- Filter Patient IDs: Match barcodes containing "PT-" prefix
- Split Before: Start new document before each patient barcode
- Apply to Each: Process each patient's records
- Import to EMR: Load records to electronic medical records
- Archive Records: Store each patient record separately
Business Benefits:
- Separates 300+ patient records weekly from batch scans
- Ensures accurate patient record organization
- Reduces record processing time by 85%
- Improves patient record accuracy and accessibility
Industry Use Cases & Applications
- Finance & Accounting
- Healthcare & Medical
- Legal & Professional Services
- Operations & Logistics
Finance & Accounting Use Cases
- Invoice Batch Splitting: Separate scanned invoice batches by barcode
- Receipt Processing: Split receipt batches using receipt barcodes
- Statement Separation: Split statement batches by account barcodes
- Check Processing: Separate check batches using check numbers
Healthcare & Medical Use Cases
- Patient Record Splitting: Separate patient record batches by ID barcodes
- Lab Result Separation: Split lab batches by test barcodes
- Prescription Processing: Separate prescription batches by Rx barcodes
- Insurance Claim Splitting: Split claim batches by claim number barcodes
Legal & Professional Services Use Cases
- Case Document Splitting: Separate case file batches by case barcodes
- Client File Separation: Split client document batches by client codes
- Discovery Document Splitting: Separate discovery batches by document IDs
- Court Filing Separation: Split filing batches by filing numbers
Operations & Logistics Use Cases
- Order Batch Splitting: Separate order batches by order number barcodes
- Shipping Document Separation: Split shipping docs by tracking barcodes
- Inventory Batch Processing: Separate inventory docs by SKU barcodes
- Packing Slip Splitting: Split packing slips by order barcodes
Related Blogs
Step-by-step guides to split PDFs by barcode: