Extract Specific Pages from PDFs with CustomJS API
Go to WorkflowDescription
This n8n template shows how to extract selected pages from a generated PDF with the PDF Toolkit by www.customjs.space.
@custom-js/n8n-nodes-pdf-toolkit
Notice
Community nodes can only be installed on self-hosted instances of n8n.
What this workflow does
Downloads** each PDF using an HTTP Request.
Extract** pages from the PDF file as needed.
Requirements
Self-hosted** n8n instance
CustomJS API key** for extracting PDF files.
PDF files to be merged** to be converted into a PDF
Workflow Steps:
Manual Trigger:
Runs with user interaction.
Download PDF File:
Pass urls for PDF files to merge.
Extract Pages from PDF:
Extract selected pages from a generated PDF
Usage
Get API key from customJS
Sign up to customJS platform.
Navigate to your profile page
Press "Show" button to get API key
Set Credentials for CustomJS API on n8n
Copy and paste your API key generated from CustomJS here.
Design workflow
A Manual Trigger for starting workflow.
HTTP Request Nodes for downloading PDF files.
Extract Pages from PDF.
You can replace logic for triggering and returning results.
For example, you can trigger this workflow by calling a webhook and get a result as a response from webhook. Simply replace Manual Trigger and Write to Disk nodes.
Perfect for
Taking a note of specific pages from PDF files.
Splitting PDF file into multiple parts.