Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The templates below can be used as a starting point for building Automation emails using Malomo shipping data. To use the templates below:

  1. Click Add Trigger

  2. Click the Sendlane tab to access the triggers you created as custom integration events

  3. Select a trigger

  4. Find the template below that corresponds to your triggerNew Automation.

  5. Select Start From Scratch and name the automation.

  6. Click + Add trigger.

  7. Select the Custom tab

  8. Click Custom Event

  9. Select Malomo Custom Integration in the Store dropdown.

  10. Select No Limit in the Limit Per Contact dropdown.

  11. Select the desired Malomo event in the Event dropdown. See here for a list of available Malomo Event Triggers.

  12. Click Done.

  13. Copy and paste the text of a template below into a blank Automation email.

  14. 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  {% set data = trigger.getCustomEventData() %} , which allows Malomo data to be pulled into your email. Without this snippet, none of your data will load, and contacts will receive mostly or entirely blank emails.

⚠️ You may need to strip text formatting when inserting the templates below into an automation email

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 "Unexpected token "operator" of value "<". If you see any blue text after pasting, highlight all text and click the remove formatting icon. This should clear the error, and you should be able to save your email.

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

...

Shipment Created

...

Order Confirmation

Code Block
{% set data = trigger.getCustomEventData() %}

Your order is confirmed!
Order {{ data.order.meta.shippingshopify_addressorder.address1name }}

Hi {{ data.ordercustomer.shipping_address.address2first_name | default('friend') }}
{{ data.order.shipping_address.city }}, {{ data.order.shipping_address.province_code }} {{ data.order.shipping_address.zip }} {{ data.order.shipping_address.country_code }}

Estimated Delivery Date
{{ data.properties.estimated_delivery_date |date('m/d/Y') | default('An estimated delivery date is not available at this time') }}

Shipment Details
{{ data.properties.carrier_name | upper }}: <a href="{{ data.order.url }}">{{ data.properties.tracking_code }}</a>

Shipment First In Transit (Carrier Picked Up)

Code Block
{% set data = trigger.getCustomEventData() %}

Your order is ready to go!
Order , 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.namebilling_address.address2 }}

Hi
{{ data.order.meta.shippingshopify_addressorder.first_name | default('friend') }}, we've got great news. 

Your order has been packed by our warehouse, and is ready for pickup bybilling_address.city }}, {{ data.order.propertiesmeta.carrier_name }}. We’ll let you know as soon as it starts to move.
Please note that it may take up to 24 hours for detailed tracking information to become available.

Tracking Number: <a href="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.url.shipping_address.first_name }}"> {{ data.propertiesorder.tracking_code }}</a>

Please note, this shipment may not include all items from your order. Be on the lookout for another email from us regarding the rest of your order!
 
Shipping Addressshipping_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.first_namezip }} {{ data.order.shipping_address.lastcountry_namecode }}

Shipment Created

Code Block
{% set data = trigger.getCustomEventData() %}

Your order is ready to go!
Order {{ data.order.meta.shippingshopify_addressorder.address1name }}

Hi {{ data.order.shipping_address.address2first_name | default('friend') }}
{{ data.order.shipping_address.city }}, {{ data.order.shipping_address.province_code }}, we've got great news. 

Your order has been packed by our warehouse, and is ready for pickup by {{ data.orderproperties.shippingcarrier_address.zipname }} {{ data.order.shipping_address.country_code }}

Estimated Delivery Date
{{ data.properties.estimated_delivery_date |date('m/d/Y') | default('An estimated delivery date is not available at this time') }}

Shipment Details
{{ data.properties.carrier_name | upper }}. We’ll let you know as soon as it starts to move.
Please note that it may take up to 24 hours for detailed tracking information to become available.

Tracking Number: <a href="{{ data.order.url }}">{{ data.properties.tracking_code }}</a>

Out for Delivery

Code Block
{% set data = trigger.getCustomEventData() %}

Your order is ready to go!
Order 
 
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.metashipping_address.shopifyprovince_order.namecode }}

Hi {{ data.order.shipping_address.first_name | default('friend') }}, we've got great news. 

