[ { "label": "Email new customers a coupon code one day after signing up", "trigger_type": "customer_created", "settings": { "condition_groups": [ { "conditions": [ { "field": "customer.delay", "settings": { "wait": "custom", "custom_wait": "+1 day 12PM", "condition_type": "AND" }, "weight": 999 }, { "field": "customer.accepts_marketing", "settings": { "value": "true" }, "weight": 999 }, { "field": "customer.email", "settings": { "operator": "not_empty", "value": "" }, "weight": 999 } ], "actions": [ { "type": "email", "settings": { "wait": "0", "custom_wait": "", "to": "{{ customer.email }}", "subject": "{{ customer.first_name }}, thanks so much for checking out our store!", "body": "

\r\nDear {{ customer.display_name }},\r\nWe really appreciate you checking out our store. We absolutely love our customers and wanted to give you a 10% coupon just for stopping by!\r\n<\/p>\r\n\r\n

\r\nDuring checkout use the coupon code \"[ENTER COUPON CODE HERE]\" to get the exclusive 10% discount for new customers only.\r\n<\/p>\r\n\r\n

\r\nThanks again for being a valued customer, we hope to see you soon!\r\nSincerely,\r\n{{ shop.name }}\r\n<\/p>" }, "weight": 999, "target_key": null } ] } ], "shared_workflow_id": 2 } } ]