Super-customize your transactional emails

Personalized user messages, down to the last detail

Display dynamic content based on any data you have, including event attributes. Use dynamic logic to show different content and calls-to-action. Preview your messages with live data.

Want to see how it works? Try it yourself, and customize the email below! 👇

The data* you're sending:

* This assumes that you're sending us a purchase event, along with a list of items and their prices that the user bought.
Attributes:
Purchase number:
Product category:

What your customer gets:

Hi Wile E. Coyote there!

Thanks for your purchase!

Thanks for becoming a customer! We hope to see you again soon!

Wow, you've bought from us ten times! There's a little something special for you at the bottom of this email. Thanks for sticking with us!

❄️ Stocking up for winter? Check out our winter sale!

Here's what's coming your way:

  • Winter Jacket - $40.00
  • Winter Wool Hat - $10.00
  • Summer T-Shirt - $10.00

Check our website for delivery times to your state!

On average, delivery time for California is 2 business days!

Since it's your tenth purchase, use the code 10FOR10 for 10% off next time!

Thanks for being awesome!

Your friends at Outdoor Company!

© 2018 Outdoor Company | Unsubscribe

Behind the scenes, in Customer.io...

This email looks like...

Hi {% if customer.name %} {{customer.name}} {% else %} there {% endif %}!

{% if event.purchaseNumber == '1' %}

Thanks for your purchase!

{% elsif event.purchaseNumber == '10' %}

Wow, you've bought from us ten times! There's a little something special for you at the bottom of this email. Thanks for sticking with us!

{% else %}

Thanks for buying from us again!

{% endif %}

Here's what's coming your way:

{% for item in event.items %}
{{ item.name | capitalize }} - {{ item.price }}
{% endfor %}
{% if customer.stateDeliveryTime %}

Normally, deliveries to {{ customer.state }} take about {{ customer.stateDeliveryTimeDays }} business days!

% else %

Check our website for delivery times to your state!

% endif %
{% assign winterCount = 0 %}
{% assign summerCount = 0 %}

{% for item in event.items %}
{% if item.category == "winter" %}
{% assign winterCount = winterCount | plus: 1 %}
{% elsif item.category == "summer" %}
{% assign summerCount = summerCount | plus: 1 %}
{% else %}
{% endif %}
{% endfor %}

{% if winterCount > 1 %}

Stocking up for winter? Great news! We have a sale going!

{% endif %}
{% if event.purchaseNumber == '10' %}

Since it's your tenth purchase, use the code 10FOR10 for 10% off next time!

{% endif %}

Thanks for being awesome!

© 2018 Outdoor Company | Unsubscribe

The incoming data looks like...

The event:
Customer attributes: