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

Edit → Add Attachment To PDF

AI-generated

Summary

Adds one or more named files as attachments embedded in a PDF, using Pdf4me. Supply the PDF and each attachment as binary data, base64 content, or a URL, then receive the processed PDF as binary output.

Inputs

  • Input Data Type (required) — Choose Binary Data, Base64 String, or URL as the source of the PDF.
  • Input Binary Field (required) — When the PDF source is Binary Data, name the incoming binary property; defaults to data.
  • Base64 PDF Content (required) — When the PDF source is Base64 String, provide its base64-encoded content.
  • PDF URL (required) — When the PDF source is URL, provide the PDF URL.
  • Output File Name — Name for the resulting PDF; defaults to document_with_attachments.pdf.
  • Document Name — Source PDF name for reference; defaults to document.pdf.
  • Attachments — Add attachment entries. Each requires an attachment name including its extension and can source content from Binary Data, Base64 String, or URL. The corresponding fields are Binary Field Name (defaults to data), Base64 Content, and File URL.
  • Advanced Options — Custom Profiles accepts JSON to set additional Pdf4me API properties.
  • Binary Data Output Name — Name of the output binary property; defaults to data.

Output shape

A single n8n item containing the processed PDF as binary data.

The output binary property uses Binary Data Output Name. The source view exposes the operation and helper names but not their function bodies, so further response fields or validation behavior are not specified.

Links

Discussion