Your order has been packed by our warehouse, and is ready for pickup by zip }} {{ data.properties.carrier_name.order.shipping_address.country_code }}.
We’ll
letEstimated youDelivery knowDate
as soon as it starts to move.
Please note that it may take up to 24 hours for detailed tracking information to become available.

Tracking Number{{ data.properties.estimated_delivery_date |date('m/d/Y') | default('An estimated delivery date is not available at this time') }}

Shipment Details
{{ data.properties.carrier_name | upper }}: <a href="{{ data.order.url }}">{{ data.properties.tracking_code }}</a>

Please note, this shipment may not include all items from your order.
Be
onOrder theSummary
lookout{% for another email from us regarding the rest of your order!
 
Shipping Address
{{ data.order.shipping_address.first_name }} {{ data.order.shipping_address.last_name }}
{{ data.order.shipping_address.address1 }}
{{ data.order.shipping_address.address2 }} 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 %}

Shipment First In Transit (Carrier Picked Up)

Code Block
{% set data = trigger.getCustomEventData() %}

Your order is now on the way to you!
Order {{ data.order.meta.shippingshopify_addressorder.cityname }},

Hi {{ data.order.shipping_address.province_code }} first_name | default('friend') }}, your package is on the move.

We’ll send you another email when your order is out for delivery with {{ data.orderproperties.shippingcarrier_address.zipname }}. 

Tracking Number: <a href="{{ data.order.shipping_address.country_codeurl }}

Estimated Delivery Date
">{{ data.properties.estimatedtracking_delivery_date |date('m/d/Y') | default('An estimated delivery date is not available at this time') }}

Shipment Detailscode }}</a>
 
Shipping Address
{{ data.order.shipping_address.first_name }} {{ data.order.shipping_address.last_name }}
{{ data.propertiesorder.carrier_name | upper shipping_address.address1 }}:
<a href="{{ data.order.shipping_address.urladdress2 }}">
{{ data.propertiesorder.trackingshipping_codeaddress.city }}</a>

Attempted Delivery

Code Block
{% set data = trigger.getCustomEventData() %}

Your order is ready to go!
Order, {{ data.order.shipping_address.province_code }} {{ data.order.meta.shopifyshipping_orderaddress.namezip }}

Hi {{ data.order.shipping_address.first_name.country_code }}

Estimated Delivery Date
{{ data.properties.estimated_delivery_date |date('m/d/Y') | default('friend') }}, we've got great news. 

Your order has been packed by our warehouse, and is ready for pickup by An estimated delivery date is not available at this time') }}

Shipment Details
{{ data.properties.carrier_name | upper }}: <a href="{{ data.order.url }}">{{ data.properties.carriertracking_namecode }}. We’ll let you know as soon as it starts to move.
Please note that it may take up to 24 hours for detailed tracking information to become available.

Tracking Number: <a href="{{ data.order.url }}">{{ data.properties.tracking_code }}</a>

Please note, this shipment may not include all items from your order. Be on the lookout for another email from us regarding the rest of your order!</a>

Out for Delivery

Code Block
{% set data = trigger.getCustomEventData() %}

Your order is our for delivery!
Order {{ data.order.meta.shopify_order.name }}

Your package is now out for delivery with and it will be dropped off later today. We’ll update you as soon as it has arrived. 

Tracking Number: <a href="{{ data.order.url }}">{{ data.properties.tracking_code }}</a>
 
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 }}

Estimated Delivery Date
{{ data.properties.estimated_delivery_date |date('m/d/Y') | default('An estimated delivery date is not available at this time') }}

Shipment Details
{{ data.properties.carrier_name | upper }}: <a href="{{ data.order.url }}">{{ data.properties.tracking_code }}</a>

...

Attempted Delivery

Code Block
{% set data = trigger.getCustomEventData() %}

Your order is ready to go!
Order {{ data.order.meta.shopify_order.name }}

HiFailed Delivery Attempt
Order {{ data.order.meta.shippingshopify_addressorder.first_name | default('friend') }},
we've got great news. 

