Crop PDF in Zapier
What this action does
PDF4me Crop PDF trims PDF page edges or extracts specific regions inside your Zapier workflow using two flexible methods: Crop using Rectangle (lower-left X/Y, width, height) for exact region extraction, or Crop using Border (left, right, top, bottom) for margin removal. Remove scanner edges automatically, isolate signature blocks from contracts, extract form fields, standardize page sizes across document batches, or prepare PDFs for print — all triggered automatically by Dropbox, Google Drive, Gmail, form submissions, or any Zapier trigger.
Authenticating Your API Request
To access the PDF4me Web API through Zapier, every action must be authenticated. Click Connect a new account the first time and paste your PDF4me API key — subsequent Zaps reuse the connection automatically.
Important Facts You Should Not Miss

Rectangle mode — define the lower-left corner plus width and height to extract a specific page region.
Parameters — Method 1: Crop using Rectangle
Define the crop area by specifying the lower-left corner and dimensions. Use this method to extract a specific region of the page (signature block, form section, content rectangle).
| Parameter | Required | What it does | Example |
|---|---|---|---|
| File | Yes | Input PDF from a previous Zap step. Map the file output of Dropbox, Google Drive, Gmail attachment, form trigger, or HTTP webhook. | 1. File: (Exists but not shown) |
| File Name | No | Output file name (filename + extension). Map from prior step or hardcode. PDF4me derives a sensible default if omitted. | 1. File Name + 1. File Ext |
| Crop Type | Yes | Select "Crop using Rectangle" from the dropdown to enable Rectangle-mode fields below. | Crop using Rectangle |
| Lower Left X | Yes | X-coordinate of the lower-left corner of the crop rectangle (in points). 0 starts at the left edge. | 50 |
| Lower Left Y | Yes | Y-coordinate of the lower-left corner of the crop rectangle (in points). 0 starts at the bottom edge. | 100 |
| Width | Yes | Width of the crop rectangle in points, extending right from Lower Left X. | 500 |
| Height | Yes | Height of the crop rectangle in points, extending up from Lower Left Y. | 600 |

Border mode — specify how much to trim from each edge to remove margins or scanner output edges.
Parameters — Method 2: Crop using Border
Remove margins by specifying how much to trim from each edge. Use this method to clean up scanner edges, remove page numbers, or strip decorative whitespace uniformly.
| Parameter | Required | What it does | Example |
|---|---|---|---|
| File | Yes | Input PDF from a previous Zap step. | 1. File: (Exists but not shown) |
| File Name | No | Output file name. PDF4me derives a default if omitted. | 1. File Name + 1. File Ext |
| Crop Type | Yes | Select "Crop using Border" from the dropdown. | Crop using Border |
| Left Border | Yes | Amount to trim from the left edge in points. | 10 |
| Right Border | Yes | Amount to trim from the right edge in points. | 10 |
| Top Border | Yes | Amount to trim from the top edge in points. | 15 |
| Bottom Border | Yes | Amount to trim from the bottom edge in points. | 15 |
Crop Mode Comparison
Crop using RectangleExtract a specific regionCrop using BorderTrim margins from each edgeOutput Fields
| Field | Type | What it contains |
|---|---|---|
File Content | Binary | Cropped PDF ready for download, email, or further processing in the next Zap step. |
File Url | String | Direct URL to access the cropped PDF — useful for sharing or downstream HTTP processing. |
File Name | String | Output filename without extension. |
Full File Name | String | Complete output filename with .pdf extension. |
Quick Setup
- In Zapier, click + to add a new action and select PDF4me.
- Choose Crop PDF as the action event.
- Connect your PDF4me account or paste your API key when prompted.
- Map File to the binary output of a previous step — Dropbox New File, Google Drive New File, Gmail attachment, or form trigger.
- Select Crop Type from the dropdown — Crop using Rectangle for region extraction or Crop using Border for margin removal.
- For Rectangle mode: enter Lower Left X, Lower Left Y, Width, and Height in points (1 inch = 72 points).
- For Border mode: enter Left Border, Right Border, Top Border, Bottom Border in points.
- Optionally set File Name by mapping a filename + extension from a prior step.
- Test the step with a sample PDF and verify the cropped output looks correct.
- Turn on the Zap. Every new PDF from your trigger will be cropped automatically and the output is ready for upload, email, or further processing.
Workflow Examples
Workflow ExamplesCommon Zapier workflow patterns using Crop PDF.
- A network scanner saves PDFs to a Dropbox watch folder with uneven margins from scanner bed and skew correction.
- Zapier triggers on each new file. PDF4me Crop PDF runs with Crop Type = Crop using Border, removing 15 points from each edge.
- The cleaned PDF is uploaded to Google Drive in the archive folder, with a filename pattern of {date}_{document_id}.pdf.
- A follow-up Zap (or chained step) runs OCR on the cleaned PDF — OCR accuracy is significantly higher without scanner-edge artifacts.
- An Airtable log captures the document ID, scan date, and OCR status for the records-retention audit trail.
- DocuSign or Adobe Sign delivers a signed contract via webhook to Zapier.
- PDF4me Crop PDF runs with Crop Type = Crop using Rectangle, configured with Lower Left X/Y and Width/Height matching the known signature block location on the page.
- The cropped PDF (signature region only) is saved to a compliance archive in SharePoint with the contract ID as filename.
- An email notification to the compliance officer attaches the cropped signature region with the contract reference.
- Both the cropped signature image and the original full contract are linked in Salesforce for end-to-end audit.
- Reports arrive from various teams with different page sizes and inconsistent margins, complicating print preparation.
- A Google Drive folder trigger fires for each new report PDF. A Google Sheets lookup step retrieves the target crop dimensions for the report category.
- PDF4me Crop PDF runs with dynamically mapped Lower Left X/Y and Width/Height from the Sheets lookup, standardizing every report to the same content area.
- The standardized PDF is sent to the print-on-demand service queue via webhook, ensuring uniform output across all reports.
- A weekly summary email lists every report processed, the category, and the print job ID — for facilities team reporting.