Skip to main content

Split by Barcode - Smart Splitter for Zapier

PDF4me Split by Barcode action revolutionizes document processing in Zapier with intelligent PDF splitting based on barcode detection and data matching. This powerful automation service scans PDF documents for QR codes, Data Matrix barcodes, and other barcode types, then intelligently divides the document at barcode locations based on customizable text filters, transforming how you handle batch-scanned documents, multi-customer invoices, and combined document packages. Whether you're processing hundreds of scanned forms with barcode separators, organizing bulk-scanned invoices, or automating document sorting from high-volume scanning operations, this feature eliminates manual document separation and enables sophisticated barcode-driven workflow automation that saves countless hours of tedious document organization work.

Related Blog Posts(1)

Authenticating Your API Request​

To access the PDF4me Web API, every request must include proper authentication credentials. Authentication ensures secure communication and validates your identity as an authorized user.

Split by Barcode

Key Features​

  • Intelligent Barcode Detection: Automatically detect QR codes, Data Matrix, and all major barcode types
  • Text-Based Filtering: Split based on specific text within barcode data using starts with, ends with, contains, or exact match
  • Flexible Split Options: Choose to split before barcode page, after barcode page, or remove separator page entirely
  • Multi-Document Processing: Handle batch-scanned documents with multiple barcode separators
  • Format Support: Works with QR codes, Data Matrix, Code 39, Code 128, and more

Parameters​

Complete list of parameters for the Split by Barcode action. Configure these parameters to control the barcode-based splitting process.

Important: Parameters marked with an asterisk (***) are required and must be provided for the action to function correctly.

ParameterTypeDescriptionExample
FileFileMap the PDF file to be split using barcode detection. A URL containing a file can also be passed[PDF File]
Specify File NameTextSpecify output filename. If not provided, name will be picked from File fieldsplit_documents
Barcode TextTextText data within barcode to filter and split on. System will search for this text in detected barcodesINVOICE
Barcode Filter*DropdownText matching method for barcode data:
Starts with - Barcode begins with specified text
Ends with - Barcode ends with specified text
Contains - Barcode contains specified text anywhere
Exact - Barcode exactly matches specified text. Defaults to Starts with.
Contains
Barcode Type*DropdownType of barcode to detect:
Any Type - Detect all barcode formats
QR code - Only detect QR codes
Only Datamatrix - Only detect Data Matrix barcodes. Defaults to Any Type.
Any Type
Split Barcode Page*DropdownWhere to split relative to barcode:
Before the barcode - Split before page containing barcode
After the barcode - Split after page containing barcode
Remove the page containing the barcode - Split and exclude separator page. Defaults to Before the barcode.
After the barcode
File URL (Either provide File or File URL)TextLink to the PDF to split, as an alternative to File. Map a file URL from a previous step.
PDF Render Dpi*IntegerResolution (DPI) at which the pages are rendered to detect the codes. Valid values: 100, 150, 200 or 250. Defaults to 150.150
Combine Pages with Same BarcodesTrue/FalseIf true, consecutive pages with the same barcode text are kept together in one document. Defaults to No.No
Return as ZipTrue/FalseIf true (default), the result is returned as a single file (fileUrl and the related fields). If false, each split file is returned as a separate line item under documents. Note: the app's help text for this field ("Hide text shown beside barcode") is wrong. Defaults to Yes.Yes

Output​

The PDF4me Split by Barcode action returns comprehensive output data for seamless Zapier workflow integration:

Table View

Response data in a structured table format:

ParameterTypeDescription
jobIdTextID of the PDF4me job that processed the request.
traceIdTextTrace ID of the request, when PDF4me returns one. Give it to PDF4me support when reporting a problem.

Workflow Examples​

The PDF4me Split by Barcode action in Zapier provides comprehensive workflow templates designed for real-world business scenarios:

Automated Batch-Scanned Invoice Separation Workflow

Transform your accounts payable processing with automated invoice splitting from batch scans using barcode separators:

Complete Workflow Steps:

  1. Trigger: Batch-scanned PDF with multiple invoices uploaded to accounting system
  2. Scan: System detects QR code separator pages between invoices
  3. Filter: Match barcodes containing "INVOICE" or specific vendor codes
  4. Split: Divide PDF after each barcode separator page
  5. Extract: Unzip resulting individual invoice PDFs
  6. OCR: Extract invoice data from each separated document
  7. Route: Distribute invoices to appropriate approval workflows
  8. Archive: Store individual invoices with proper organization

Business Benefits:

  • Eliminates 5+ hours weekly spent manually splitting scanned invoice batches
  • Processes 100+ invoices from single scan automatically
  • Reduces invoice processing errors by 98% with automated separation
  • Accelerates accounts payable workflow by 85% with instant splitting

Industry Use Cases & Applications​

  • Batch Invoice Processing: Split scanned invoice batches with barcode separators
  • Receipt Sorting: Organize expense receipts by employee or department
  • Bank Statement Separation: Divide multi-account statement scans
  • Payment Documentation: Separate payment vouchers and supporting documents

Get Help​