[ { "label": "Tag unusually large orders and email me", "trigger_type": [ "order_paid" ], "object_type": "order", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": [ { "conditions": [ { "field": "order.line_items.quantity", "settings": { "multiple": "any", "operator": "gt", "value": "20" }, "weight": 999 } ], "actions": [ { "type": "email", "settings": { "wait": "0", "custom_wait": "", "to": "[CLICK TO EDIT]", "cc": "", "bcc": "", "reply_to": "", "subject": "{{ order.name }}: Unusually Large Order", "plain_text": "1", "body": "Please review the following order:\r\n\r\n{{ order_products_list(order, {format: 'html', link: true, quantity: true}) }}\r\n\r\n{{ shopify_admin_link(order, {resource: 'orders'}) }}" }, "weight": 999, "target_key": null }, { "type": "order_add_tags", "settings": { "wait": "0", "custom_wait": "", "tags": "Needs Review: Large Order" }, "weight": 999, "target_key": null } ] } ], "shared_workflow_id": 332 }, "description": "This workflow is fired when an order is created and can be used to notify the store owner when unusually large orders come in. The threshold quantity has been set to 20 but you can change this to any number to receive an email notification when a new order comes in with this line item quantity." } ]