{"product_id":"compress-pdfs-via-n8n-form-with-pdfrest-api-toolkit","title":"Compress PDFs via n8n Form with pdfRest API Toolkit","description":"\u003ch3\u003eCompress PDFs instantly from an n8n Form using the pdfRest API Toolkit\u003c\/h3\u003e\n\u003cp\u003eThis workflow gives your users a simple upload form: select a compression level, submit a PDF, and receive a smaller, compressed PDF back in the same browser response—powered by the \u003cstrong\u003epdfRest API Toolkit\u003c\/strong\u003e inside a self-hosted \u003cstrong\u003en8n\u003c\/strong\u003e workflow.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCollects input\u003c\/strong\u003e: Receives a PDF file upload and a chosen compression level (\u003cstrong\u003elow\u003c\/strong\u003e, \u003cstrong\u003emedium\u003c\/strong\u003e, or \u003cstrong\u003ehigh\u003c\/strong\u003e) via an \u003cstrong\u003en8n Form Trigger\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eMaps fields correctly\u003c\/strong\u003e: Aligns the form’s uploaded file field name with the configured \u003cstrong\u003ebinary input\u003c\/strong\u003e field name (default is \u003cstrong\u003e\"PDF\"\u003c\/strong\u003e) and passes the selected compression level into the pdfRest processing fields.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOptimizes via pdfRest\u003c\/strong\u003e: Sends the uploaded PDF to the \u003cstrong\u003epdfRest API Toolkit\u003c\/strong\u003e using the selected compression level (Optimize\/Compress PDF), then downloads the optimized result.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReturns binary response\u003c\/strong\u003e: Responds to the browser with the compressed PDF as a \u003cstrong\u003ebinary file response\u003c\/strong\u003e through a \u003cstrong\u003eRespond to Webhook\u003c\/strong\u003e-style response.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eBuild a lightweight internal tool for SaaS ops to reduce PDF size before sharing with customers or partners.\u003c\/li\u003e\n  \u003cli\u003eEnable support teams to compress attachments on demand (e.g., for email or portal upload limits).\u003c\/li\u003e\n  \u003cli\u003eProvide an n8n-powered “compress and download” experience for end users without additional client-side libraries.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRequired\u003c\/strong\u003e: Self-hosted n8n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNode \/ integration\u003c\/strong\u003e: \u003cstrong\u003e@pdfrest\/n8n-nodes-pdfrest\u003c\/strong\u003e community node (pdfRest API)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCredential\u003c\/strong\u003e: pdfRest API key plus the correct endpoint\/region from \u003cstrong\u003epdfrest.com\u003c\/strong\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWorkflow components\u003c\/strong\u003e: Form Trigger, Set (field mapping), optional notes (e.g., set\/sticky note), and a binary file response via Respond-to-Webhooks\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003e\u003cstrong\u003eCustomization\u003c\/strong\u003e is possible: replace the Form Trigger with a \u003cstrong\u003eWebhook\u003c\/strong\u003e to compress files sent by another system, or swap the return step for \u003cstrong\u003eGoogle Drive upload\u003c\/strong\u003e instead of responding with the file.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46029522469043,"sku":"N8N-19582","price":75.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/8BkbaQlmlItRaRE9D-Jn8_q8vg0NWq.png?v=1789463889","url":"https:\/\/buyflowscripts.com\/products\/compress-pdfs-via-n8n-form-with-pdfrest-api-toolkit","provider":"N8N Commerce","version":"1.0","type":"link"}