SFMC Winter '27: Handlebars and AMPscript Across Every Channel

For years, personalization in Salesforce Marketing Cloud has been written twice: once for email, with all the power of AMPscript, and again, in a poorer form, for SMS or push. The Winter '27 release of Marketing Cloud Next changes that by opening Handlebars and AMPscript to SMS, WhatsApp, RCS, in-app and push messages, as well as landing pages and forms. In this article we look at what it means for your marketing ops team, how to structure personalization logic you can actually reuse, and which traps to avoid before you move your templates.

What Winter '27 changes for personalization

According to the release notes as summarized by the community, script-based personalization is no longer an email-only feature. The same logic can now drive conversational and mobile channels: SMS, WhatsApp, RCS, in-app messages and push notifications. Landing pages and forms also accept Handlebars and AMPscript, with more freedom for custom HTML.

For a marketing team the benefit is twofold: less duplication across channels, and tighter control over message consistency. A customer who gets an email and then an SMS reminder should see the same first name, the same offer and the same tone.

The key idea: personalization becomes a shared logic layer across channels, not content copied over channel by channel.

Handlebars or AMPscript: which one to pick?

Handlebars for readability

Handlebars is a declarative templating language. It is great for inserting values and handling simple conditions, and it is easier for a non-developer to read, which cuts down on publishing mistakes.

AMPscript for business logic

AMPscript still earns its place whenever you need formatting functions, data lookups or calculations. If your existing templates already rely on it, the good news is that you do not have to rewrite everything.

Our rule of thumb: Handlebars for insertions and conditions, AMPscript for anything computed or formatted. The examples below are illustrative, so always check the exact syntax against the official documentation for your release.

Example: one abandoned-cart reminder, three channels

Take a cart reminder. Here is a short Handlebars version suited to SMS:

{{#if Contact.FirstName}}Hi {{Contact.FirstName}},{{else}}Hi there,{{/if}}
your cart is waiting: {{Cart.ItemCount}} item(s).
Finish checkout: {{Cart.ResumeUrl}}

And the AMPscript equivalent, handy when you need to format an amount or a date:

%%[
SET @firstName = AttributeValue("FirstName")
SET @total = FormatCurrency(@cartTotal, "en-US", 2)
IF Empty(@firstName) THEN SET @firstName = "there" ENDIF
]%%
Hi %%=v(@firstName)=%%, your %%=v(@total)=%% cart is waiting.

The real challenge is not syntax but governance: where does the rule "if the first name is empty" live? If it is copied into three templates, one day you will have three different behaviors.

Building personalization logic you can reuse

1. Agree on shared fallback rules

Document once what happens when a field is empty: missing first name, unknown language, zero amount. Every channel should apply the same fallback.

2. Adapt length to the channel

SMS is length-constrained, WhatsApp and RCS allow richer formats, and a push notification has to fit on two lines. Reusing logic does not mean reusing copy: keep the same variables, but write one message per format.

3. Test with edge-case profiles

Build a set of test contacts: a very long name, accented characters, an empty field, partial consent. Special characters and emojis affect how SMS messages are segmented, and therefore what they cost.

What to check before you migrate

A few precautions before you switch your templates over:

  • Check which items apply to Marketing Cloud Engagement and which are specific to Marketing Cloud Next.
  • Confirm availability and licensing, which release notes do not always spell out.
  • Keep a reference copy of every template before editing it.
  • Validate consent per channel: the same contact may accept email but refuse SMS.

For teams planning the move from Engagement, the guided setup announced to connect Engagement to Marketing Cloud Next and Data 360 is worth trying in a sandbox first.

A four-step action plan

If you can only start one project this quarter, we suggest this sequence: inventory your templates by channel, spot the duplicated rules, centralize the shared fallbacks, then migrate a single pilot journey (the cart reminder is a good candidate) before scaling up.

Key takeaways

One logic, several channels. Winter '27 opens Handlebars and AMPscript to SMS, WhatsApp, RCS, in-app and push.

Handlebars plus AMPscript, not either-or. Use Handlebars for insertion and conditions, AMPscript for calculation and formatting.

Governance first. Agree on shared fallback rules before writing a single multichannel template.

Test the edge cases. Accents, empty fields and partial consent surface most errors.

Start small. One pilot journey beats an uncontrolled big-bang migration.

Need an expert eye to audit your templates or plan your move to Marketing Cloud Next? Get in touch with CGC-Agency.

A voir: