Skip to main content

Delete Blank Pages from PDF in Power Automate

PDF4me Delete Blank Pages from PDF action automatically detects and removes empty pages from PDF documents in Power Automate for file optimization. This intelligent cleanup feature scans for truly blank pages, pages with minimal content, or whitespace-only pages based on configurable delete options, reducing file sizes, improving document navigation, and eliminating scanning artifacts across Microsoft 365 workflows.

Related Blog Posts
No blog post yet for this feature — coming soon.
In the meantime, browse the PDF4me blog for tutorials and workflows across every platform.
Visit the blog →

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 blank page removal services.

Delete Blank Pages from PDF Power Automate

Key Features​

  • Automatic Detection: Identify blank and near-blank pages automatically
  • Configurable Sensitivity: Choose delete options for blank detection
  • File Size Reduction: Reduce PDF size by removing empty pages
  • Scan Cleanup: Remove blank pages from scanned document batches
  • Batch Processing: Clean multiple PDFs in automated workflows

Parameters​

Complete list of parameters for the Delete Blank Pages from PDF action. Configure these parameters to control blank page removal.

ParameterRequiredWhat it doesExample
File ContentRequiredContent of the PDF to remove blank pages from. Map it from the file content returned by a previous action, such as SharePoint or OneDrive Get file content.[File Content from Get File]
File NameRequiredName of the PDF to remove blank pages from, including its extension (for example `invoice.pdf`). Map it from the file name returned by a previous action.ScannedDoc.pdf
Delete OptionRequiredWhich pages count as blank and are deleted. Options: NoTextNoImages, NoText, NoImages. Defaults to `NoTextNoImages`.Completely Blank

Output​

The PDF4me Delete Blank Pages from PDF action returns comprehensive output data for seamless Power Automate flow integration:

Table View

Response data in a structured table format:

FieldTypeWhat it contains
File ContentFile contentContent of the PDF without the blank pages. Map it into the next action, for example the File Content field of SharePoint or OneDrive Create file.
File NameTextFile name of the PDF without the blank pages, as returned by PDF4me. Use it as the file name when saving the file.
Page CountTextPage count reported by PDF4me for the processed document. Returned as text; wrap it in int() to use it as a number.

Workflow Examples​

The PDF4me Delete Blank Pages from PDF action in Power Automate provides comprehensive workflow templates designed for real-world business scenarios:

Automated Scanned Document Cleanup Workflow

Transform scanning workflows with automatic blank page removal:

Complete Workflow Steps:

  1. Trigger: Document scanned and uploaded to processing folder
  2. Get Scan: Retrieve scanned PDF from OneDrive
  3. Delete Blank Pages: Remove completely blank pages
  4. Apply OCR: Convert to searchable PDF
  5. Optimize Size: Compress cleaned document
  6. Validate Pages: Check all content pages preserved
  7. Upload Archive: Save cleaned PDF to document library
  8. Delete Original: Remove unprocessed scan

Business Benefits:

  • Cleans 200+ scanned documents monthly automatically
  • Reduces file sizes by average 30% removing blank pages
  • Eliminates manual blank page removal
  • Improves document quality and navigation

Industry Use Cases & Applications​

  • Scanned Case Files: Remove blank pages from scanned legal documents
  • Discovery Documents: Clean blank pages from e-discovery files
  • Contract Scanning: Remove blank separator pages from scanned contracts
  • Fax Documents: Clean blank pages from faxed legal documents

Finance & Banking​

  • Invoice Scanning: Remove blank pages from scanned invoice batches
  • Statement Processing: Clean blank pages from account statements
  • Check Scanning: Remove blank pages from check deposit batches
  • Document Scanning: Clean any scanned financial documents

Healthcare & Medical​

  • Medical Record Scanning: Remove blank pages from patient records
  • Insurance Claims: Clean blank pages from scanned claims
  • Lab Results: Remove blank separator pages from lab batches
  • Fax Documents: Clean medical fax documents

Corporate & Business​

  • Document Scanning: Remove blank pages from scanned business documents
  • Mail Processing: Clean blank pages from scanned mail
  • Archive Optimization: Remove blanks before archival
  • Batch Scanning: Clean all batch-scanned documents

Get Help​