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

Image → Replace Text with Image

AI-generated

Summary

Replace matching text in a PDF with a supplied image, optionally limiting the pages and setting the image dimensions. Choose how to provide both files, then name the generated PDF and its output binary field.

Inputs

  • PDF input (required) — Provide the PDF from an incoming binary field (default data), as base64 content, or by URL.
  • Image input (required) — Provide the replacement image from an incoming binary field (default data), as base64 content, or by URL.
  • Text to Replace (required) — The text in the PDF to replace with the image.
  • Page Sequence — Pages to apply the replacement to; defaults to all. The field documents values such as 1, 1,3,5, and 2-5.
  • Image Height — Replacement image height; defaults to 50.
  • Image Width — Replacement image width; defaults to 100.
  • Output File Name — Name for the output PDF; defaults to replace_text_with_image.pdf.
  • Async — Whether to enable asynchronous processing; defaults to true.
  • Binary Data Output Name — Name of the binary field in the n8n output; defaults to data.

Output shape

A PDF document as binary data in an n8n output item.

The provided properties declare a configurable output binary field name. The supplied source pack shows the operation entry point but omits its implementation body, so further response details cannot be confirmed.

Links

Discussion