Skip to content

Liquid variables in email templates

TL;DR
  • Write templates in HTML and insert data with Liquid, for example {{ order.name }}.
  • Loop over line items with {% for item in order.lineItems %}.
  • Check the live preview before saving.

FlowSend templates use Liquid. Variables come from the Shopify Flow workflow that runs the action.

Variable Example output
{{ order.name }} #1042
{{ customer.firstName }} Sarah
{{ shop.name }} Your Store
{{ order.totalPrice }} 124.00

The exact variables available depend on the Flow trigger. Open the Variables tab in the template editor to see the full list.

<h1>Thanks, {{ customer.firstName }}!</h1>
<p>Order {{ order.name }} is confirmed.</p>
{% for item in order.lineItems %}
<p>{{ item.title }} × {{ item.quantity }}</p>
{% endfor %}