Handlebars 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.

Syntax

{{personalizationResult key}}

Parameters

Parameter Type Description
key String Required. 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.

{{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.

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