[ { "label": "Send a confirmation email for orders from a specific sales channel", "trigger_type": [ "order_created" ], "object_type": "order", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": { "1": { "conditions": { "1": { "field": "order.source_name_raw", "settings": { "operator": "equals", "value": "1558585", "long_value": "{{ order.source_name_raw|debug }}", "token_object_type": "order", "condition_type": "AND" }, "weight": 999 } }, "actions": { "1": { "type": "email", "settings": { "wait": "0", "run_once": 0, "custom_wait": "", "to": "{{ order.email }}", "cc": "", "bcc": "", "reply_to": "", "subject": "Order {{ order.name }} Confirmation", "plain_text": "0", "body": "Hi {{ order.customer.first_name }},\r\n\r\nPlease confirm the following items on your order. \r\n\r\n{{ order_products_list(order, {format: 'html', link: true, quantity: true}) }}\r\n\r\nLooking forward to hearing from you. ", "token_object_type": "order" }, "weight": 999, "target_key": "order" } } } }, "shared_workflow_id": 47739 }, "description": "This automation will filter out orders based on the channel they were raised from and send a follow up email to the customer for confirmation. " } ]