Personalization tokens in Customer Insights — Journeys
How personalization tokens insert profile data into messages — token syntax, fallback values, dynamic content, and the patterns for emails that feel personal at scale.
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 data — Power 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.
Related guides
- Customer Insights – Journeys explainedMicrosoft's marketing automation product — segmentation, journeys, email, events, lead scoring, and the Copilot for marketing layer.
- Email deliverability for Customer Insights – JourneysHow to set up email deliverability in Customer Insights – Journeys — sending domain, DKIM/SPF/DMARC, IP warm-up, and reputation management.
- Event management in Customer Insights – JourneysHow to plan, register, and run events in Customer Insights – Journeys — sessions, speakers, registration pages, capacity, and the Teams Events integration.
- Segment builder in Customer Insights — JourneysHow the segment builder in Customer Insights — Journeys lets marketers define audiences — visual designer, query language, dynamic vs static, and the patterns for maintainable segments.
- Customer Insights – Data explainedMicrosoft's customer data platform — ingestion, identity resolution, unified profiles, segments, and measures.