Encharge Developers
  • Developer Documentation
  • Getting Started
    • Sending data to your Encharge account
      • Ingest API
      • JavaScript Event Tracking
      • Segment.com Integration
    • Getting Help
  • Sending Emails
    • Personalizing Emails with Liquid
    • Email Deliverability
  • Encharge API
  • API Documentation
  • Transactional Email API
    • Overview
      • Pricing
    • Benefits and Features
    • Technical Overview
    • Send an email from template
    • Send custom HTML email
    • Send a plain-text email
    • Authentication
    • Reference
    • Sending to unsubscribed contacts
  • Advanced
    • Activity Stream
Powered by GitBook
On this page
  • Personalizing with people's data
  • Accessing the current date
  • Advanced Personalization

Was this helpful?

  1. Sending Emails

Personalizing Emails with Liquid

PreviousGetting HelpNextEmail Deliverability

Last updated 4 years ago

Was this helpful?

Sending personalized emails to your subscribers allows you to add a personal touch to your automated messages.

Encharge uses Liquid, a dynamic templating language built by Shopify. Liquid allows you to insert personalization in your emails, display dynamic content, and use data from people in your account in automation flows.

Personalizing with people's data

To dynamically insert data into emails or flow steps, you can use the person object. For example, to dynamically insert the subscriber's first name in an email, you can use the following code: {{ person.firstName }} .

Personalization also works with custom fields. You can review all the fields in your account in . To personalize with a custom field, use the field's "API Name" from Fields Management, like so {{person.field-api-name-here}}.

For example, the API Name for the "Last Name" field is lastName and the personalization tag would be {{person.lastName}}.

Accessing the current date

You can insert the current date, formatted as simplified extended format (e.g. 2020-12-30T19:35:54.019Z ) with the {% now %} Liquid tag.

Advanced Personalization

Encharge supports all Liquid tags and filters as described in the official .

Fields Management
ISO 8601
Liquid docs