[ { "label": "Notify the store admin if a paid order goes more than 2 days without fulfillment", "trigger_type": [ "order_paid" ], "object_type": "order", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": [ { "conditions": [ { "field": "order.delay", "settings": { "wait": "172800", "custom_wait": "" }, "weight": 999 }, { "field": "order.fulfillment_status", "settings": { "operator": "any", "value": { "null": "null", "fulfilled": 0, "partial": 0, "restocked": 0 } }, "weight": 999 } ], "actions": [ { "type": "email", "settings": { "token_object_type": "order", "to": "{{ shop.email }}", "cc": "", "bcc": "", "reply_to": "", "subject": "Unfulfilled order #{{ order.id }}", "plain_text": "0", "body": "Hi there,\r\n\r\nOrder #{{ order.order_number }} was created on {{ order.created_at }} and still hasn't been fulfilled. \r\n\r\nLink to order: {{ shopify_admin_link(order, {resource: 'orders'}) }}\r\n\r\n\r\n", "wait": "0", "cw_timezone": "America\/Los_Angeles", "custom_wait": "", "run_once": 0 }, "weight": 999, "target_key": null } ] } ], "shared_workflow_id": 191 }, "description": "The automation is fired when an order is paid, waits out for two days, and if the order is still unfulfilled, it sends out an email notification to the store admin indicating the order details. " } ]