START HERE
Use the WooCommerce Abandoned Cart Webhook plugin to send WhatsApp reminders through BotSailor when customers leave checkout unfinished. The WordPress plugin sends the customer and cart data to a BotSailor Webhook Workflow. The workflow uses that data to send an approved WhatsApp template with a link back to checkout.
Before You Begin
- A working WooCommerce store and WordPress administrator access to upload and activate the plugin.
- A BotSailor account with a connected WhatsApp number and access to Webhook Workflows.
- An approved WhatsApp abandoned-cart reminder template for that number.
- A product and a WhatsApp-enabled test number you control.
How Does WooCommerce WhatsApp Cart Recovery Work?
When the plugin detects an abandoned checkout, it sends the event to the workflow’s unique Webhook Callback URL. BotSailor uses the mapped phone number to select the recipient and fills the approved message with the mapped values.
Setup tip
Prepare the WhatsApp reminder
The walkthrough uses the approved Marketing template abandoned_cart. If you need a template, open Chatbot Manager → select your WhatsApp account → Automation → Message Templates, create a cart reminder, and confirm its Meta approval before creating the workflow. Include a checkout link and only the cart details you intend to map. See the BotSailor WhatsApp template guide.
Part 01Download and Install the Abandoned Cart Webhook Plugin
Get the ZIP from BotSailor and activate the plugin in WordPress.
Download the Plugin ZIP from BotSailor
From the BotSailor dashboard, open Control Panel → Settings & Integration → API Integration → E-commerce API.
Click Download WC Abandoned Cart Webhook Plugin and save the ZIP file. You can also download the ZIP from the official plugin page.
Open the WordPress Plugin Installer
In your WordPress dashboard, open Plugins → Add Plugin. Plugins is a main WordPress menu item.
Upload, Install, and Activate the Plugin
Click Upload Plugin → Choose File. Select the downloaded ZIP, then click Install Now and Activate Plugin.
Return to Plugins → Installed Plugins and find Abandoned Cart Webhook. The Deactivate link confirms it is active. Leave the plugin active for the recovery workflow.
Part 02Connect WordPress to a BotSailor Webhook Workflow
Save the workflow’s callback URL in WordPress and send a sample event.
Open the Abandoned Cart Webhook Settings
In the main WordPress menu, open Settings → Abandoned Cart Webhook. Keep this tab open. It contains the Webhook URL field and the Save Changes and Send Sample Webhook buttons.
Create the Workflow and Copy Its Callback URL
In BotSailor, open Chatbot Manager, select your WhatsApp account, then go to Automation → Webhook Workflows and click Create.
Enter a descriptive Workflow Name. This example uses WC Abandoned Cart Webhook. Under Message Template, select the prepared abandoned_cart template, check the preview, and click Create Workflow.
Under Configure Webhook Data, copy the entire Webhook Callback URL, including its unique workflow identifier. Keep that URL private.
Save the Callback URL and Send Sample Data
Return to WordPress → Settings → Abandoned Cart Webhook. Paste the full callback URL into Webhook URL and click Save Changes.
Click Send Sample Webhook. The plugin sends sample customer and cart information to the saved URL so you can see the fields in BotSailor before a real cart is abandoned.
Part 03Capture the Webhook Response, Map the Fields, and Save
Connect the sample fields to the WhatsApp template and confirm the workflow is active.
Capture the Sample Response
Return to your BotSailor workflow. Under Configure Webhook Data → Real-time Response, click the green Capture Webhook Response button. Look for the sample under Raw Data. If capture is waiting for a new event, keep it open and click Send Sample Webhook again in WordPress.
Review the Mapping for the Approved Template
Scroll to Webhook Response Mapping and review the populated fields. The sample shows the phone number and the customer’s first name. Choose the matching fields from your own captured response for every template variable.
Common mistake
Leaving cart fields set to Static Value
The mapping screenshot shows the product list, total price, and checkout link still set to Static Value. Select the correct incoming fields for cart-specific values. Configure the intended action for any quick-reply button in your selected template.
Save the Workflow and Confirm It Is Active
Set any additional Message Delay you need. 0 minutes adds no delay after BotSailor receives an eligible webhook. Click Save Workflow. The saved mapping applies from the next webhook call.
Success check
Workflow saved and active
Check for the success confirmation after saving. Then return to Webhook Workflows and verify the workflow is active.
Setup tip
Verify two different events
The sample verifies that WordPress can send data to BotSailor and gives you fields to map. A real unfinished checkout verifies cart detection, delivery to your WhatsApp test number, and the checkout link.
Part 04Test a Real Abandoned WooCommerce Checkout
Leave a test checkout unfinished, then verify the WhatsApp message and its checkout link.
Prepare an Unfinished Checkout
Open your WooCommerce storefront and add a product to the cart. Go to checkout, enter the customer details and a WhatsApp-enabled phone number you control, then leave checkout before clicking Place Order.
BotSailor documents a one-hour abandonment threshold and checks scheduled every five minutes. Allow time for WordPress to run the scheduled check and for any additional BotSailor delay. See the plugin timing and testing instructions.
Check the WhatsApp Recovery Reminder
Open WhatsApp on the phone used during checkout. Check that the reminder arrives, addresses the customer correctly, and shows the expected cart information and checkout link.
Open the link and confirm that it reaches the intended checkout with the expected cart. Test in a fresh session if customers will open the reminder on another device. If you complete the test purchase, verify the corresponding order under WooCommerce → Orders.
Part 05Check WhatsApp Delivery and Recovered Revenue
Review delivery in BotSailor and recovery in WooCommerce if CartFlows tracking is enabled.
Check Message Delivery in BotSailor
In the Webhook Workflows list, check Last Called At for the incoming event. Open the Workflow Report, find the test recipient, and check whether the message was delivered, skipped, or failed. Use the delivery result to decide what to investigate. See the Webhook Workflow reporting details.
Review the Cart and Recovery Report
For the reporting setup shown in this walkthrough, open WordPress → WooCommerce → Cart Abandonment. This screen comes from the separate CartFlows Cart Abandonment Recovery plugin when tracking is enabled.
Find the customer’s cart in Recent Follow Up Reports and check its status. After a tracked purchase is recovered, check Overview → Recovered Revenue for the relevant date range.
The screenshot shows a ৳15 Normal entry and a separate ৳45 Successful entry. The ৳45 entry contributes to the displayed recovered revenue. CartFlows can also count customers who return independently.
Part 06Review the End-user Notifications
See how the reminder and checkout link appear in the customer’s WhatsApp conversation.
The abandoned-cart reminder appears below the earlier COD exchange in the supplied WhatsApp conversation. The reminder shows the cart total and the link back to checkout. Compare the reminder with its own checkout record.
How Do You Know the Workflow Is Working?
- The sample appears under Raw Data, and the correct phone and template fields are mapped and saved.
- A real unfinished checkout produces a new workflow call and a delivered reminder to the test number.
- The link opens the intended checkout with the expected cart. If you complete the purchase, the corresponding WooCommerce order exists.
Common Troubleshooting
Key Takeaways for WooCommerce Abandoned Cart Recovery
- WordPress detects the abandoned checkout and sends the data. BotSailor maps the payload and sends the WhatsApp reminder.
- Use the sample webhook to configure the workflow, then use a real unfinished checkout to verify delivery and the link.
- Use BotSailor to verify message delivery and WooCommerce to verify the order. CartFlows provides separate recovery reporting when enabled.
Next Steps
After a successful test, apply your store’s WhatsApp opt-in process before sending reminders to customers. For order notifications, status updates, and COD verification, see the complete WooCommerce WhatsApp automation guide.
To see how another app can send data to the same type of workflow, follow the BotSailor Webhook Workflow guide using Google Sheets.


