StencilPDF icon

StencilPDF

Generate PDF Reports from templates using stencil

Actions2

Report → Render PDF

AI-generated

Summary

Render PDF from a report template using stencilpdf.

Inputs

  • reportID (required) — The report to render. Choose from the list, or specify an ID using an expression.
  • variablesInput — How to provide the template variables
  • variablesJson — Variables as JSON object
  • variables — Template variables mapped from report definition

Output shape

binary PDF data paired with empty JSON metadata

HTTP POST to /api/reports/{reportId}/generate-pdf; returns PDF buffer.

Examples

Example 1: Render a report with JSON variables

Set reportID to a known report ID, variablesInput to 'json', and variablesJson to a valid JSON object.

Links

Discussion