Add fields to a template
Fields (also called variables) make every card personal. You place a field such as {{firstName}} in a text, and each item fills in its own value. You manage fields under Data in the editor.
Recipient fields are always there
Under Recipient (required) the Data panel lists the address fields: name, address line 1 and 2, postal code, city and country. Every item has them, so you never add them yourself. You can also place them in a text, for example to greet the recipient by name.
Add a field
- Open Data in the editor rail.
- Choose Add field, type a name and choose Add. Use letters, digits and underscores, and start with a letter.
- Select a text on the card, choose Insert variable in the toolbar and pick your field.
You can also type the field straight into a text, for example Hello {{firstName}}.
Field names are case sensitive, and two names that differ only in case are not allowed. A field that the design uses cannot be removed.
Set the rules of a field
Choose the settings icon next to a field to open its Definition.
| Setting | What it does |
|---|---|
| Type | text, number, date (written as YYYY-MM-DD), date and time (YYYY-MM-DDTHH:mm), boolean (true or false), url or imageUrl (a web address of an image). |
| Format | For a date, a date and time, a number or a yes/no field: how the value is written on the card. See below. |
| Required | An item without a value cannot be printed and gets the status Needs attention. |
| Fallback | The value used when an item leaves the field empty. |
| Max length | For text: longer values make the item need attention. |
| Description | A note for your colleagues or developers. |
Items are checked against these rules when they arrive. A missing required value, a wrong type or a value that is too long shows up as a warning. See Fix items that need attention.
Write dates, amounts and yes/no your way
Items send dates as 2026-10-19 and amounts as 12.5. In the field's Definition you choose how the card writes them:
- Date and Date and time: pick an example from Format, such as 19 oktober 2026 or maandag 19 oktober 2026 14:30, or choose Own pattern and type one. Use d or dd for the day, M or MM for the month, MMM or MMMM for the month name, yy or yyyy for the year, EEE or EEEE for the weekday, H or HH for the hour and mm for the minutes; put other text between 'quotes', for example
d MMMM 'om' HH:mm. - Number: whole numbers, two decimals, thousands separated, or an amount such as € 1.250,50.
- Language: Dutch or English month and day names and separators (19 oktober 2026 and € 1.250,50, or 19 October 2026 and €1,250.50).
- Yes/no: a text for yes and a text for no, for example with discount and without discount.
The format applies to texts on the card. A QR code, a barcode and conditional visibility use the value as it came. A value that does not fit the type is printed as it came, and the item check warns about it. A date and time with a time zone is written in Dutch time.
Images from a field
An image can differ per card: each item sends the web address of its own image.
- Under Data, add a field and set its Type to Image URL.
- Select an image on the card (or a shape with a photo), open Properties and set Source to Image URL from a field. Choose the field.
- Choose a Fallback image, or Upload a fallback image. Without a fallback you cannot publish.
The fallback is printed when an item's image cannot be used: the address does not answer within 10 seconds or is not a public https address, the file is not a JPEG, PNG or WebP image, it is larger than 15 MB or 6000 pixels, or it is too small for its place on the card (below 150 dpi). The item is still printed; it shows a warning with the reason. PostBuddy downloads each address once, when the item arrives, and uses the same image for every card with that address.
Fill in a sample value under Data to see the image on the canvas. Properties says whether the sample image is used, and why not.
Show or hide elements per item
Select an element, open Properties and turn on Conditional visibility. Choose the field from the list. The element then only shows when the field is set, is not set, equals or does not equal a value; for a yes/no field the value is Yes or No, for a date or a number you pick it in a date or number input. Use Show other state to check both versions.
Choose Add condition for more than one. With two or more, Show when decides: All conditions apply shows the element only when every condition holds, Any condition applies when one of them does. Besides your own fields the list holds the fields PostBuddy fills per card: the recipient's address lines, the carrier's codes and, with Contacts or Campaigns, your objection link. An element that is hidden by its conditions needs none of its fields, so a card without that value is not held for it.
Elements of the base design that you cannot hide may carry conditions of PostBuddy, for example a postal code that only prints when the carrier gave it. You see the result, not the condition.
Try it with sample data
Choose Preview to see the card with sample values. Switch between records, choose Random sample, or Use fallbacks to see what an item without values looks like.
Every field you add becomes a column to map when you upload a Postbatch list, and an input for your Salesforce flow or API call.
Open a support ticket in the portal. Tell us what you tried and, if you can, which item or Postbatch it is about.