Skip to main content

New Introducing the Holiday Hub — seasonal templates and ideas to plan your holiday campaigns in one place.Introducing the Holiday Hub.Explore the Holiday Hub

Using merge fields in emails

All plans Last reviewed

A merge field is a placeholder that's replaced with each recipient's own details when the email sends, such as their first name. First name, last name, email address and the Subscribe and Unsubscribe links are always available; your form's other fields appear when the email goes to one list. Make the fields you rely on required.

Key notes

  • Merge fields pull data from entries submitted via your form.
  • To ensure merge fields populate correctly, consider making the corresponding form fields required. An empty field shows nothing in the email.
  • Do Not Modify Code: Merge fields look like {{entry.field_name}}. Altering or removing punctuation/characters will break the merge field.

Which merge fields you'll see

Available Merge Fields in the email designer shows what you can use in that email. What it offers depends on the lists the email goes to and the answer on the email's codes step.

You'll seeWhen
First name, last name, email address, and the Subscribe and Unsubscribe linksAlways
The fields your form collects, such as address, phone, age, category, entry title and description, photo and uploaded files, plus the entry URL and vote totals for each of the three roundsThe email is connected to one list, and only for fields that list's form collects
Prize code, prize category, prize details, prize image and the QR code linkThe email's codes step is set to YES — Instant Win or YES — Code List, the email has a code list attached, or the one list the email goes to has an Instant Win with a code list

To use a form field such as phone in an email, connect the email to the one list your form saves to. If the email goes to several lists, the always-available fields work for everyone on them. For prize fields, see Using unique codes in emails.

If you put the Unsubscribe merge field in your own content, your link takes the place of the standard footer in that email. See CAN-SPAM Act information.

Merge field cheat sheet

Here are the most commonly available merge fields and what they display:

General merge fields

Merge FieldDisplays
{{entry.form_name}}The name of the form, as specified in the Form Designer.
{{entry.tab_name}}The name of the campaign, as specified in the Campaign Builder.
{{entry.created_at}}The time and date when the entry was submitted.
{{entry.referral_url}}The entrant’s unique Refer-a-Friend URL.
{{subscribe}}The subscribe link for double opt-in. Fills in only on emails sent to real entrants, not test emails.

Entrant-specific merge fields

Merge FieldDisplays
{{entry.first_name}}The entrant’s first name, as submitted in the form.
{{entry.last_name}}The entrant’s last name, as submitted in the form.
{{entry.prize_codes}}Prize code from a code list.
{{entry.prize_category}}Prize category from a code list.
{{entry.prize_details}}Prize details from a code list.
{{entry.prize_code_qrcode_url}}A web address that shows the entrant's prize code as a QR code, ready to scan at a till. Paste it as a link's URL.
<img src="{{entry.prize_image_url}}">Prize image from a code list. Note: This will need to be added to the Source Code or use Prize Code Image from the available Merge Fields List.

If a merge field shows blank or as code

What you seeWhat to do
The merge field shows nothingThe entrant left that form field empty, or the form connected to the email's list doesn't have that field. Make the field required, and check the email uses the right list.
The merge field shows as {{…}} textIt was edited by hand and no longer matches. Delete it and insert it again from Available Merge Fields.
A field you added to the form isn't listedConnect the email to the one list that form saves to. Form fields beyond first name, last name and email address appear when the email goes to a single list.
The prize code merge field isn't listedChange the answer on the email's codes step to YES — Instant Win or YES — Code List. The prize fields then appear in Available Merge Fields. See Using unique codes in emails.

Send a test email to check your merge fields before you activate the email.

Was this helpful?