Handlebar Helper Function: PersonalizationResult

Retrieves personalized content or data based on subscriber information and campaign context. Use this function to dynamically customize email content campaigns by accessing personalization data from the subscriber context.

Availability 

This helper is available in the Winter ’26 release of Marketing Cloud Next (API version 65.0).

Syntax 

1{{personalizationResult key}}

Parameters 

ParameterTypeDescription
keyStringRequired. The personalization key to retrieve. The key must be a valid identifier string that contains only alphanumeric characters and underscores and must start with a letter or underscore.

Return Value 

The function returns the personalized value associated with the key from the personalization data. If the key isn’t found, it returns an empty string. If the key exists but contains null, the function returns null. The function doesn’t throw exceptions.

Usage Examples 

To retrieve a personalized value, use the personalizationResult function with the key of the personalized value you want to retrieve.

1{{personalizationResult "welcome_message"}}

You can use this function together with conditional helpers to render content based on the personalized value. This example checks if the subscriber is a premium member and renders exclusive premium content if they are.

1{{#if (personalizationResult "isPremiumMember")}}
2  <p>Exclusive premium content here</p>
3{{else}}
4  <p>Standard content for all subscribers</p>
5{{/if}}