Create PDF Block
Create PDF renders the current browser page into a PDF file variable or artifact.
At a glance
What it does
Create PDF captures the current page in document form. It is useful when a visual page archive matters more than structured data.
The result is a file reference that can be saved, uploaded, or attached later.
Use it when
- Archive a confirmation page.
- Create a report from a rendered web page.
- Generate a PDF for download, upload, or email attachment.
Do not use it when
- You need an image; use Screenshot.
- You need rows or fields; use Extract Data.
- No browser page is open.
Settings
Create PDF settings control filename, page format, orientation, scale, background printing, destination, overwrite behavior, and output variable.
Filename
Required: No- Variables
- Yes
- Description
- PDF file name.
Format and orientation
Required: No- Variables
- No
- Description
- Page size and landscape/portrait behavior.
Print background
Required: No- Variables
- No
- Description
- Includes page backgrounds in the PDF.
Destination
Required: No- Variables
- No
- Description
- Local or cloud destination depending on runtime.
Output variable
Required: Recommended- Variables
- Variable name
- Description
- Stores the PDF file reference.
Outputs
Create PDF outputs a file reference.
{{outputVariableName}}filePDF file or cloud artifact reference.
Example Flow
Create PDF should run after the page has reached the final state to archive.
- Open and prepare the page.
- Wait for final content.
- Create the PDF and save or send it.
Errors and fixes
Start with symptoms visible in the editor or Inspector, then check the earliest Block that produced the wrong page state, variable, or output.
The PDF is missing styling or background.
- Check
- Check Print background and page readiness.
- Fix
- Enable background printing and wait for the final page state.
Cloud Run rejects a local destination.
- Check
- Check destination setting.
- Fix
- Use a cloud destination in Cloud Run.
Local and cloud runs
Local runs can hand off local file saving. Cloud runs require cloud-compatible artifact destinations.