Flag orders that aren't fulfilled after two days with Mechanic.

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

Flag orders that aren't fulfilled after two days

by Isaac Bowen (team@usemechanic.com)

If you're using any fulfillment services, it's critical to stay on top of any orders that aren't properly fulfilled. Use this task to auto-tag orders that aren't fulfilled two days after payment. Or, have this task send you an email reminder, so you can follow up.

Runs 2 days after an order is paid. Configuration includes tag to add and email recipient.

15-day free trial – unlimited tasks


This task watches for paid orders, and schedules a follow-up check for two days later. To change this schedule, click "Show Advanced" in the task options, and change +2.days to taste. For example, use +7.days to follow up a week later.

Configure this task with a tag to automatically apply that tag on schedule, if the order remains unfulfilled. Add an email address to receive a notification message.

This task won't tag or send an email if the order is partially fulfilled, or if the order has been restocked.

Developer details

Mechanic is designed to benefit everybody: merchants, customers, developers, agencies, Gurus, everybody.

That’s why we make it easy to configure automation without code, why we make it easy to tweak the underlying code once tasks are installed, and why we publish it all here for everyone to learn from.

2 days after an order is paid (shopify/orders/paid+2.days)
tag to add, email recipient (email)
{% assign order = order.reload %}

{% if event.preview or order.fulfillment_status == blank %}
  {% if options.tag_to_add != blank %}
      "action": {
        "type": "shopify",
        "options": [
            {{ order.id | json }}
            "tags": {{ order.tags | add_tag: options.tag_to_add | json }}
  {% endif %}

  {% if options.email_recipient__email != blank %}
    {% capture email_body %}

      Order {{ order.number }} (for {{ order.email | default: "unknown email" }}) is still unfulfilled. Manage this order:

      https://{{ shop.domain }}/admin/orders/{{ order.id }}

      Mechanic (for {{ shop.name }})
    {% endcapture %}

      "action": {
        "type": "email",
        "options": {
          "to": {{ options.email_recipient__email | json }},
          "subject": {{ "Order " | append: order.name | append: " is still unfulfilled" | json }},
          "body": {{ email_body | strip | unindent | newline_to_br | json }},
          "reply_to": {{ shop.customer_email | json }},
          "from_display_name": {{ shop.name | json }}
  {% endif %}
{% endif %}
Mechanic tasks are written in Liquid, which makes them easy to write and easy to modify. Learn more about our platform.
Tag to add