Extract Pages From PDF is a PDF4me action for Zapier that copies a page range out of a PDF into a new file. A five step Zap watches a Dropbox folder, filters for PDFs, extracts the pages you name, saves the result under a traceable filename, and appends a line to a log file.
Pulling three pages out of a sixty page report is a ten second job. Doing it for every report that arrives, forever, is not. The online extractors that rank for this search all assume a human is sitting there picking page numbers. This walkthrough shows the version that runs by itself, with the screenshots and exact field values from a Zap that ran on 02 November 2026.
Drop a PDF into a watched Dropbox folder. A filter throws out anything that is not a PDF, PDF4me extracts pages 1 to 2 into a fresh document, Dropbox saves it as Extracted-Quarterly-Report-Q3.pdf, and a log file gains one line recording the source, the range, and a share link. Five steps, no manual page picking.
Why-Based Q&A
Why add a filter when the folder only gets PDFs? Folders rarely stay that tidy. A stray .docx, a .DS_Store, or a half uploaded file would otherwise reach PDF4me and fail the run. The filter costs nothing and turns a red error into a clean, deliberate stop.
Why does the output folder differ from the input folder? The trigger watches /ExtractPages/Input/. If the extracted PDF were written back into that same folder, Dropbox would report a new file and the Zap would trigger on its own output, then again, and again.
Why log to a text file? The Zap run history in Zapier expires. A line appended to extract-pages-log.txt is permanent, lives next to the documents, and is readable by anyone with Dropbox access rather than only by the Zap owner.
Why name the output from the source file? Extracted-Quarterly-Report-Q3.pdf tells you what it came from. A generic name does not, and once a few hundred of them sit in a folder the difference between a traceable name and an opaque one is hours.
What You'll Get
Input: any PDF dropped into /ExtractPages/Input/. Output: a new PDF in /ExtractPages/Output containing only the pages you named, plus one audit line in /ExtractPages/Log/extract-pages-log.txt.
What You Need
- Zapier. Open the PDF4me Zapier app. This is a five step Zap, so it needs a paid Zapier plan.
- PDF4me API key. Get your API key. Connect it the first time you add a PDF4me action.
- Dropbox with three folders: /ExtractPages/Input/, /ExtractPages/Output and /ExtractPages/Log.
- A multi page PDF to test with. The sample below is the one used in these screenshots.
Grab the samples first. Drop the bundle into /ExtractPages/Input/ once the Zap is published, and compare what lands in /ExtractPages/Output against the expected output.
The Flow at a Glance
- New File in Folder (Dropbox trigger, polls every 2 minutes).
- Filter conditions (Filter by Zapier) continues only for PDFs.
- Extract Pages From PDF (PDF4me) with the page range.
- Upload File (Dropbox) saves the extract.
- Create or Append to Text File (Dropbox) writes the audit line.
Complete flow overview

A successful run on 02 November 2026. The filter sits second so nothing reaches PDF4me unless it is a PDF.
Step 1: How do you watch a Dropbox folder for new PDFs?
Flow so far: nothing yet, this is the trigger.
- Add Dropbox as the trigger app and pick the New File in Folder event.
- Configure:
- Space:
Default - Folder:
/ExtractPages/Input/ - Include files in subfolders?:
False - Include file contents?:
Yes - Include sharing link?:
No
- Space:
New File in Folder configuration

Include file contents must be Yes. Without it, step 3 gets a reference with no bytes behind it.
Step 2: Why filter before calling PDF4me?
Flow so far: New File in Folder.
A filter is not an action, it is a gate. If the condition fails the run stops quietly and nothing downstream is charged or errored.
- Add Filter by Zapier and open Filter conditions.
- Set Only continue if:
- Field: 1. File Ext from the trigger
- Condition:
(Text) Contains - Value:
pdf
Filter conditions configuration

The green panel confirms the test record would have continued, matching on File ext .pdf. Always retest the filter after editing it.
Tip. Contains is deliberately loose, so it matches .pdf and .PDF alike. Use Zapier's filter documentation if you need stricter rules, for example a size floor to skip zero byte uploads.
Step 3: How do you extract pages from a PDF by page number?
Flow so far: New File in Folder plus Filter conditions.
This is the step that does the work, and it has only one field that really matters.
- Add PDF4me and pick the Extract Pages From PDF action.
- Configure:
- File: the File output of step 1
- File URL: leave empty, you supply either File or File URL, never both
- File Name:
Quarterly-Report-Q3.pdf - Page Numbers:
1-2
Extract Pages From PDF parameters
| Field | Value used | Notes |
|---|---|---|
| File | File from step 1 | The source PDF. Supply either File or File URL. |
| File URL | empty | Alternative to File when the PDF already has a public link. |
| File Name | Quarterly-Report-Q3.pdf | Names the input for the action. |
| Page Numbers | 1-2 | Required. The pages to keep. |
Page Numbers syntax
| You want | You type |
|---|---|
| A single page | 3 |
| Several separate pages | 2,5,6 |
| A continuous range | 4-7 |
| A mix of both | 1,3,5-10 |

