pictify_render_multi_page_pdf
Generate multi-page PDFs from templates by providing variable sets for each page. Use for bulk invoices, certificates, reports, or ID cards with 1-100 pages per document.
Instructions
Generate a multi-page PDF from a template by providing multiple sets of variables. Each variable set produces one page in the final document. Supports 1-100 pages per PDF. Common use cases: bulk invoice generation, certificate batches for events/courses, multi-page reports, product catalogs, and employee ID cards. WORKFLOW: Call pictify_get_template_variables first to discover available variables, then provide an array of variable sets (one per page). Returns a single combined PDF URL. For generating separate image files per set, use pictify_batch_render instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| templateId | Yes | The template UID to render as a multi-page PDF | |
| variableSets | Yes | Array of variable sets, one per page (1-100 items). Example: [{ name: 'Alice', score: '95' }, { name: 'Bob', score: '87' }] produces a 2-page PDF. | |
| preset | No | PDF page size preset (e.g., 'A4', 'Letter'). Use pictify_list_pdf_presets to see options. | |
| title | No | PDF document title metadata |