// n8n integration

Extract PDF Pages

All nodes are available on both n8n Cloud and self-hosted n8n and require you to install the CustomJS community package. See Installation.

The Extract Pages from PDF node allows you to extract selected pages from a generated PDF and automate this process within your n8n workflows.
Extract PDFs with n8n
Extract PDFs with n8n

Extract Pages from PDF

  1. Open a new n8n workflow and add a Webhook node (or use Request HTML or Code if you want to fetch stored PDFs).
  2. Add the Extract Pages from PDF (customJS) node from the PDF Toolkit.
  3. Connect the incoming PDF file to this node.
  4. In the node settings, select the pages to extract from the PDF.
  5. Configure the output to generate a new PDF containing only the extracted pages.
  6. (Optional) Add a Respond to Webhook node to return the extracted PDF directly to the requester.

n8n workflow template: Extract specific pages from PDFs

This workflow template:

  1. Downloads each PDF using an HTTP Request.
  2. Extracts pages from the PDF file as needed.
Use this template

Related Articles

Continue reading on similar topics

Make.com PDF Generation: Complete Guide 2025
·Guide

Make.com PDF Generation: Complete Guide 2025

Learn how to automate PDF generation in Make.com with CustomJS. Step-by-step guide with templates for invoices, HTML to PDF, and page extraction. 600 free PDFs/month.

makepdfautomation
PDF Generation in Power Automate: Complete Guide 2025
·Guide

PDF Generation in Power Automate: Complete Guide 2025

Generate professional PDFs in Power Automate with CustomJS. Create invoices, receipts, reports, and certificates with custom HTML templates, QR codes, and advanced formatting. No Azure Functions required.

power-automatepdfhtml-to-pdf