Page Numbers is the only required field beyond the file itself. Map it from an earlier step to make the range dynamic per document.
Tip. Page numbers are one based, so the first page is 1, not 0. Asking for a page beyond the end of the document fails the step rather than returning a shorter PDF.
Step 4: Where does the extracted PDF go?
Flow so far: New File in Folder plus Filter conditions plus Extract Pages From PDF.
- Add Dropbox and pick the Upload File action.
- Configure:
- Space:
Default - Folder:
/ExtractPages/Output - File: the File Url output of step 3
- Overwrite:
True - Specify File Name: the literal text
Extracted-followed by the File Name from step 1 - Specify File Extension:
pdf - Include sharing link?:
Yes
- Space:
Upload File configuration

Include sharing link is set to Yes here because step 5 puts that link into the log line.
Step 5: How do you keep an audit trail of what was extracted?
Flow so far: New File in Folder plus Filter conditions plus Extract Pages From PDF plus Upload File.
- Add Dropbox and pick the Create or Append to Text File action.
- Configure:
- Space:
Default - Folder:
/ExtractPages/Log - File Name:
extract-pages-log.txt - File Content: the literal text
Processed | source:then the File Name from step 1, then| extracted pages 1-2 saved as:then the Share Link from step 4 - Include sharing link?:
Yes
- Space:
Create or Append to Text File configuration

Create or Append means the first run makes the file and every run after adds a line, so the log grows instead of being overwritten.
Run the Flow and Verify
- Publish the Zap.
- Drop a multi page PDF into /ExtractPages/Input/ and wait for the next poll, up to two minutes.
- Open Zap runs and confirm all five steps show a green tick, with the filter reporting that it continued.
- Open /ExtractPages/Output and check the new PDF has only the pages you asked for, then open extract-pages-log.txt and confirm the new line.
What did you actually build? A gated, logged document pipeline. The gate keeps bad input out, the action does one job, and the log makes the whole thing auditable after the fact. Swap the middle action and the same five step shape handles compress, convert, watermark or OCR.
Common Variations You Can Add Without Rebuilding
Automation vs a manual extractor
| Zap vs manual | This Zap | An online extractor |
|---|---|---|
| Trigger | A file landing in a folder | A person opening a site |
| Page range | Typed once, or mapped per document | Re-picked every single time |
| File naming | The Extracted- prefix plus the source name | Whatever the browser downloads |
| Audit trail | A permanent log line with a share link | None |
| Bad input | Stopped by the filter | Discovered after the upload |
Common questions
How do I extract pages from a PDF?
You name the pages you want and the tool copies them into a new document, leaving the original untouched. In this Zap, PDF4me's Extract Pages From PDF action takes the source file from Dropbox and a Page Numbers value of 1-2, and returns a new PDF containing only those two pages.
How do I extract pages from a PDF for free?
For one document, free options are everywhere, including most browsers' own print dialog if you print to PDF and set a page range. The automated version is not free: it needs a paid Zapier plan, since this is a five step Zap, plus PDF4me API calls. The honest dividing line is volume. Below a few documents a month, do it by hand.
How do I extract pages from a PDF and create a new PDF?
That is exactly what this action does. Extract Pages From PDF never modifies the source. It returns a brand new PDF, which step 4 then writes to a different folder under a new name, so you finish with both the original and the extract.
How do I extract pages from a PDF without Adobe?
Nothing in this workflow touches Adobe software. PDF4me processes the file through its API, Zapier orchestrates, and Dropbox stores. The only desktop software involved is whatever you use to open the finished PDF.
Can I extract pages from a PDF by page number?
Yes, and page numbers are the only way this action selects pages. Enter a single page as 3, separate pages as 2,5,6, a continuous range as 4-7, or a mix as 1,3,5-10. Numbering starts at 1.
Troubleshooting
You asked for a page the document does not have. A ten page PDF cannot return 1-12. If the range varies per file, map it from data rather than hard coding it, and keep the upper bound within the shortest document you expect.
Check the filter first. If File Ext did not contain pdf, the run stopped at step 2 on purpose and will show as "did not continue" rather than as an error.
You are using Upload File rather than Create or Append to Text File. Only the append action adds to an existing file, and the file name must match exactly on every run.
The output or log folder is inside the watched folder. Keep /ExtractPages/Output and /ExtractPages/Log outside /ExtractPages/Input/, as in this build.
Next Steps
The same five step pattern (watch, gate, act, save, log) handles any "a document arrived, do one thing to it" automation.
