Plug Database Advanced icon

Plug Database Advanced

Run Plug Database commands over REST or Socket.

Tools → Text to PDF

AI-generated

Summary

Convert a block of text into a PDF file with customizable output options and store the resulting PDF as binary data in the workflow.

Inputs

  • Tool Category — Select the category group of tools to use; defaults to 'Documents'.
  • Text (required) — The text content to convert into a PDF document.
  • File Name — Set the name of the generated PDF file; defaults to 'document.pdf'.
  • Output Binary Property — Specify the binary property key where the generated PDF file is stored; defaults to 'data'.
  • Browser Options — Configure browser execution settings such as executable path, browser channel, timeout, and JavaScript enabling for rendering.
  • PDF Options — Set PDF rendering options including page format, orientation, background printing, margins, header/footer templates, rendering scale, wait conditions, media type, delays, and size limits.
  • Include Plug Tools Metadata — Optionally include metadata related to Plug Tools in the output item; enabled by default.
  • Metadata Property — Name of the property for placing Plug Tools metadata if enabled; default is '__plugTools'.

Output shape

a single workflow item containing the generated PDF file as binary data under the specified binary property key

The output PDF respects the specified rendering and PDF options. The operation throws errors if input text exceeds the configured HTML size limits or if the generated output exceeds the maximum PDF size limits.

Links

Discussion