Create custom variables

Custom variables store additional contact data in a mailing list.

Use them to personalize email campaigns, segment your audience, and tailor automated flows to individual contacts.

Let's talk about how to create a custom variable in a mailing list.

Сreate a custom variable

Go to your mailing list where you want to add a variable and click Create variable.

The maximum number of variables in a mailing list is 50.

Enter a variable name. The maximum number of characters in the variable name is 255.

You can use the following characters in the variable name:

  • all Unicode alphabetic characters (regex meta group);
  • all numeric characters (regex meta group);
  • dots, commas, question marks, and exclamation points;
  • single and double quotes;
  • hyphens and underscores;
  • right slash;
  • space.

Select the variable type

The variable type depends on the type of information that needs to be passed in it:

String

Stores a text value, such as subscriber name and company name.

The maximum number of characters in a String variable is 254.

Number

Stores a numeric value, such as a phone number.

If a number exceeds 16 characters, rounding is applied. When it reaches 17 characters, the last two digits are rounded.

Date

Stores a numeric value in the calendar date format, such as date of birth and date of registration.

To display the date values correctly, use the following date format: MM/DD/YYYY.

Select the Subscriber editable checkbox if you want to allow subscribers to edit their data themselves.

Click Add.

Rate this article about "Create custom variables"

User Rating: 4 / 5 (2)

Previous

Сreate and assign contact tags

Next

Manage custom variables

Popular in Our Blog

Try SendPulse email service for free