CustomJS (PDF & File Toolkit) icon

CustomJS (PDF & File Toolkit)

All-in-one toolkit for PDF, HTML, JSON and file conversions

PDF → Fill Form

AI-generated

Summary

Fill a PDF form by applying the supplied field names and values to a PDF from an incoming binary property. Return the filled PDF as binary data, using the configured output filename.

Inputs

  • Input Type — The UI offers Binary or URL, but this operation always reads a binary input; URL input is not consumed.
  • Input Binary Field (required) — Name of the incoming binary property containing the PDF; defaults to data.
  • Form Fields — Add field name and value pairs to fill. The operation maps these pairs by name; defaults to no fields.
  • Output Filename — Filename for the output PDF; defaults to output.pdf.

Output shape

A single item with the filled PDF in binary property data.

The input item's JSON is preserved and the output is paired with that input. If the service returns no data or an empty buffer, the operation returns the original JSON without binary data.

Links

Discussion