Actions92
- AI Actions
- AI - Universal Document Data Extraction
- AI Auto Crop Document
- AI-Invoice Parser
- AI-Process Bank Cheque
- AI-Process Bank Statement
- AI-Process Contract
- AI-Process HealthCard
- AI-Process Marriage Certificate
- AI-Process Mortgage Document
- AI-Process Order
- AI-Process Pay Stub
- AI-Process Receipt
- AI-Process Shipping Label
- AI-Process Tax Document
- Barcode Actions
- Convert Actions
- Edit Actions
- Extract Actions
- Find Search Actions
- Form Actions
- Generate Actions
- Image Actions
- Invoice Actions
- Merge & Split Actions
- Optimize Compress Actions
- Organize Actions
- PDF Actions
- PDF4me Actions
- Security Actions
- Word Actions
Optimize Compress → Compress PDF
AI-generatedSummary
Compresses a PDF with pdf4me using the selected optimization profile and returns the compressed file as binary data.
Inputs
- Input Data Type (required) — Choose Binary Data, Base64 String, or URL as the PDF source.
- Input Binary Field (required) — For Binary Data input, name the incoming binary property containing the PDF. Defaults to
data. - Base64 PDF Content (required) — For Base64 String input, provide the PDF content encoded as base64.
- PDF URL (required) — For URL input, provide the URL of the PDF to compress.
- Output File Name — Name for the compressed PDF file; defaults to
compress_PDF_output.pdf. - Optimize Profile — Choose the compression profile: Compress, CompressMax, Default, Max, Print, PrintGray, PrintMax, Web, or WebMax. Defaults to
Web. - Binary Data Output Name — Name of the binary property in the n8n output; defaults to
data.
Output shape
A single item containing the compressed PDF as binary data.
The input fields for binary, base64, and URL sources are shown conditionally based on Input Data Type.