๐Ÿ”ฌ Extract specific pages from PDFs with CustomJS API

โšก 671 views ยท ๐Ÿ”ฌ Document Extraction & Analysis

Description

workflow.png 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

Requirements

Workflow Steps:

  1. Manual Trigger:

    • Runs with user interaction.
  2. Download PDF File:

    • Pass urls for PDF files to merge.
  3. Extract Pages from PDF:

    • Extract selected pages from a generated PDF

Usage

Get API key from customJS

Set Credentials for CustomJS API on n8n

Copy and paste your API key generated from CustomJS here. 2.png

Design workflow

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

๐Ÿ”— Nodes Used

HTTP Request

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup