Split and review multi-document PDFs with pdfRest, GPT-4.1-mini, and Google Drive
UnknownWhat this workflow does
This AI workflow has 37 nodes and runs when someone submits an n8n form (“Split a mixed document batch”). Along the way it connects OpenAI Chat Model, Google Drive and Pdfrest (community).
How it runs
Trigger: When someone submits an n8n form (“Split a mixed document batch”).
- Settings (Edit Fields (Set)): sets 5 fields: maxPages, maxTextCharacters, ocrLanguages…
- Validate batch (Code): runs custom JavaScript code
- Inspect batch (Pdf Rest): pdf info
- Check page budget (Code): runs custom JavaScript code
- OCR mixed batch (Pdf Rest): ocr
- Keep searchable master (Code): runs custom JavaScript code
- Split into individual pages (Pdf Rest): split
- Number every source page (Code): runs custom JavaScript code
- Read each page (Pdf Rest): convert markdown
- Build complete page inventory (Code): runs custom JavaScript code
…plus 25 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @pdfrest/n8n-nodes-pdfrest is verified or supports 3.0 (used in Inspect batch, OCR mixed batch, Split into individual pages).
Nodes used (10)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Pdf Rest
@pdfrest/n8n-nodes-pdfrest.pdfRest - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - n8n Form
n8n-nodes-base.form - If
n8n-nodes-base.if - Google Drive
n8n-nodes-base.googleDrive - Compression
n8n-nodes-base.compression
From the author
Quick overview Upload a PDF containing multiple documents, use AI to suggest document groups, and review titles, categories, and page ranges in a guided form. pdfRest creates separate PDFs and a downloadable ZIP with a page manifest, with optional Google…