[ { "version": 1, "label": "Send an email with cart attributes when an order is placed", "trigger_type": [ "order_paid" ], "object_type": "order", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": { "1": { "conditions": [], "actions": [ { "type": "email", "settings": { "wait": "0", "custom_wait": "", "to": "{{ shop.email }}", "cc": "", "bcc": "", "reply_to": "", "subject": "Order {{ order.name }} - Product Customization Information", "plain_text": "0", "body": "Order {{ order.name }}\r\nCustomer Name: {{ order.customer.display_name }}\r\n{% if order.phone !=blank %}\r\nCustomer Phone: {{ order.phone }}\r\n{% endif %}\r\n\r\nProduct Ordered:\r\n{{ order_products_list(order, {format: 'html', link: true, quantity: true}) }}\r\n\r\n{% for key, attribute in order.note_attributes %}\r\n{{ key }}: {{ attribute }}\r\n{% endfor %}" }, "weight": 999, "target_key": "order" } ] } } }, "description": "The automation is fired when an order is created, it compiles and sends out an email that contains the order attributes to the store's email. " } ]