Personalization tokens in Customer Insights — Journeys

By Emil Björk · Microsoft business apps consultant, Gothenburg

How personalization tokens insert profile data into messages — token syntax, fallback values, dynamic content.

Reviewed May 20262 min read · 574 wordsPublished
On this page (8)

A marketing email addressed "Dear Customer" feels generic; one addressed "Hi Alex, your last order shipped to 123 Main Street" feels relevant. Personalization tokens in Customer Insights — Journeys insert profile and behavioural data into messages at send time, scaling personal touches across millions of recipients.

Token syntax

Tokens reference data fields:

Hello {{contact.firstname}},

Your last order on {{order.purchaseDate}} totalled {{order.amount}}.

At send, tokens replaced with actual values for each recipient.

Token sources.

  • Contact profile fields — name, email, custom attributes.
  • Account fields — company name, industry.
  • Customer Insights unified profile — enriched attributes.
  • Triggering event data — the event that started the journey.
  • Custom dataPower Automate-supplied at send time.

The richer the available data, the more personal the messages.

Fallback values

When a field is empty:

Hi {{contact.firstname | default: "there"}}

Without fallback, empty tokens result in awkward gaps. Always specify defaults.

Conditional content

Beyond simple substitution:

{% if contact.loyaltyTier == "Gold" %}
  Enjoy your exclusive Gold member preview.
{% else %}
  Sign up for our loyalty program.
{% endif %}

Liquid-style conditionals enable per-recipient content variations.

Dynamic content blocks.

  • Pre-configured content options.
  • One block per recipient based on attributes.
  • Variations: by segment, by region, by past purchase, etc.

A single email can serve different content to different audiences without managing multiple email assets.

Token testing

Critical:

  • Preview with sample data.
  • Test send to internal addresses; verify tokens replaced correctly.
  • A/B test different token configurations.

Bad tokens producing "Hello " in production emails is mortifying.

Where personalization tokens work.

  • Email subject lines.
  • Email body content.
  • SMS messages.
  • Push notifications.
  • In-app messages.
  • Landing page content (where supported).

Cross-channel personalisation reinforces the personal feel.

Personalization tokens for URLs.

Click here: https://portal.example.com/account?id={{contact.contactid}}

Pre-populates portal URLs with contact identity; user lands on their content without re-authenticating.

Real-time vs batch.

  • Real-time — tokens resolved at send time; latest data.
  • Batch — tokens resolved when send queue built; data may be hours old.

For real-time triggers (order confirmation), real-time matters.

Identity-based personalization

Beyond fields, behavioural:

  • "You browsed product X" — captured from web behaviour.
  • "You haven't logged in for 30 days" — re-engagement message.
  • "Your subscription renews in 7 days" — lifecycle.

Customer Insights — Data feeds these signals.

A/B testing tokens.

  • Subject A — "Alex, your order has shipped"
  • Subject B — "Your order is on the way"

Token-driven personalization can be the test variable; measure which performs better.

GDPR / privacy considerations.

  • Personalization tokens use personal data.
  • Consent for the use required.
  • Right to erasure — tokens stop working after data deletion.

Ensure personalization patterns respect privacy regulations.

Localisation

Tokens combined with language detection:

{% if contact.preferredLanguage == "fr" %}
  Bonjour {{contact.firstname}}
{% else %}
  Hello {{contact.firstname}}
{% endif %}

Or different email assets per language; tokens consistent across.

Performance

Token resolution adds processing time:

  • Large recipient lists with complex tokens take longer to send.
  • Heavy conditional logic slows sending.
  • Generally acceptable for marketing volumes.

Common pitfalls.

  • No fallback. Empty fields produce broken text in production.
  • Wrong field reference. Token doesn't resolve; literal "" in email.
  • Sensitive data in tokens. Inadvertently include data that shouldn't be in email.
  • Over-personalisation. Creepy effect; recipients uncomfortable.
  • Test data leaks. Test sends to production lists; embarrassing.
  • Conditional logic complex. Hard to maintain; bugs.

Best practices.

  • Always fallback — never assume data present.
  • Preview before send — verify with sample data.
  • Test sends to internal addresses.
  • Audit token usage — what data being used where.
  • Consent compliance — verify before personalization patterns deploy.

Strategic positioning

Personalization is table stakes for modern marketing. Tokens are the mechanism in Customer Insights — Journeys; the data quality and segmentation work feeding them is where competitive advantage emerges. Mature programs invest in unified customer profiles (Customer Insights — Data), thoughtful trigger design, and continuous testing of personalization effectiveness. The tokens themselves are easy; the underlying data discipline is the hard part. Get that right, and personalization scales authenticity beyond what was previously possible.

Further reading

Related guides

Browse every guide in Customer Engagement or just Customer Insights / Marketing.

Was this helpful?

Signals which guides land and which need work. No account, no comment box — corrections go through the contact page.

Spot something wrong or want a topic covered? Send a correction or a topic request — both are welcome.