...
Click New Automation.
Select Start From Scratch and name the automation.
Click + Add trigger.
Select the Custom tab
Click Custom Event
Select Malomo Custom Integration in the Store dropdown.
Select No Limit in the Limit Per Contact dropdown.
Select the desired Malomo event in the Event dropdown. See here for a list of available Malomo Event Triggers.
Click Done.
Copy and paste the text of a template below into a blank Automation email.
Edit the copy and style your email.
Note |
---|
You Must Add a Set Data Trigger Tag The first line of each email template includes the tag |
Note |
---|
Strip Text Formatting When Inserting Variables and Templates into an Automation Email When you paste one of the templates below into the email builder, it may try to create hyperlinks for some data. This will cause an error that says You can avoid this issue by pressing CMD + Shift + V on macOS or CTRL + Shift + V on Windows to paste without formatting. |
Example Templates
Order Confirmation
Code Block |
---|
{% set data = trigger.getCustomEventData() %} Your order is confirmed! Order {{ data.order.meta.shopify_order.name }} Hi {{ data.customer.first_name | default('friend') }}, thank you for shopping with us! Your order is confirmed. Our team is working on your shipment and we'll email you again when your items are packed and ready to go. Order Summary {% for item in data.order.meta.shopify_order.line_items %} <img src="{{ item.image.src }}" alt="{{ item.title }}"> Quantity: {{ item.current_quantity }} Price: {{ item.final_line_price }} {% endfor %} Billing Address {{ data.order.meta.shopify_order.billing_address.first_name }} {{ data.order.meta.shopify_order.billing_address.last_name }} {{ data.order.meta.shopify_order.billing_address.address1 }} {{ data.order.meta.shopify_order.billing_address.address2 }} {{ data.order.meta.shopify_order.billing_address.city }}, {{ data.order.meta.shopify_order.billing_address.province_code }} {{ data.order.meta.shopify_order.billing_address.zip }} {{ data.order.meta.shopify_order.billing_address.country_code }} Shipping Address {{ data.order.shipping_address.first_name }} {{ data.order.shipping_address.last_name }} {{ data.order.shipping_address.address1 }} {{ data.order.shipping_address.address2 }} {{ data.order.shipping_address.city }}, {{ data.order.shipping_address.province_code }} {{ data.order.shipping_address.zip }} {{ data.order.shipping_address.country_code }} |
...