Generate PDF
Render HTML or a public URL to a PDF stored as a temporary workspace file.
Type
puppeteer.generate-pdfFolder
puppeteerChannels
Any
Pipe
Value
Scope
Any
Generate PDF renders HTML or a public page to a PDF and stores it in workspace Files. The file expires after 3 hours unless you Persist File.
Choose HTML or URL. A URL must be a public http or https address. Private and loopback addresses are rejected. Render time is billed separately from the rest of the workflow run.
Configure
| Field | What it does |
|---|---|
| Source | HTML or URL |
| HTML | Shown for HTML — the document, or a text variable |
| URL | Shown for URL — the page to open |
| File name | Optional display name. Defaults to document.pdf |
Output
The next block reads the file on the data pipe (pipe.value): id, name, originalName, extension, type, mime, size, url, storage, expiresAt, createdAt. expiresAt is about 3 hours after the render.
When to use it
- Turn a confirmation or invoice template into a PDF the next step can send.
- Snapshot a public page, then Persist File if you need to keep it.