Skip to main content

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

Two crop modes — match the right method to your task
Use Rectangle when you know the exact region to keep (signature blocks, form fields, specific content areas). Use Border when you know how much margin to remove from each edge (scanner output, page numbers, decorative whitespace).
PDF coordinates — origin at lower-left, values in points
PDF uses (0,0) at the lower-left corner with Y increasing upward. Values are in points — 1 inch = 72 points. US Letter is 612 × 792 points; A4 is roughly 595 × 842 points. Sanity-check your values against the page dimensions.
Map crop dimensions dynamically from prior steps
Every dimension field supports Zapier's + button for dynamic mapping. Pull crop values from form inputs, Google Sheets lookups (per document type), or Zapier Formatter outputs — one Zap handles many document layouts without forking.
Zapier PDF4me Crop PDF action using Rectangle method showing File field, Crop Type set to Crop using Rectangle, Lower Left X, Lower Left Y, Width, and Height inputs configured

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).

ParameterRequiredWhat it doesExample
FileYesInput 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 NameNoOutput file name (filename + extension). Map from prior step or hardcode. PDF4me derives a sensible default if omitted.1. File Name + 1. File Ext
Crop TypeYesSelect "Crop using Rectangle" from the dropdown to enable Rectangle-mode fields below.Crop using Rectangle
Lower Left XYesX-coordinate of the lower-left corner of the crop rectangle (in points). 0 starts at the left edge.50
Lower Left YYesY-coordinate of the lower-left corner of the crop rectangle (in points). 0 starts at the bottom edge.100
WidthYesWidth of the crop rectangle in points, extending right from Lower Left X.500
HeightYesHeight of the crop rectangle in points, extending up from Lower Left Y.600
Zapier PDF4me Crop PDF action using Border method showing File field, Crop Type set to Crop using Border, and Left Border, Right Border, Top Border, Bottom Border inputs configured

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.

ParameterRequiredWhat it doesExample
FileYesInput PDF from a previous Zap step.1. File: (Exists but not shown)
File NameNoOutput file name. PDF4me derives a default if omitted.1. File Name + 1. File Ext
Crop TypeYesSelect "Crop using Border" from the dropdown.Crop using Border
Left BorderYesAmount to trim from the left edge in points.10
Right BorderYesAmount to trim from the right edge in points.10
Top BorderYesAmount to trim from the top edge in points.15
Bottom BorderYesAmount to trim from the bottom edge in points.15

Crop Mode Comparison

Crop using RectangleExtract a specific region
Best for isolating signature blocks, form fields, content rectangles, or any pre-known region. Provide the lower-left coordinates plus width and height. The output PDF contains only this rectangle from each page.
Crop using BorderTrim margins from each edge
Best for removing scanner output edges, page numbers, headers/footers, or excess decorative whitespace. Provide how much to trim from each of the four edges. The output PDF preserves the central content area.

Output Fields

FieldTypeWhat it contains
File ContentBinaryCropped PDF ready for download, email, or further processing in the next Zap step.
File UrlStringDirect URL to access the cropped PDF — useful for sharing or downstream HTTP processing.
File NameStringOutput filename without extension.
Full File NameStringComplete output filename with .pdf extension.

Quick Setup

  1. In Zapier, click + to add a new action and select PDF4me.
  2. Choose Crop PDF as the action event.
  3. Connect your PDF4me account or paste your API key when prompted.
  4. Map File to the binary output of a previous step — Dropbox New File, Google Drive New File, Gmail attachment, or form trigger.
  5. Select Crop Type from the dropdown — Crop using Rectangle for region extraction or Crop using Border for margin removal.
  6. For Rectangle mode: enter Lower Left X, Lower Left Y, Width, and Height in points (1 inch = 72 points).
  7. For Border mode: enter Left Border, Right Border, Top Border, Bottom Border in points.
  8. Optionally set File Name by mapping a filename + extension from a prior step.
  9. Test the step with a sample PDF and verify the cropped output looks correct.
  10. 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.
