Forma PDF
Create editable PDF templates in Bubble workflows
By WVSTECH · Reviewed November 23, 2026 · Examples target SDK 0.4.0
A Bubble app can use a visual template editor for administrators and a separate, simpler screen for customers. The administrator saves the template structure; a workflow supplies values and triggers PDF generation.
Template designer workflow
- Add the Forma PDF element and give it sufficient width and height.
- Load layout JSON and sample values into the element.
- Let the template owner customize fields and bindings.
- Save the returned structure JSON in a text field in your own Bubble database.
Customer document workflow
Retrieve the authorized saved template, build values JSON from the current record, and run the PDF action. Keep nested bindings such as client.name consistent. A repeating group of line items should become an array of objects, not one long text string.
{
"client": { "name": "Northstar Co." },
"items": [{ "description": "Design services", "price": "$800.00" }],
"total": "$800.00"
}
What needs testing in Bubble?
Check empty values, long tables, privacy rules, responsive container height and downloads on mobile. Marketplace installation and a direct SDK integration are separate purchase paths; use the guide matching your installation. Exact action names and fields are documented in the illustrated Bubble implementation tutorial.
Try the customer-facing examples to see a simple form instead of the entire editor.
Continue building
- Add PDF templates to a Bolt or Lovable project
- Generate a PDF from JSON in the browser
- Embed a visual PDF template editor in JavaScript
- Integrate a PDF editor with React and Next.js
- Save PDF templates as JSON in your database
- Automatic PDF page breaks for text and tables
- Build a quotation PDF generator for your application
- Create a restaurant menu PDF from structured data
- Generate internal documents and memos from app data
- Generate PDF templates with OpenAI or Claude
- PDF generation, document data and API-key security
- PDF template editor or a simple Generate PDF button?