[ { "label": "Email customer 1, 3 and 5 days after purchasing", "trigger_type": [ "order_paid" ], "object_type": "order", "app_id": "triggers", "tags": [], "settings": { "priority": 0, "condition_groups": [ { "conditions": [ { "field": "order.email", "settings": { "operator": "not_empty", "value": "Custom\r\n", "long_value": "Custom\r\n", "token_object_type": "order", "condition_type": "AND" }, "weight": 10 }, { "field": "order.fulfillments.tracking_numbers", "settings": { "multiple": "any", "operator": "not_empty", "value": "", "long_value": "", "token_object_type": "order", "condition_type": "AND" }, "weight": 20 } ], "actions": { "1": { "type": "email", "settings": { "wait": "0", "run_once": 0, "custom_wait": "", "to": "{{ order.email }}", "cc": "", "bcc": "", "reply_to": "", "subject": "Email follow for order {{ order.name }}", "plain_text": "1", "body": "Hi {{ order.customer.first_name }}\r\n\r\nFollow up on your order", "token_object_type": "order" }, "weight": 30, "target_key": "order" } } }, { "conditions": { "3": { "field": "order.delay", "settings": { "wait": "259200", "custom_wait": "", "check_date": [], "token_object_type": "order", "condition_type": "AND" }, "weight": 40 }, "1": { "field": "order.email", "settings": { "operator": "not_empty", "value": "Custom\r\n", "long_value": "Custom\r\n", "token_object_type": "order", "condition_type": "AND" }, "weight": 50 }, "2": { "field": "order.fulfillments.tracking_numbers", "settings": { "multiple": "any", "operator": "not_empty", "value": "", "long_value": "", "token_object_type": "order", "condition_type": "AND" }, "weight": 60 } }, "actions": { "1": { "type": "email", "settings": { "wait": "0", "run_once": 0, "custom_wait": "", "to": "{{ order.email }}", "cc": "", "bcc": "", "reply_to": "", "subject": "Email follow for order {{ order.name }}", "plain_text": "1", "body": "Hi {{ order.customer.first_name }}\r\n\r\nFollow up on your order", "token_object_type": "order" }, "weight": 70, "target_key": "order" } } }, { "conditions": { "1": { "field": "order.delay", "settings": { "wait": "432000", "custom_wait": "", "check_date": [], "token_object_type": "order", "condition_type": "AND" }, "weight": 40 }, "2": { "field": "order.email", "settings": { "operator": "not_empty", "value": "Custom\r\n", "long_value": "Custom\r\n", "token_object_type": "order", "condition_type": "AND" }, "weight": 50 }, "3": { "field": "order.fulfillments.tracking_numbers", "settings": { "multiple": "any", "operator": "not_empty", "value": "", "long_value": "", "token_object_type": "order", "condition_type": "AND" }, "weight": 60 } }, "actions": { "1": { "type": "email", "settings": { "wait": "0", "run_once": 0, "custom_wait": "", "to": "{{ order.email }}", "cc": "", "bcc": "", "reply_to": "", "subject": "Email follow for order {{ order.name }}", "plain_text": "1", "body": "Hi {{ order.customer.first_name }}\r\n\r\nFollow up on your order", "token_object_type": "order" }, "weight": 70, "target_key": "order" } } } ], "shared_workflow_id": 39428 } } ]