Skip to main content

Using Merge Fields in Emails

All plans Last reviewed

A merge field is a placeholder for a personalized or dynamic text that gets populated with recipient-specific information when the email is sent. Merge fields allow you to dynamically display entry content, making your emails more engaging and personalized.

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.

  • Do Not Modify Code: Merge fields look like {{entry.field_name}}. Altering or removing punctuation/characters will break the merge field.

Merge field cheat sheet

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

General merge fields

Merge Field

Displays

{{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.

Entrant-specific merge fields

Merge Field

Displays

{{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.

<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.

Best practices

Ensure data collection

Use corresponding form fields for each merge field you plan to include in your email.

Make these fields required to guarantee data collection.

Test emails

Send a test email to verify that merge fields populate correctly.

If any data is missing, ensure that entries for the chosen list include the relevant fields.

Check for additional fields

If you’ve added custom fields to your form, those fields will also be available as merge fields in the Email Designer.

How to Set Up An Autoresponder (Video)

Setting Up and Connecting SendGrid to ShortStack (Help Doc)

Was this helpful?