Dynamic fields

  • Updated

To personalize your content or automatically fetch data for your mailings, you can use dynamic fields that pull information from the account, contact, or event.

These can be inserted directly via the editor menu “Insert”, or manually by typing the field within double curly brackets – for example:

{{Contact.FirstName}}

This will insert the recipient’s first name into the email.

In most cases, using the “Insert” menu is sufficient, but for more advanced needs—such as inserting dynamic values into links—you’ll need to type the fields manually. Example:

http://ungapped.se?special={{Contact.Custom1}}

Below is a list of all dynamic fields available at the time of sending.

 

Formatting

You can force a specific format by adding format instructions after the field name.

Example:

Contact.Birthday:yyyy-MM-dd    →    2000-01-01

 

 

Account Information

These can be edited under your account settings.
 

Field Name Example
Account.AccountId The unique ID of your account 9C1E4D96-9BE4-47CE-A6B9-E4200619FFFB
Account.LogoUrl URL to your logo https://company.com/logo.png
Account.LogoWidth Logo width 320px
Account.WebUrl URL to your website https://company.com
Account.PrivacyUrl URL to your privacy policy https://company.com/privacy
Account.PublicName Your account name visible to recipients (avoid AB, Ltd, etc.) Company
Account.Email Your email address info@company.com
Account.Phone Your phone number +46 8 123 456

 

Contact Information

These can be edited in the contact card or via imports.
 

Field Name Example
Contact.FirstName First name Anna
Contact.LastName Last name Bengtsson
Contact.JobTitle Job title CEO
Contact.Salutation Salutation Mrs
Contact.StreetAddress Street address Storgatan 5
Contact.City City Stockholm
Contact.PostalCode Postal code 111 22
Contact.State State Alabama
Contact.Country Country Sweden
Contact.Region Region South
Contact.Gender Gender Female
Contact.Birthday Birthday 2000-01-01
Contact.CompanyName Company name Company AB
Contact.Industry Industry Manufacturing
Contact.LastNpsDate Latest NPS date 2022-02-02
Contact.LastNpsRating Latest NPS score 8
Contact.Website Website https://company.com
Contact.Custom1–10 Custom text field  
Contact.CustomLong1–2 Custom long text field  
Contact.CustomDate1–2 Custom date field  
Contact.CustomNumeric1–6 Custom numeric field  

 

Event Fields

If an email is associated with an event, the following fields are available:

{{Event.EventId}}
{{Event.Start}}
{{Event.End}}
{{Event.Address}}
{{Event.Organizer}}
{{Event.UseOrganizerInFooter}}   – used if a specific event organizer is displayed; otherwise account settings are used  
{{Event.OrganizerEmail}}         – if not UseOrganizerInFooter = Account.Email  
{{Event.OrganizerPhone}}         – if not UseOrganizerInFooter = Account.Phone  
{{Event.OrganizerLogoUrl}}       – if not UseOrganizerInFooter = Account.LogoUrl  
{{Event.OrganizerLogoWidth}}     – if not UseOrganizerInFooter = Account.LogoWidth  
{{Event.OrganizerName}}          – if not UseOrganizerInFooter = Account.PublicName  
{{Event.OrganizerPrivacyUrl}}    – if not UseOrganizerInFooter = Account.PrivacyUrl  
{{Event.OrganizerWebUrl}}        – if not UseOrganizerInFooter = Account.WebUrl  

{{Event.PublicDescription}}
{{Event.Email}}
{{Event.Name}}
{{Event.TimeZone}}
{{Event.RegistrationOpens}}
{{Event.RegistrationCloses}}
{{Event.Description}}
{{Event.LanguageId}}
{{Event.Phone}}
{{Event.Venue}}
{{Event.HeroImageUrl}}
{{Event.VirtualEventUrl}}

 

Special fields for event confirmation emails

These fields are specifically used in confirmation emails:

{{RecipientData.Subject}}    – displays the appropriate subject line  
{{RecipientData.Message}}    – displays the confirmation message  
{{RecipientData.SurveyResponse.Questions}} – displays any survey questions and responses