PDF4me icon

PDF4me

PDF4me for n8n automates document workflows: AI-powered parsing, classification, and data extraction, plus PDF conversion, generation, merge/split, editing, forms, stamps, signatures, OCR, barcodes and Swiss QR, invoices, image processing, security, and Word tools.

Actions92

AI → AI Auto Crop Document

AI-generated

Summary

Automatically crops a document using PDF4me AI and returns the cropped file as binary data.

Inputs

  • inputDataType (required) — Choose the document source: binary data from a previous node, a base64-encoded string, or a URL.
  • binaryPropertyName (required) — When using Binary Data, names the incoming binary field; defaults to data.
  • base64Content (required) — When using Base64 String, provide the document content encoded as base64.
  • documentUrl (required) — When using URL, provide the document's URL.
  • docName — Document name used for processing; defaults to document.pdf.
  • binaryDataName — Name of the output binary field; defaults to data.
  • advancedOptions.profiles — Custom profile properties as JSON for the API, such as { "outputDataFormat": "base64" }.

Output shape

A single item containing the cropped document as binary data.

The output binary field uses the configured Output Binary Field Name (default data).

Links

Discussion