n8n Webhook: Split PDF with PDF4me + Google Drive
n8n Webhook: Split PDF with PDF4me + Google Drive
Regular price
£17.99
Regular price
£17.99
Sale price
Unit price
/
per
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
Couldn't load pickup availability
🔥
128+ Sold
Popular with n8n builders
⚡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
n8n Webhook: Split PDF with PDF4me + Google Drive
Regular price
£17.99
Regular price
£17.99
Sale price
Unit price
/
per
Split PDFs instantly with an n8n Webhook—PDF4me + Google Drive downloads in one step
This n8n workflow gives you a simple web upload form that splits an uploaded PDF into smaller PDF files using PDF4me, stores the results temporarily in Google Drive, and returns an HTML results page with direct download/view links—then automatically cleans up old temporary files.
What this workflow does
- Serves an upload page via GET: When a user opens the /pdf-form endpoint, the workflow returns a styled HTML page to upload a PDF and specify pages per file.
- Deletes old temporary files: Before processing a new job, it searches your configured Google Drive folder for temp files older than one hour and permanently deletes them.
- Accepts the PDF via POST: The uploaded PDF is received on the /pdf-upload webhook endpoint, along with the requested split size from the form data.
- Splits the PDF with PDF4me: The workflow sends the document to PDF4me to create multiple PDF chunks based on the provided page count (or a default).
- Uploads chunks to Google Drive: Each resulting PDF chunk is uploaded into the same temporary Google Drive folder.
- Returns an HTML results page: The workflow generates an HTML page listing each chunk with Google Drive download/view links. If PDF4me fails, it returns an HTML error page.
Use cases
- SaaS operators needing to break large PDFs into smaller documents for easier handling and sharing.
- Automation engineers building a lightweight “upload → split → download” experience without manual file management.
- Teams that want temporary Drive storage with scheduled cleanup to reduce clutter.
Technical details
- Webhook: GET upload form and POST PDF upload endpoints
- PDF4me node: uses n8n-nodes-pdf4mepdf4me to split documents by pages-per-file
- Google Drive: OAuth2 authentication, folder-based temp upload, and file search/deletion
- Core n8n nodes/logic: set, code, webhook, plus a sticky note for workflow guidance
Setup note: Configure PDF4me API credentials and Google Drive OAuth2, set the temp folder ID in the workflow config, activate it, then open the GET webhook URL to use the upload form.
