Email your customers after a quiet period of no orders with Mechanic.

Mechanic is the one-tool-does-it-all automation app for Shopify. :)

Email your customers after a quiet period of no orders

by Isaac Bowen (team@usemechanic.com)

Follow up with your customers – keep those relationships alive, and improve your returning customer rate, by emailing your customers after a few months of no order activity. By default, this task sends an email after 6 months of no order activity, and another 6 months after that.

Runs 6 months after an order is created and 12 months after an order is created. Configuration includes subject and body.

15-day free trial – unlimited tasks

Documentation

This task sends an email after your customer takes a break from making orders for a period of time.

By default, this task will wait for 6 months of no order activity, and will then send an email. 6 months after that, so long as no order activity has taken place, it'll send another email. To change this schedule, click "Show Advanced" in the task editor, and tweak the "Subscriptions" section to taste. :)

Developer details

Events
6 months after an order is created (shopify/orders/create+6.months)
12 months after an order is created (shopify/orders/create+12.months)
Options
subject (required), body (multiline, required)
Script
{% assign customer = order.customer.reload %}

{% if event.preview or customer.last_order_id == order.id %}
  {
    "action": {
      "type": "email",
      "options": {
        "to": {{ customer.email | default: "customer@example.com" | json }},
        "reply_to": {{ shop.customer_email | json }},
        "from_display_name": {{ shop.name | json }},
        "subject": {{ options.subject__required | json }},
        "body": {{ options.body__multiline_required | strip | newline_to_br | json }}
      }
    }
  }
{% endif %}
Yep, that’s just Liquid! If this is interesting to you, check out our documentation! Mechanic is hugely developer-friendly. :)
Defaults
Subject
We've missed you!
Body
Hello {{ order.customer.first_name | default: "friend" }},

It's been a while since you placed an order. Why not see what we have in store for you?

See you soon,

{{ shop.name }}