Skip to main content

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.

Split PDF by Text Power Automate

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.

ParameterTypeDescriptionExample
File Content***BinarySource 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***StringPDF Document Name
• Source file name with proper file extension
• Used for processing identification
• Must include .pdf extension
• Supports dynamic naming
Report.pdf
Text***StringSearch 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***OptionSplit 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 View

Response data in a structured table format:

ParameterTypeDescription
File ContentBinarySplit PDF documents separated by text detection
File NameStringName of each split PDF document

Workflow Examples

The PDF4me Split PDF by Text action in Power Automate provides comprehensive workflow templates designed for real-world business scenarios:

Automated Book Chapter Separation Workflow

Transform book processing with automated chapter splitting:

Complete Workflow Steps:

  1. Trigger: Complete book PDF uploaded for processing
  2. Get Book: Retrieve full book PDF from SharePoint
  3. Split by Chapter: Search for "Chapter" text and split before
  4. Apply to Each: Process each chapter individually
  5. Extract Chapter Number: Parse chapter number from first page
  6. Rename Files: Name each file with chapter number
  7. Upload Chapters: Save individual chapters to library
  8. 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

Industry Use Cases & Applications

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

Get Help