Skip to content

Start from an example

Pagr ships a growing library of complete, realistic templates you can use as a starting point. Choosing one gives you a working document on the first click: the full layout and a filled-in data model, ready to render.

It’s the fastest of the four routes into a new template, and unlike generating from a prompt or from a file, it uses no AI tokens — you’re copying a template, not asking the AI to build one.

  1. Go to Workspace → Templates and click + New Template.
  2. Choose the Project the template belongs to.
  3. Enter a Template name.
  4. Optionally pick a Master template to inherit shared layout and branding — leave it on None if you don’t use one. See Master Templates.
  5. Under Starting point, choose From example. A list of the available examples appears.
  6. Click the example you want — the selected row is highlighted with a checkmark.
  7. Click Save.

The New Template panel filled in, with From example active and Welcome letter selected in the list

Save stays greyed out until you’ve filled in a project, a name, and selected an example — so if you can’t click it, one of the three is still missing.

Pick the example whose structure is closest to what you need, not its subject. The names describe what each one happens to be, but what you’re really inheriting is a layout pattern:

  • A contract or agreement is the pattern for any long, clause-numbered document — terms, policies, statements of work.
  • A report is the pattern for anything data-driven, especially if it needs lists, sublists, or charts.
  • A form or questionnaire is the pattern for anything meant to be filled in, on screen or by hand.
  • A letter is the pattern for short, formal one-pagers — confirmations, notices, cover pages.
  • A card or ticket is the pattern for compact, small-format output.

So a rental agreement makes a perfectly good starting point for your terms and conditions, and a sales report is where to start for any document with graphs in it.

If nothing matches, start blank and prompt the assistant instead, or generate from a file you already have.

Click Save and Pagr creates the template and drops you straight into the editor in Studio view, with the new template as v1 · Draft.

Two tabs are already populated:

  • Template — the example’s full definition, ready to read or change. See Template structure.
  • Sample Data — a complete, realistic data model. The Welcome letter, for example, arrives with letterTitle, recipientFirstName, jobTitle, startDate, senderName and the rest already filled in with plausible values.

That second point is what makes examples worth using. A blank template needs you to invent a data model before anything renders; an example hands you one that already works, so you can hit Test immediately and see output.

The new template open in the editor as v1 · Draft, with the example’s definition on the Template tab and the finished letter already rendering in the preview

From here it’s an ordinary template — the example is a copy, so nothing links back to it and you can change anything:

  • Rename the fields to match your own data on the Sample Data tab, then update the placeholders that use them. See Variables & data.
  • Ask the AI Assistant to adapt it: “replace the company details with ours”, “add a second signature block”.
  • Point at elements in the preview to change them one by one — see Edit from the preview.
  • Swap the branding — the examples use placeholder logos and colours. Your organisation’s brand colours and gallery images are what you’ll want instead.