Your order has been packed by our warehouse, and is ready for pickup by
Looks like {{ data.properties.carrier_name }}. has We’llattempted letto youdeliver knowthe aspackage soonwithout assuccess.
itPlease startscontinue to move.check Pleasethe notetracking thatpage itfor mayupdates, takeand upbe toon 24the hourslookout for detailed tracking information to become available. another notification from us once the package is delivered. 

Tracking Number: <a href="{{ data.order.url }}">{{ data.properties.tracking_code }}</a>

Please note, this shipment may not include all items from your order. Be on the lookout for another email from us regarding the rest of your order!
 
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 }}

Estimated Delivery Date
{{ data.properties.estimated_delivery_date |date('m/d/Y') | default('An estimated delivery date is not available at this time') }}

Shipment Details
{{ data.properties.carrier_name | upper }}: <a href="{{ data.order.url }}">{{ data.properties.tracking_code }}</a>

Available for Pickup

Code Block
{% set data = trigger.getCustomEventData() %}

Your order is ready to go!
Order  }}">{{ data.orderproperties.meta.shopify_order.nametracking_code }}</a>

Delivered

Code Block
{% set Hidata {{= data.order.shipping_address.first_name | default('friend') }}, we've got great news. 

Your order has been packed by our warehouse, and is ready for pickup by {{ data.properties.carrier_name }}. We’ll let you know as soon as it starts to move.
Please note that it may take up to 24 hours for detailed tracking information to become availabletrigger.getCustomEventData() %}

Your order was delivered by {{ data.properties.carrier_name }}!
Order {{ data.order.meta.shopify_order.name }}

Don’t see your package? Occasionally, carriers mark a package delivered before physically dropping it off. If you don’t receive your order within 24 hours or have any questions, please reply to this email and we’ll be happy to give you a hand.

Tracking Number: <a href="{{ data.order.url }}">{{ data.properties.tracking_code }}</a>
 Please
note,Shipping thisAddress
shipment may not include all items from your order. Be on the lookout for another email from us regarding the rest of your order!
 
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.first_namezip }} {{ data.order.shipping_address.last_namecountry_code }}

Delivery Date
{{ data.properties.tracker_delivered_at |date('m/d/Y') }}

Shipment Details
{{ data.order.shipping_address.address1properties.carrier_name | upper }}: <a href="{{ data.order.shipping_address.address2url }}
">{{ data.orderproperties.shippingtracking_address.citycode }}, {{ data.order.shipping_address.province_code }}</a>

Available for Pickup

Code Block
{% set data = trigger.getCustomEventData() %}

Your order is available for pickup.
Order {{ data.order.meta.shippingshopify_addressorder.zipname }}

{{ data.orderproperties.shipping_address.country_codecarrier_name }} let Estimatedus Delivery Date
{{ data.properties.estimated_delivery_date |date('m/d/Y') | default('An estimated delivery date is not available at this time') }}

Shipment Details
{{ data.properties.carrier_name | upper }}know that they have your package and it is now available for pickup at the location listed on the carrier tracking page.

Tracking Number: <a href="{{ data.order.url }}">{{ data.properties.tracking_code }}</a>

...

Code Block
{% set data = trigger.getCustomEventData() %}

Your order is set readyto return to go!us.
Order {{ data.order.meta.shopify_order.name }}

HiUnfortunately {{ data.order.shipping_address.firstproperties.carrier_name | default('friend') }}, we'vecould gotnot greatdeliver news. 

Your order has been packed by our warehouse, and is ready for pickup by {{ data.properties.carrier_name }}. We’ll let you know as soon as it starts to move.
Please note that it may take up to 24 hours for detailed tracking information to become available.

Tracking Number: <a href="{{ data.order.url }}">{{ data.properties.tracking_code }}</a>

Please note, this shipment may not include all items from your order. Be on the lookout for another email from us regarding the rest of your order!

Shipment Detailsyour package and they intend to return it to us. This can happen if the shipping address does not exist, is incorrect, or you have moved recently without providing a forwarding address. It can also happen if someone at the address declined to take the package.

Please check the shipping address below and reply to this email with any corrections to it. If you don't hear from us soon, please contact us so we can help you get your items.

{{ data.properties.carrier_name | upper }} Tracking Number: <a href="{{ data.order.url }}">{{ data.properties.tracking_code }}</a>