Scanner output → trim margins → OCR-ready archive
  1. A network scanner saves PDFs to a Dropbox watch folder with uneven margins from scanner bed and skew correction.
  2. Zapier triggers on each new file. PDF4me Crop PDF runs with Crop Type = Crop using Border, removing 15 points from each edge.
  3. The cleaned PDF is uploaded to Google Drive in the archive folder, with a filename pattern of {date}_{document_id}.pdf.
  4. A follow-up Zap (or chained step) runs OCR on the cleaned PDF — OCR accuracy is significantly higher without scanner-edge artifacts.
  5. An Airtable log captures the document ID, scan date, and OCR status for the records-retention audit trail.
Signed contract → extract signature region → compliance archive
  1. DocuSign or Adobe Sign delivers a signed contract via webhook to Zapier.
  2. 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.
  3. The cropped PDF (signature region only) is saved to a compliance archive in SharePoint with the contract ID as filename.
  4. An email notification to the compliance officer attaches the cropped signature region with the contract reference.
  5. Both the cropped signature image and the original full contract are linked in Salesforce for end-to-end audit.
Mixed-format reports → standardize page size → print queue
  1. Reports arrive from various teams with different page sizes and inconsistent margins, complicating print preparation.
  2. 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.
  3. 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.
  4. The standardized PDF is sent to the print-on-demand service queue via webhook, ensuring uniform output across all reports.
  5. A weekly summary email lists every report processed, the category, and the print job ID — for facilities team reporting.

Frequently Asked Questions

What is the difference between Crop using Rectangle and Crop using Border?+
Crop using Rectangle defines an exact crop region: provide Lower Left X, Lower Left Y, Width, and Height to extract a specific area of the page (ideal for isolating signature blocks, form fields, or specific known regions). Crop using Border removes margins from each edge: provide Left Border, Right Border, Top Border, and Bottom Border values to trim away scanner edges, page numbers, or excess whitespace uniformly from every page. Use Rectangle when you know the exact region you want to keep; use Border when you know how much margin to trim off each side.
What coordinate system and units does Crop PDF use?+
PDF coordinates use the lower-left corner as the origin (0,0), with X increasing to the right and Y increasing upward. Values are in points where 1 inch = 72 points (so a US Letter page is 612 × 792 points and an A4 page is roughly 595 × 842 points). When using Rectangle: Lower Left X and Y locate the bottom-left corner of your crop area, and Width and Height define how far right and up from that point. When using Border: each value specifies how many points to remove from that edge. Always sanity-check your values against page dimensions before turning the Zap on.
Can I crop multiple pages with different dimensions in one Zap?+
The Crop PDF action applies the same crop values to every page in the PDF — useful when you want uniform trimming across an entire document like a multi-page scanner output or a multi-page contract. For per-page variable cropping, use Zapier's Paths or Filter steps with multiple Crop PDF actions, each branching on page number or document type. For batch processing of files with different crop requirements per document, store the crop values in a Google Sheet or Airtable lookup keyed by document category and map them dynamically into each Zap run.
Can I use dynamic values for crop dimensions from forms or spreadsheets?+
Yes. Every crop dimension field (Lower Left X, Y, Width, Height, or the four Border fields) supports Zapier's dynamic value mapping — use the + button to map values from any prior step. Common patterns: pull crop dimensions from a Google Sheet row matching the document type, calculate values from form input fields using Zapier Formatter, or use computed steps to derive borders from PDF metadata. This makes one Zap flexible across many document types without forking into separate Zaps for each layout.
How does this compare to manually cropping PDFs in SmallPDF, iLovePDF, or Adobe Acrobat?+
Online cropping tools (SmallPDF, iLovePDF, Sejda, PDF24, Adobe Acrobat online) require manual file upload one PDF at a time with daily free-tier limits or paid subscriptions (typically $9–15/month) for bulk processing. The PDF4me Zapier action automates the same cropping operation triggered by uploads, emails, form submissions, schedules, or any other Zap trigger — without manual intervention. Use this when you need to process scanner output continuously, prepare uploaded forms for OCR, isolate signature blocks from incoming contracts, or any recurring PDF intake where consistent cropping must be applied to every document automatically. The Zap runs 24/7 in the background — no manual file uploads required.

Get Help