Auto-fulfill orders when tagged, with Mechanic.

Mechanic is a development platform for Shopify. :)

Auto-fulfill orders when tagged

by Isaac Bowen (

This task monitors order tags, and when a certain tag is added to an order, it auto-fulfills all unfulfilled items in the order. Optionally, you can choose to notify customers when their order is fulfilled by this task.

Runs when an order is updated. Configuration includes order tag and notify customer on fulfillment.

15-day free trial – unlimited tasks


This task auto-fulfills from the store's default location. (If you need to change this, contact support!)

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.

when an order is updated (shopify/orders/updated)
order tag (required), notify customer on fulfillment (boolean)
{% assign order_qualifies = false %}

{% if order.fulfillment_status == nil or order.fulfillment_status == "partial" %}
  {% assign order_tags = order.tags | split: ", " %}
  {% if order_tags contains options.order_tag__required %}
    {% assign order_qualifies = true %}
  {% endif %}
{% endif %}

{% if event.preview or order_qualifies %}
    "action": {
      "type": "shopify",
      "options": [
        "/admin/orders/{{ }}/fulfillments.json",
          "fulfillment": {
            "location_id": {{ shop.primary_location_id | json }},
            "notify_customer": {{ options.notify_customer_on_fulfillment__boolean | json }},
            "status": "success"
{% endif %}
Mechanic tasks are written in Liquid, which makes them easy to write and easy to modify. Learn more about our platform.