Extract PDF Pages


Extract selected pages from a generated PDF and automate this process within your n8n workflows.

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