[ { "label": "Send a custom confirmation email when an order is placed", "trigger_type": [ "order_created" ], "object_type": "order", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": [ { "conditions": [], "actions": [ { "type": "email", "settings": { "token_object_type": "order", "to": "{{ order.customer.email }}", "cc": "", "bcc": "", "reply_to": "", "subject": "{{ shop.name }} Order {{ order.name }} Confirmation", "plain_text": "0", "body": "Hi there,\r\n\r\nThank you for your order of the following products.\r\n\r\n{{ order_products_list(order, {format: 'html', link: true, quantity: true}) }}\r\n\r\nThank you for Shopping with us \r\n{{shop.name}}", "wait": "0", "cw_timezone": "America\/Los_Angeles", "custom_wait": "", "run_once": 0 }, "weight": 999, "target_key": "order" } ] } ], "shared_workflow_id": 664 }, "description": "This automation is fired when an order is raised, then sends an email to the customer confirming their purchase. The email confirms that the order has been received and lists all the items ordered and their quantities. " } ]