[ { "label": "Send me an email when an order is placed from a specific email domain", "trigger_type": [ "order_paid" ], "object_type": "order", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": [ { "conditions": [ { "field": "order.email", "settings": { "operator": "contains", "value": "bestbuy.com" }, "weight": 999 } ], "actions": [ { "type": "email", "settings": { "wait": "0", "custom_wait": "", "to": "[CLICK TO EDIT]", "cc": "", "bcc": "", "reply_to": "", "subject": "New order from customer at bestbuy.com", "plain_text": "1", "body": "New order from Best Buy\r\n\r\n{{ shopify_admin_link(order, {resource: 'orders'}) }}\r\n\r\n{{ order_products_list(order, {format: 'html', link: true, quantity: true}) }}\r\n\r\n{{ order.subtotal_price_set.shop_money.amount }}{{ order.subtotal_price_set.shop_money.currency_code }}" }, "weight": 999, "target_key": null } ] } ], "shared_workflow_id": 333 }, "description": "This automation is fired when an order is raised. It checks for the order email address, and if it comes from a specific domain, it sends an email to a pre-defined address. " } ]