Forma PDF

Generate internal documents and memos from app data

By WVSTECH · Reviewed November 23, 2026 · Examples target SDK 0.4.0

Internal documents often repeat the same structure: company identity, reference, recipients, date and body. With Forma PDF, an operations team can design that structure once and use application records to populate each new document.

Start from an internal memo

const template = getTemplate('internal')
const contract = describeData(template.layout, template.values)
const result = validateDocumentData(template.layout, template.values)
if (!result.valid) throw new Error(JSON.stringify(result.errors))
const pdf = await generatePDF(template.layout, template.values)

Inspect the contract before replacing sample values with records from your database. Keep document ownership, approval state and revision history in your application rather than embedding operational rules into the PDF layout.

Control who can edit the design

Template authors can use the visual workspace while staff complete a restricted form. This is a product design choice in your app: embedding the SDK does not automatically create roles, sign-in or permissions.

Handle sensitive data deliberately

Normal PDF generation runs in the browser without an AI request. Your app remains responsible for storage, access controls, downloads and retention. Do not send confidential memo contents to optional AI template generation; fictional sample values are enough to design bindings.

Open the sample internal document and review the data and API-key guidance.

Continue building

Try the visual editor View the SDK license