---
title: "How to add personalization to your messages"
description: "Learn how to add basic personalization tags to your email, SMS, and push messages. Personalization allows you to use your customer data to create an individualized experience for every contact, and allows recipients to take subscription-related actions from within a message."
canonical_url: "https://help.klaviyo.com/hc/en-us/articles/18986347580827"
markdown_url: "https://help.klaviyo.com/hc/en-us/articles/18986347580827.md"
locale: "en-us"
category: "Content"
section: "Getting started with templates"
updated: "2026-10-28"
---

# How to add personalization to your messages

## You will learn

Learn how to add basic personalization tags to your email, SMS, and push messages. Personalization allows you to use your customer data to create an individualized experience for every contact, and allows recipients to take subscription-related actions from within a message. 

**📝 Note:** For specific examples of personalization variables and more advanced use cases, head to our [message personalization reference](https://help.klaviyo.com/hc/en-us/articles/4408802648731.md).

## Key terms

- **Profile personalization**
Personalization based on special Klaviyo profile properties, like first name or email address. Learn about [profile personalization variables](https://help.klaviyo.com/hc/en-us/articles/4408802648731.md#h_01HBRGTJ3G3Q55VQ136Z977SBR).

- **Custom personalization**
Personalization based on custom profile properties you create and collect, like birthday or hair color. Learn about [custom personalization variables](https://help.klaviyo.com/hc/en-us/articles/4408802648731.md#h_01HBRGTJ3H2M4N326FXPBSA4AN).

- **Event personalization**
Personalization based on data stored within an event, like the products someone ordered in a *Placed order* event. Learn about [event personalization variables](https://help.klaviyo.com/hc/en-us/articles/4408802648731.md#h_01HBRGTJ3H2M4N326FXPBSA4AN).



## Personalization types

You can add profile and custom personalization to email, SMS, and push messages in both campaigns and flows. Event personalization uses data from the event that triggers a flow and is not supported in campaigns.

- Learn how to [add profile and custom personalization to a message](#h_01HBRK2VCRSQ7XS3CTQ5J32WKN).

- Learn how to [add event personalization to a message](#h_01HBRK2VCR47K2SY2Q6R4RYWE1).



## Add profile and custom personalization to an email, SMS, or push message

1. Click the personalization icon or **Add personalization** in the message field you want to personalize (e.g., an email text block, a text cell in a table block, SMS, or push message).



![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/489799c4392a3b898e176045bc32f9e1f02881e8-1768x92.png?auto=format)

2. Search for the property you’d like to add or scroll through the list.

3. Select a property.

4. If needed, add default text (i.e., text to appear if personalized data is unavailable).

5. Click **Insert**.




![Personalization set up](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/3c6ef7f952a3dd2e3660393c433ee18642747a08-624x736.jpg?auto=format)

### Additional profile and custom personalization options

If you don't see the personalization options you'd like to use, visit the preview pane for more detailed options. 

1. Click **Preview** in the email or SMS editor, or **Preview & test** in the push editor.



![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/bd2faf78dbeb76b1c2bac6787bf79170911b8490-2800x154.png?auto=format)

2. Search for a profile with the information you want to add. In an event-triggered flow, use the arrow buttons to choose a recent event; the preview shows the profile associated with that event.

3. Expand **All properties** if it is collapsed, then find the profile or custom property you want to use.

4. Hover over the variable’s name to see its personalization tag, then click to copy it.



![SMS profile personalization](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/8758b0c977f9c8a2fdd7aa3a5ea05aedbc9b98b8-616x948.jpg?auto=format)

5. Click **Done** to return to your message, then paste the variable into a text field.



Learn more about [using the preview panel for message personalization](https://help.klaviyo.com/hc/en-us/articles/27843522951707.md). 

## Add event personalization to an email, SMS, or push message

Your message **must** be sent through a flow that is triggered by the event containing your event property (or properties) in order for event personalization to populate. Only use properties from a single metric in a template. However, you may also use profile variables in a template that uses event variables. 

### Basic event personalization

Basic event personalization may be available in the **Personalization** menu, depending on the message field, flow trigger, and ecommerce platform. If **Event** or the property you need is unavailable, use the advanced event personalization steps below.

1. Open a message (i.e., email, SMS, or push) within an event-triggered flow. 

2. Click the personalization icon or **Add personalization** in the message field you want to personalize.

3. Under **All types**, select **Event**. 

4. Choose an event property.

5. Optionally, add a default value, then click **Insert**. 



### Advanced event personalization

For more advanced event properties, use the preview window to copy personalization tags. Follow the steps for either a reusable email template or a flow message, then copy and insert the event property.

#### For a reusable email template

1. Click **Preview** from the template editor.



![preview and test button](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/c940411e8572f35ec5aa78b585a21d4dc050fc54-2372x254.jpg?auto=format)

2. Under **Preview data source**, click **Event**.

3. Select the metric that will trigger your flow from the dropdown.



![Choose an event](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/b03f9da1fb5e3a7108455d3b9197ddcbbea76168-788x554.jpg?auto=format)

#### For an email, SMS, or push message in a flow

1. Open the message in a flow triggered by the event you want to use.

2. Click **Preview** for email or SMS, or **Preview & test** for push. The preview uses the flow’s trigger event automatically.



![Image](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/bd2faf78dbeb76b1c2bac6787bf79170911b8490-2800x154.png?auto=format)

#### Copy and insert the event property

1. Expand **All properties** if it is collapsed.

2. Use the arrow buttons to find an event that includes the variable you’d like to add.

3. Scroll through **Event properties** until you find the variable you’d like to use.

4. Hover over the variable’s name to see its personalization tag, then click to copy it.



![event data](https://cdn.sanity.io/images/6ct6b26e/help-center-prod/5bc18f619347c7100566dfcc7cba12ea95104549-786x1302.jpg?auto=format)

5. Click **Done** to return to your message, then paste the variable into a text field.



## Set default text

Sometimes, you’ll send a message with personalization tags to someone who hasn’t provided all the data your tags reference. For example, you might send an email to someone who hasn’t shared their first name with you. 

When this happens, it’s important to have default text set to prevent blank spaces in place of the missing data. Set default text using the examples below to determine what should appear if data isn’t available. 

| **Text with variables** | **Output** |
| --- | --- |
| Hey `{{ first_name\|default:'friend' }}`, any interest in some `{{          person\|lookup:'Favorite Food'\|default:'tasty treats' }}`? | *Hey friend, any interest in some tasty treats?* |

Before sending, preview your message with a profile or event that contains the data you added. To check your default text, also preview with a profile or event that is missing that property.

## Outcome

By using these steps, you can add basic personalization to your emails, like someone’s first name or a product they left in their cart. When the message sends, it will reference the data available for the recipient and populate the tags with custom data.

## Additional resources

- [Message personalization reference](https://help.klaviyo.com/hc/en-us/articles/4408802648731.md)
  Learn how to use Klaviyo’s personalization variables, or tags, to customize the experience for your customers.
- [How to use filters to customize variables](https://help.klaviyo.com/hc/en-us/articles/360058907911.md)
  Learn how filters work and how to use them to customize variables. Filters allow you to customize the format and content of variables (i.e., personalization tags) in your messages. For a list of filters available to use in the template editor, reference Klaviyo's variable filters glossary. 
- [How to build dynamic blocks in a flow email](https://help.klaviyo.com/hc/en-us/articles/4408802597659.md)
  Learn how to use dynamic table blocks to add product and other event information to your metric-triggered flows. In this article, you'll learn how to create a dynamic block using the example of an abandoned cart reminder showing the products that were left behind.
