[ { "label": "Send a followup email about an abandoned cart", "trigger_type": [ "checkout_created" ], "object_type": "checkout", "app_id": "triggers", "settings": { "priority": 0, "condition_groups": [ { "conditions": [ { "field": "checkout.delay", "settings": { "wait": "86400", "custom_wait": "" }, "weight": 1 }, { "field": "checkout.email", "settings": { "operator": "not_empty", "value": "" }, "weight": 2 }, { "field": "checkout.is_abandoned", "settings": { "value": "true" }, "weight": 3 } ], "actions": [ { "type": "email", "settings": { "wait": "0", "custom_wait": "", "to": "{{ checkout.email }}", "subject": "You're almost there!", "body": "
\r\nHey there!\r\nWe just wanted to let you know that your shopping cart is still here waiting for you. \r\nSincerely,
\r\nLet us know if you have any questions concerning your order.
\r\nView My Cart<\/a>\r\n<\/p>\r\n\r\n
\r\n{{ shop.name }}\r\n<\/p>"
},
"weight": 999,
"target_key": null
}
]
}
],
"shared_workflow_id": 21
},
"description": "This workflow waits for a cart to be abandoned then sends an email to the customer. The number of days to wait, and the email message itself are completely configurable. "
}
]