Why Post-Purchase Automation Matters#
The moments after a purchase are the highest-engagement window you have. A well-timed review request or cross-sell email can significantly increase LTV without additional ad spend.
Triggering on Order Completion#
Use the woocommerce_order_status_completed hook to fire an API call to AcelleMail:
add_action('woocommerce_order_status_completed', function($order_id) {
$order = wc_get_order($order_id);
$email = $order->get_billing_email();
$first_name = $order->get_billing_first_name();
// Add to post-purchase automation list
wp_remote_post('https://mail.yourdomain.com/api/v1/subscribers', [
'headers' => ['Authorization' => 'Bearer TOKEN', 'Content-Type' => 'application/json'],
'body' => json_encode([
'email' => $email,
'first_name' => $first_name,
'list_uid' => 'POST_PURCHASE_LIST_UID',
]),
]);
});
Post-Purchase Sequence#
Set up an AcelleMail automation with this timing:
| Email |
Delay |
Goal |
| Order thank you |
Immediately |
Confirm + set expectations |
| Usage tips |
Day 3 |
Reduce returns, build loyalty |
| Review request |
Day 7 |
Social proof |
| Related products |
Day 14 |
Upsell / cross-sell |
Product-Specific Tags#
Pass order product categories as subscriber tags to personalise follow-ups:
$categories = [];
foreach ($order->get_items() as $item) {
$terms = get_the_terms($item->get_product_id(), 'product_cat');
foreach ($terms as $term) $categories[] = $term->slug;
}
// Include 'tags' => $categories in the API payload