WordPress Subscriber Sync
Automatically add WordPress users to AcelleMail lists using action hooks and the REST API.
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.
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',
]),
]);
});
Set up an AcelleMail automation with this timing:
| 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 |
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
Automatically add WordPress users to AcelleMail lists using action hooks and the REST API.
Set up Stripe payments in AcelleMail SaaS mode — API keys, webhook endpoints, and plan synchronization.
Sync your WordPress users and WooCommerce customers with AcelleMail for automated email marketing.
Automatically add WordPress users to AcelleMail lists using action hooks and the REST API.
Connect AcelleMail to 5,000+ apps via Zapier — set up triggers, actions, and common automation use cases.
Sync your WordPress users and WooCommerce customers with AcelleMail for automated email marketing.
Set up Stripe payments in AcelleMail SaaS mode — API keys, webhook endpoints, and plan synchronization.
AcelleMail is the self-hosted email marketing platform you control end-to-end.
View Pricing