Skip to main content

Using custom attributes within email templates

Using custom attributes in your email template.

Tarang Singhal avatar
Written by Tarang Singhal
Updated over a year ago

The first step is to ensure that you create custom attributes in Goodkind and map them with CRM if needed.

Next is to add the custom attribute to your email template. To do this you need to know how Goodkind sends this information to the email template. Say your custom attribute is called "Program Name" it will be named as "ProgramName".

The internal name of the attribute in Goodkind follows the following logic:

"Remove any space or special characters from the name and variable name and that will be the Goodkind internal name. We use the same case for the internal name for all characters."

When using them inside your email editor (Goodkind or external) make sure you double check these as they are case sensitive.

Here are some examples of how we create an internal name.

Custom Attribute Name

Variable Name sent to Goodkind email

Two Words

{{{customAttributes.TwoWords}}}

two words

{{{customAttributes.twowords}}}

Three Wo rds

{{{customAttributes.ThreeWords}}}

three wo rds

{{{customAttributes.threewords}}}

three wo Rds

{{{customAttributes.threewoRds}}}

Speci@l/Character

{{{customAttributes.SpecilCharacter}}}

Oneword

{{{customAttributes.Oneword}}}

ONEWORD

{{{customAttributes.ONEWORD}}}

If you are using a third party email tool such as Campaign Monitor then names will look as below.

Custom Attribute Name

Variable Name sent to Campaign Monitor

Two Words

TwoWords

two words

twowords

Three Wo rds

ThreeWords

three wo rds

threewords

three wo Rds

threewords

Oneword

Oneword

ONEWORD

ONEWORD

Additionally for Campaign Monitor, you need to add the variable name to the following places

  • In custom fields for the list you wish to use with the campaign

  • In the email template where you want to have the custom attribute

    For the email template add the variable using this format: [variableName, fallback =Fallbackvalue] , the braces are to be included as well.

Did this answer your question?