When to use this
You’ve applied a community template (or built one from a file), the Preview shows the bundled Sample Data records, and you want to swap in your values to produce a one-off filled document — a single invoice for one client, a single contract for one engagement, a single report for one month. No automation, no Google Sheet connector, no pipeline.
If you want each row of a Google Sheet (or any data source) to produce its own filled document on a schedule, you want a pipeline instead — see Connect a connector after cloning a pipeline template.
Prerequisites
- A MakeBox account on the Free tier or above
- A template open in the editor (community-cloned or built from file)
- The values you want to fill — typed in, copied from another document, or in a JSON file you can upload
Step 1: Open the Variables panel
In the editor’s right-hand sidebar, open the Variables panel. It has two sections:
- Schema fields — every variable this template declares, with its type and default value
- Sample Data — the records this template ships with (think one record = one filled document)
Each record in Sample Data is shown as a row, with controls to expand, edit, duplicate, delete, and reorder.
Step 2: Edit an existing record (the fastest path)
The fastest way to use your own values is to edit an existing record in place:
- Click the record you want to edit (or click the
Record N / Mnavigator at the top-right of the preview to load it into the preview) - The Sample Data section expands to show every field declared in the schema with the record’s current value
- Click each value field and replace it with your value
- The Preview re-renders as you type — instant feedback that your values land correctly
This is what you want for a one-off — you don’t need to add a new record, just override the values in an existing one. The Variables panel auto-saves the change.
Step 3: Add a new record (when you want to keep the originals)
If you want to keep the original sample records (useful for testing how the template renders against different shapes) and add your own values as a new record:
- Click + Add record at the bottom of the Sample Data list
- A new empty record appears; the panel auto-fills any variables that have a default value declared in the schema
- Fill in each variable’s value
- Switch to your new record via the
Record N / Mnavigator in the preview’s top-right corner
The records list keeps everything — you can flip between yours and the originals to compare, then come back to yours when you’re ready to ship.
Step 4: Upload a JSON file (when you have structured data)
If your values already live in a JSON file (exported from another system, hand-built for repeated use, generated by a script), upload directly:
- In the Sample Data section header, click the upload icon (cloud or arrow-up icon, depending on the editor version)
- Pick the
.jsonfile - The file’s contents merge into the Sample Data section. The shape MakeBox expects:
{
"presets": [
{
"id": "my-client",
"label": "Acme Q3 invoice",
"nodes": [
{
"node_id": "rendering",
"data": {
"client_name": "Acme Design Studio",
"invoice_number": "INV-2026-0042",
"amount_due": 1250
}
}
]
}
]
}The top-level shape matches the sample_input reference. Each preset becomes a record in the navigator; each preset’s nodes[0].data becomes the fillable fields.
Tip: if you don’t have a JSON file handy, ask the AI to generate one: “Generate a sample data JSON for this template with realistic values for an enterprise client on a $50,000 contract.” The AI emits a valid JSON blob you can save and re-upload, or use directly.
Step 5: Preview and download
Switch to Preview mode to see the rendered output with your values substituted. Use the Record N / M navigator to flip between records and confirm each one renders the way you expect.
When the preview looks right, click Download PDF in the preview toolbar to grab the rendered output. You can keep iterating on the values, re-rendering, and re-downloading without limit — each download is computed from the current record’s current values.
What if the template doesn’t have the variable I need?
Two options:
Add the variable
Open the Schema fields section (also in the Variables panel) and click + Add field to declare a new variable. Pick a name, a type, an optional default. Then reference the variable in your template body wherever you want it to appear: {{your_new_variable}}.
This is a per-template change, not per-record. The new variable shows up in every record’s field list with the default value (or blank).
Ask the AI
The AI is faster:
“Add a variable called
tax_rate(number, default 0.08) and use it in the totals row to compute tax.”
The AI updates the schema, modifies the template body to use the variable, and reports back what changed. You then set per-record values in Sample Data.
When you outgrow this
This how-to is for one-off use — you have a few records and you want each to produce a filled document by hand. When you find yourself producing N filled documents from N rows of data, the answer isn’t more records — it’s a pipeline:
- Apply a community pipeline template → Connect a connector
- Or build your own pipeline that uses this template as its rendering node
The pipeline path automates what one-off data swapping does by hand.
Related
- Apply your first community template — how you got the template; this how-to is the natural follow-on
- Switch between sample records on a template preview — the catalog-side navigator for evaluating a template; this how-to is for editing its records after applying
- Community template
sample_input— reference for the JSON shape expected by the upload feature - Connect a connector after cloning a pipeline template — when you outgrow one-off editing and want automation