Actions23
- Convert Actions
- Data Actions
- HTML Hosting Actions
- PDF Actions
- Web Actions
PDF → Compress
AI-generatedSummary
Compresses a PDF supplied as binary data or by URL through the CustomJS API, then returns the compressed file as binary data.
Inputs
- Input Type (required) — Choose Binary (default) to read the PDF from the selected input item, or URL to process a PDF from a URL.
- Input Binary Field (required) — When Input Type is Binary, the binary property to read; defaults to
data. - URL (required) — When Input Type is URL, the URL of the PDF to process.
- Output Filename — Filename for the returned PDF binary; defaults to
output.pdf.
Output shape
One output item per input item, with the PDF in binary property data.
The input item's JSON is preserved and the output is paired with that item. If the API returns no data or an empty buffer, the output contains the original JSON without a binary property. Requires CustomJS API credentials.