Using iChatUp with WooCommerce
There is no native iChatUp plugin for WooCommerce. The direct route is a few lines of code on your WordPress site: when an order moves to “processing”, WordPress makes an HTTP request to the iChatUp messages endpoint with your API key, and the buyer receives an approved order template on WhatsApp. An automation tool can do the same without code.
At a glance
| Type | Through the API |
|---|---|
| Direction | WooCommerce to iChatUp |
| Plan | Order updates on every iChatUp plan; promotional templates need Marketer |
| Needs | Access to add a code snippet; the official WhatsApp connection; an approved template |
Worked example: a snippet for the processing status
Add this with a code-snippets plugin or in a small custom plugin. It uses WordPress’s own HTTP functions and the order’s billing details.
add_action("woocommerce_order_status_processing", function ($order_id) {
$order = wc_get_order($order_id);
wp_remote_post("https://ichatup.com/api/v1/messages", [
"timeout" => 15,
"headers" => [
"Authorization" => "Bearer YOUR_API_KEY",
"Content-Type" => "application/json",
"Accept" => "application/json",
"Idempotency-Key" => "woo-order-" . $order_id,
],
"body" => wp_json_encode([
"phone" => $order->get_billing_phone(),
"template" => "order_received",
"variables" => [$order->get_billing_first_name(), $order->get_order_number()],
]),
]);
});
Why the snippet, not a WooCommerce webhook
WooCommerce’s built-in webhooks (Settings, Advanced, Webhooks) post WooCommerce’s own order JSON and cannot add your Authorization header, so iChatUp would refuse them. The snippet sends exactly the body the API expects. The Idempotency-Key means that if the status hook fires twice for the same order, the customer still gets one message.
Keep the key safe
Store the key in a constant in wp-config.php rather than in the database or a theme file that others edit. Anyone holding it can message your customers. For a second status, such as completed, hook woocommerce_order_status_completed and send a different approved template. Full request rules are in the messages endpoint.
Questions
What if the billing phone has no country code?
iChatUp adds your account’s default country code. Ask for the full international number at checkout if you sell abroad.
Does iChatUp read my WooCommerce products?
No. The connection only sends messages. For product answers, keep a product list in a connected Google Sheet.
See it on your own number
Two minutes to connect, 7 days free, no card. Your AI employee answers, books and follows up on the WhatsApp number your customers already use.