Skip to main content

Split PDF by Swiss QR using n8n action

PDF4me Split PDF by Swiss QR divides PDF documents based on detected Swiss QR code content through n8n automation workflows. Process PDFs via n8n triggers, binary data, base64 strings, or public URLs to automatically detect Swiss QR codes, split documents at QR code locations, extract payment information, and organize files using Swiss QR data for intelligent file naming. This solution is ideal for Swiss invoice processing, payment automation, billing document separation, financial document sorting, automated filing, and Swiss QR-based organization workflows that require accurate Swiss QR detection with intelligent document splitting and seamless integration.

Setup

Add the PDF4me "Split PDF by Swiss QR" node to your n8n workflow and configure the required parameters. For initial setup instructions, see our n8n Integration Guide.

Prerequisites:

  • PDF4me API credentials
  • n8n workflow access

Configuration:

  1. Add PDF4me node to workflow
  2. Select "Split PDF by Swiss QR" action
  3. Configure input parameters (see below)
Split PDF by Swiss QR

Parameters

Complete list of parameters for the Split PDF by Swiss QR action. Configure these parameters to control Swiss QR-based PDF splitting.

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

ParameterTypeDescriptionExample
Input Data Type***StringPDF Input Format Selection
• Choose the format of your PDF data input
• PDF4me supports multiple input types
• Options: Binary Data, Base64 String, or URL
Binary Data
Binary Property NameStringBinary PDF File Input (Required if Binary Data)
• Reference PDF file from previous n8n node or file upload
• PDF4me processes binary PDF files with automatic format detection
• Required when Input Data Type is "Binary Data"
data
Base64 Document ContentStringBase64 Encoded PDF Input (Required if Base64 String)
• Provide PDF data as base64 encoded string
• PDF4me automatically decodes and processes the PDF content
• Required when Input Data Type is "Base64 String"
UEsDBBQABgAI...
File URLStringPublic PDF URL Input (Required if URL)
• Provide a public/open permission URL to the PDF file
• PDF4me downloads and processes the file from URL
• Required when Input Data Type is "URL"
https://abc.com/sample.pdf
Split Text Page***StringSplit Position Selection
• Choose where to split the PDF relative to detected Swiss QR code
• Options: After (split after the page), Before (split before the page)
• PDF4me provides flexible split positioning
After
Combine Pages With Same BarcodesBooleanConsecutive Swiss QR Handling
• Enable combining pages with same consecutive Swiss QR code values
• Helps group related content into single split file
• Optional for advanced document organization
false
PDF Render DPI***StringRendering Resolution
• Choose the DPI (dots per inch) for PDF rendering during Swiss QR detection
• Options: 72 DPI (faster), 150 DPI (balanced), 300 DPI (maximum accuracy)
• Higher DPI provides better recognition but may increase processing time
150 DPI
File Naming***StringOutput File Naming Convention
• Choose how generated split PDF files should be named
• Options: Name As Per Order (sequential), Name As Per Page (with page numbers)
• Helps organize output files
Name As Per Order
Output File Name***StringSplit PDF Output Filename
• Specify the name for the generated split PDF file
• Must include .pdf extension
• PDF4me ensures unique naming and format validation
SwissQR.pdf
Binary Data Output Name***StringBinary Data Mapping
• Define the variable name for accessing generated split PDF data
• Used in subsequent workflow actions
• Essential for workflow data flow
data

Advanced Options

The following parameters are available in the Advanced Options section and are optional:

ParameterTypeDescriptionExample
Custom ProfilesStringCustom Configuration Profiles
• Set additional options using custom profiles
• JSON-like format containing predefined parameters
• Supports outputDataFormat, preserveMetadata, etc.
• Optional for specialized requirements
{ "outputDataFormat": "base64", "preserveMetadata": true, "optimizeForPrinting": false, "compressionLevel": "medium" }

Output

Output Parameters

ParameterTypeDescriptionExample
successBooleanPDF4me Swiss QR split operation status indicator - Boolean flag indicating the success or failure of the PDF Swiss QR split process. PDF4me returns true for successful operations and false for any errors, enabling robust error handling in automated workflowstrue
messageStringPDF4me Swiss QR split operation status message - Human-readable status message providing details about the Swiss QR split process result. Includes success confirmation or error details for troubleshootingPDF split by Swiss QR successfully
fileNameStringPDF4me generated split PDF filename - The complete filename of the successfully generated split PDF document with proper .pdf extension. PDF4me ensures unique naming and validates file format compliance for seamless integration with downstream processesSwissQR.pdf
mimeTypeStringPDF4me output MIME type - MIME type of the generated PDF file, always "application/pdf" for PDF documents. Useful for content type validation and proper file handling in web applicationsapplication/pdf
fileSizeNumberPDF4me split PDF file size in bytes - The exact size of the generated split PDF file in bytes, provided by PDF4me for storage planning, bandwidth optimization, and file transfer monitoring. Essential for enterprise document management and workflow automation125430
docNameStringPDF4me document name reference - The name of the processed split document for reference and tracking purposes. This matches the fileName for consistency in document management workflowsSwissQR.pdf
swissQRSplitCompletedBooleanPDF4me Swiss QR split completion confirmation - Boolean flag confirming that the PDF Swiss QR split operation has been successfully completed. Useful for verifying that the Swiss QR-based split was applied correctlytrue
swissQRCodesDetectedNumberPDF4me Swiss QR codes detected count - The number of Swiss QR codes that were successfully detected and used as split points in the PDF document. Useful for tracking Swiss QR detection effectiveness and split accuracy2
filesGeneratedNumberPDF4me split files generated count - The number of individual PDF files that were successfully generated from the Swiss QR split operation. Useful for tracking split completeness and document segmentation results3

N8N Action Response

The PDF4me Split PDF by Swiss QR API returns a response that can be viewed in multiple formats. Choose the view that best fits your needs:

JSON Response Format

The raw JSON response from the API:

[
{
"success": true,
"message": "PDF split by Swiss QR successfully",
"fileName": "SwissQR.pdf",
"mimeType": "application/pdf",
"fileSize": 125430,
"docName": "SwissQR.pdf",
"swissQRSplitCompleted": true,
"swissQRCodesDetected": 2,
"filesGenerated": 3
}
]

Use Cases

Swiss Banking and Financial Document Processing

  • Split Swiss banking documents based on Swiss QR code separators for automated processing of different transaction types
  • Process Swiss invoice batches by splitting at Swiss QR code markers to create individual invoice files for each transaction
  • Automate the separation of Swiss financial documents based on Swiss QR code identifiers for compliance and record-keeping

Swiss Business and Invoice Management

  • Split combined Swiss invoice PDFs at Swiss QR code markers to create individual invoice files for each transaction
  • Process Swiss receipt batches by splitting at Swiss QR code separators to organize receipts by date, store, or transaction type
  • Automate the separation of Swiss business documents based on Swiss QR code identifiers for accounting and tax purposes

Swiss Government and Administrative Processing

  • Split Swiss government forms and applications based on Swiss QR code identifiers for different departments or processes
  • Process Swiss administrative documents by splitting at Swiss QR code markers to create individual files for each case or application
  • Automate the organization of Swiss official documents based on Swiss QR code identifiers for different administrative processes

Get Help