Skip to content

Variable Settings

The Variable tab in the Properties panel is where you configure a bound element’s variable. The fields vary slightly by element type.

Select a variable-bound text element and click the Variable tab.

Variable tab for a text element. Shows the Name input (filled with "discount_code", a checkmark validation icon), Default input (filled with "SAVE10"), Required toggle (YES), Label input (filled with "Discount Code"), Description textarea (empty), and an API Preview code block showing the JSON schema fragment.

FieldDescription
NameThe variable identifier — shown on the element’s {{...}} badge and used as the field name in CSV columns and the API (e.g. discount_code). Must be unique within the template. Validated in real time.
DefaultThe value shown in the Designer preview and used when the variable is not provided at render time.
RequiredToggle YES / NO. Required variables must be provided in every render request; optional variables fall back to the default.
LabelA human-readable display name shown in the Generate dialog and API docs (e.g. “Discount Code”).
DescriptionOptional help text for API consumers or teammates.
API PreviewA read-only code block showing how this variable appears in the template’s JSON schema.
FieldDescription
NameVariable identifier (e.g. employee_photo)
Default URLURL of a fallback image used if no image URL is provided
Fit ModeHow the image fills the placeholder: Cover, Contain, Fill, None
RequiredYES / NO
LabelHuman-readable label
API PreviewJSON schema fragment
FieldDescription
NameVariable identifier (e.g. redemption_url)
DefaultDefault QR data/URL used in previews
LabelHuman-readable label (e.g. “Redemption URL”)
API PreviewJSON schema fragment
FieldDescription
NameVariable identifier (e.g. product_sku)
DefaultDefault barcode data
LabelHuman-readable label (e.g. “Product SKU”)
API PreviewJSON schema fragment
  • Use lowercase letters, numbers, and underscores only.
  • Must be unique within a template.
  • Examples: first_name, qr_code_data, promo_image.
  • Avoid spaces or special characters.

All variables in a template are listed in the Variables panel (left sidebar rail, variable icon). Each entry shows the variable name, type icon, and Required/Optional badge. Click a row to select that element on the canvas.